Below function checks weather your device is in Airplane Mode or Not
*******************************************************************
public boolean isAirplaneMode(Context context)
{
int settingValue;
try
{
settingValue = Settings.System.getInt(context.getContentResolver(), Settings.System.AIRPLANE_MODE_ON);
return settingValue != 0;
} catch (SettingNotFoundException e)
{
return false;
}
}
Thanks for sharing your info. I really appreciate your efforts and I will be waiting for your further write ups thanks once again.
ReplyDeleteAndroid app development| Android app developer|
very nice thanks for sharing
ReplyDeletehey friend see snow on google
Type “Let It Snow” on @Google If you click and drag you can wipe the snow away. It is great. source: http://le-titsnow.blogspot.com
I’m usually looking about the internet for content articles that can help me.
ReplyDeleteThank you. It is extremely helpful for me.
would you mind updating your blog with more information?
source: www.wbupdates.com
You are explanation is awesome and the Android Apps Development information is nice and keep postings.
ReplyDelete