read about the activity lifecycle. You can do the necessary stuff in onPause

On Wednesday, October 17, 2012 2:24:46 PM UTC-4, androidom wrote:
>
>
>
> 2008年3月14日金曜日 23時46分06秒 UTC+1 hackbod:
>>
>> The in-call UI and lock UI are special parts of the system UI; they 
>> are not normal applications. 
>>
>> You can't intercept the home key.  We really really do not want to 
>> allow apps to do so -- the user needs a way they can rely on to always 
>> get out of an application. 
>
>
> Hi there,
> I am stuck in a similar area. I want to get out of the application or 
> rather turn my screen off.. when a user presses this home button. Can you 
> suggest a method how to do that.. ?
> thanks
>  
>

-- 
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

Reply via email to