It is always good practice to use the getExtennalFilesDir() method to find the location of the SD Card on an Android device.(Don’t fix using \sdcard). Because Android can run on a large number of devices with different specications, the location …
Daily Archives: Monday, November 5, 2012
Integer.toString(int i) vs String.valueOf(int i)
In String type we have several method valueOf
static String valueOf(boolean b)
static String valueOf(char c)
static String valueOf(char[] data)
static String valueOf(char[] data, int offset
…
Manipulating Broadcast Receivers On Demand
The simplest way to monitor device state changes is to create aBroadcastReceiver
for each state you’re monitoring and register each of them in your application manifest. Then within each of these receivers you simply reschedule your recurring alarms based