[android-developers] Disable home button/screen
my app is alike my remote lock with app lock and when the screen is locked remotely by sending an SMS, and i have customized it such that in licked mode other person can make a call, so it presses a button and will switch to a default dialer. Now i want that when he is making a call he should not be able to go to home screen by pressing home button. So what do i do?? i have tried public void onAttachedToWindow() { this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD); super.onAttachedToWindow(); } but this wud not work as control is with the system... help me disabling home key... -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] delete an incoming SMS
when new SMS arrives, my app will detect that and if that SMS contains password (match it with D.B.) then delete that particular SMS without reading it and run a particular activity.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] delete an incoming SMS android
Hello, i am developing an android application and having following problem. when a new SMS arrives, my app will detect that (using broadcast receiver) and if that SMS contains password (match it with D.B.) then delete that particular SMS without reading it and run a particular activity.. thanx in advance Regards, Soheb Somani -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: auto starting application after boot complete
Yes, i have got my problem solved, thanks. On Thu, Feb 9, 2012 at 3:37 AM, Ash anan...@gmail.com wrote: First you need permission to disable the auto lock. Follow this example: http://www.androidsnippets.com/disable-initial-screen-lock Secondly you need to tap into the RECEIVE_BOOT_COMPLETED. Follow this example by Krzysztof Wolnyhttp://stackoverflow.com/users/209502/krzysztof-wolny http://stackoverflow.com/questions/1056570/how-to-autostart-an-android-application Hope the above two will get you going. Cheers -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: auto starting application after boot complete
my application is same as urs and it shud work at start up.bt whn it works first i am gettin force close and whn i press dat, my app. works prfctly, so can u suggest me the solution and can u provide me a snippet for that lock removal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en