[android-beginners] During the sms intercepting delete sms
Deal All In Android I have intercepted incoming sms. But I want to delete this sms at the time of intercepting. Any body cans help me. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] AlarmManager does not fire after devie power-off
if the user powers off and on his/her device, it seems that the alarms that were set prior to the off/on don't fire. Is that expected behavior as well? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to set airplane mode on/off.
Hi All, I want to switch on/off airplane mode programmatically. How can I do this. Anybody can help me. Thaks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to set airplane mode on/off.
Thank u so much Levis. This source code is working. public static boolean isAirplaneModeOn(Context context) { return Settings.System.getInt(context.getContentResolver (),Settings.System.AIRPLANE_MODE_ON, 0) != 0; } /** * * @param status */ public static void setAirplaneMode(Context context,boolean status) { boolean isAirplaneModeOn = isAirplaneModeOn(context); if(isAirplaneModeOn status) { return; } if(!isAirplaneModeOn !status) { return; } if(isAirplaneModeOn !status) { Settings.System.putInt(AppContext.getInstance().getContext ().getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 0); Intent intent = new Intent (Intent.ACTION_AIRPLANE_MODE_CHANGED); intent.putExtra(state, 0); AppContext.getInstance().getContext().sendBroadcast (intent); return; } if(!isAirplaneModeOn status) { Settings.System.putInt(AppContext.getInstance().getContext ().getContentResolver(), Settings.System.AIRPLANE_MODE_ON, 1); Intent intent = new Intent (Intent.ACTION_AIRPLANE_MODE_CHANGED); intent.putExtra(state, 1); AppContext.getInstance().getContext().sendBroadcast (intent); return; } } Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] How to broadcast key events. or terminate the call?
Hi All, I want to terminate incoming or outgoing call. But there is no public API available. I think I will do this if I broadcast key events like KeyEvent.KEYCODE_ENDCALL. Anybody can help me how to Terminate calls Or Broadcast key events Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---
[android-beginners] Re: How to broadcast key events. or terminate the call?
anybody can help me that how to broadcast key events. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~--~~~~--~~--~--~---