Friday, January 31, 2014

Show Notification Banner in IOS

If the ios app is running in the background, it won't show the notification banner, this is by design. But if you want to show the custom banner in the status bar whether the application in foreground or in the background, you can show the  banner.

  UILocalNotification *localNotification = [[UILocalNotification alloc] init];
        localNotification.userInfo = userInfo;
        localNotification.soundName = UILocalNotificationDefaultSoundName;
        localNotification.alertBody = @"test";
        localNotification.fireDate = [NSDate date];
        [[UIApplication sharedApplication] scheduleLocalNotification:localNotification];


Friday, January 24, 2014

This error occurred during compiling... phone gap push notification

Undefined symbols for architecture armv7s:
  "_OBJC_METACLASS_$_CDVPlugin", referenced from:
      _OBJC_METACLASS_$_PushNotification in PushNotification-F9383623544E8079.o
  "_OBJC_CLASS_$_CDVPluginResult", referenced from:
      objc-class-ref in PushNotification-F9383623544E8079.o
  "_OBJC_METACLASS_$_CDVViewController", referenced from:
      _OBJC_METACLASS_$_MainViewController in MainViewController.o
  "_OBJC_CLASS_$_CDVPlugin", referenced from:
      _OBJC_CLASS_$_PushNotification in PushNotification-F9383623544E8079.o
  "_OBJC_CLASS_$_CDVViewController", referenced from:
      _OBJC_CLASS_$_MainViewController in MainViewController.o
ld: symbol(s) not found for architecture armv7s

clang: error: linker command failed with exit code 1 (use -v to see invocation)

ios this error is getting when i run the app.

compilation is success but giving this error, when i run on the device

dyld: could not load inserted library '/Developer/usr/lib/libXcodeDebuggerSupport.dylib' because image not found

Tuesday, October 8, 2013

Transparent Activity Android

 
Use this style   , declare in manifest 
 
<?xml version="1.0" encoding="utf-8"?>
<resources>
  <style name="Theme.Transparent" parent="android:Theme">
    <item name="android:windowIsTranslucent">true</item>
    <item name="android:windowNoTitle">true</item>
    <item name="android:windowContentOverlay">@null</item>
    <item name="android:backgroundDimEnabled">false</item>
    <item name="android:windowIsFloating">true</item> 
    <item name="android:windowBackground">@android:color/transparent</item> 
  </style>
</resources>
  
or use 
 
  android:theme="@android:style/Theme.Translucent"
Download sample code here

Friday, September 27, 2013

What is Hadoop?

Hadoop
Hadoop is an open source software framework which allows distributed processing of large datasets across clusters of computers using simple programming model.

Hadoop is a platform designed to solve where we have large data.It is designed from single server to thousands of machines and each will offer computation and storage.

Hadoop library itself detect the hardware failures.

The Hadoop project includes the following modules:

1. Hadoop common
2. Hadoop Distributed File System
3. Hadoop YARN
4. Hadoop MapReduce


Best Android Back up Apps


 


Backup and Restore

Features :

Auto Back up on installation
Back up apps to Sdcard
restore apps from Sdcard
send apk file by email
Show storage usage
Multi version back up