[android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Droid
I have a thread that needs specifically to be cancelled when the home button is pressed. But, nothing reliable gives me that information. (I have over 10 activities all in the stack) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Shashidhar
Follow this: http://stackoverflow.com/questions/2261914/catch-keypress-with-android On Wed, Jun 8, 2011 at 12:04 PM, Droid rod...@gmail.com wrote: I have a thread that needs specifically to be cancelled when the home button is pressed. But, nothing reliable gives me that information. (I have

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Mark Murphy
On Wed, Jun 8, 2011 at 2:34 AM, Droid rod...@gmail.com wrote: I have a thread that needs specifically to be cancelled when the home button is pressed. Rewrite your app such that you do not care about the HOME button. -- Mark Murphy (a Commons Guy) http://commonsware.com |

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread TreKing
On Wed, Jun 8, 2011 at 1:34 AM, Droid rod...@gmail.com wrote: I have a thread that needs specifically to be cancelled when the home button is pressed. Perhaps if you explain why you think your thread needs to be specifically canceled on pressing Home you can get an answer that helps you fix

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Rocky
same issue i have, i want my application will run throughout in my restaurant, no one exit the apps from home button or backbutton, i disable back button, but how to disable back button, so that customer cant move away from the apps. --Rakesh On Wed, Jun 8, 2011 at 5:53 PM, TreKing

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread TreKing
On Wed, Jun 8, 2011 at 7:36 AM, Rocky rkjhaw1...@gmail.com wrote: i disable back button, but how to disable back button, so that customer cant move away from the apps. I assume you meant disable home button, and you CANNOT DISABLE THE HOME BUTTON, for very good reasons.

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread James Ots
I've seen this done on Windows CE devices a long time ago, by encasing the device in something which covers the buttons you don't want to user to press. I'd suggest either doing that, or installing a customized Android build on the device. James -- You received this message because you are

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Rocky
yeah, i mean same, but whats the alternative way to do. On Wed, Jun 8, 2011 at 6:21 PM, TreKing treking...@gmail.com wrote: On Wed, Jun 8, 2011 at 7:36 AM, Rocky rkjhaw1...@gmail.com wrote: i disable back button, but how to disable back button, so that customer cant move away from the apps.

Re: [android-developers] How can I know when the home button has been pressed?

2011-06-08 Thread Mark Murphy
On Wed, Jun 8, 2011 at 8:36 AM, Rocky rkjhaw1...@gmail.com wrote: same issue i have, i want my application will run throughout in my restaurant, no one exit the apps from home button or backbutton, i disable back button, but how to disable back button, so that customer cant move away from the

MxRe: [android-developers] How can I know when the home button has been pressed?h

2011-06-08 Thread emaildevbr . stress
Sent from my Verizon Wireless Phone -Original message- From: TreKing treking...@gmail.com To: android-developers@googlegroups.com Sent: Wed, Jun 8, 2011 09:24:59 GMT-03:00 Subject: Re: [android-developers] How can I know when the home button has been pressed? On Wed, Jun 8, 2011 at 1