Re: [android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread Ashok Jeevan
Hi, Thanks Mr Romain Guy, for the information. @Mike dg : The requirement is that one app has to be loaded at startup which displays a browser with a specified URL. And one of the requirement is that whatever buttons the user presses or clicks, the browser shouldn't exit. The browser with the

Re: [android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread Kevin Duffey
So you're trying to be an iPhone? :D Yah, as they said, there is no way to make that work. Romain, one question on the Home key.. is there any way to detect it so you can close your app when they press the Home key? I would assume the standard lifecycle events still fire, so you can at least

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread Streets Of Boston
That won't work. What you want to do is not possible unless you create your own ActivityManager allowing just one activity: your activity. I guess you have to create your own AOSP branch for this to happen. All apps play by the same rules. And what if the user gets a phone call? What if a SMS

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread brucko
Quick question guys. I have no real knowledge in this but am quite interested. Assuming that the devices belong to an enterprise, can you just replace the Home application with your application? Like... http://developer.android.com/resources/samples/Home/index.html That way when the home button

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-11 Thread Maps.Huge.Info (Maps API Guru)
The dock app for the Droid does a similar thing. When you press the home key (while in the dock) the dock app is displayed. In order to get to the device home screen, the back key has to be pressed. -John Coryat -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How to disable home and other buttons so as to persist an app?

2010-05-06 Thread Mike dg
What are you trying to do? You could see that tons of things could go wrong with an app that runs on boot and doesn't allow you to get away. -Mike dg On May 6, 3:07 am, Ashok Jeevan ashokjee...@gmail.com wrote: Hi guys, I am building an app which uses a WebView. This app runs at startup. Is