Re: [android-developers] Re: Capture home key event

2012-02-08 Thread Mark Murphy
On Wed, Feb 8, 2012 at 12:39 AM, v bobbywink vvnevercha...@gmail.com wrote: Home key has been captured in framework level. The third app only can use the method to get home keyevent getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD) Fortunately, this no longer works as of Android

[android-developers] Re: Capture home key event

2012-02-07 Thread TreKing
On Tue, Feb 7, 2012 at 1:54 AM, Jatin Patel depo.ja...@gmail.com wrote: One of the reason can be to stop Audio Recording, when user leaves application.? A) Please reply to the group. B) That is not a good reason. You can use onStop() for that.

Re: [android-developers] Re: Capture home key event

2012-02-07 Thread Dianne Hackborn
On Mon, Jun 28, 2010 at 4:47 AM, Vishal k.vishaljais...@gmail.com wrote: I do understand the difference between the back key and home key. Anyways, is this the android where developer say anything can be done in android by developer? :-( Nobody has ever claimed that third party apps can do

Re: [android-developers] Re: Capture home key event

2012-02-07 Thread v bobbywink
Home key has been captured in framework level. The third app only can use the method to get home keyevent getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD) 2012/2/8 Dianne Hackborn hack...@android.com On Mon, Jun 28, 2010 at 4:47 AM, Vishal k.vishaljais...@gmail.com wrote: I do

[android-developers] Re: Capture home key event

2010-06-28 Thread Vishal
I do understand the difference between the back key and home key. Anyways, is this the android where developer say anything can be done in android by developer? :-( On Jun 24, 3:00 pm, Tomáš Hubálek tom.huba...@gmail.com wrote: Many users don't understand difference between Home and Back

[android-developers] Re: Capture home key event

2010-06-24 Thread Tomáš Hubálek
Many users don't understand difference between Home and Back button (according my experience of support of my apps) and in this case they don't understand why screen widget does not appear on home screen while configuration finished with Home button. I'm going to detect somehow that application

Re: [android-developers] Re: Capture home key event

2010-06-24 Thread Kostya Vasilyev
Tomas, If the activity in question is a widget configuration activity, how about having a create button? Another option is to set setResult(RESULT_OK, appWidgetId) and building the initial widget update in the activity's onCreate, so the widget is created by default. -- Kostya 24.06.2010

Re: [android-developers] Re: Capture home key event

2010-06-24 Thread Tomáš Hubálek
Kostya, I will double check your suggestion. I'm not sure why I didn't do it in suggested way but there was some reason. Thanks Tom On Thu, Jun 24, 2010 at 1:21 PM, Kostya Vasilyev kmans...@gmail.com wrote: Tomas, If the activity in question is a widget configuration activity, how about