[android-developers] Re: How to completely Destroy application

2009-04-08 Thread fadden
On Apr 7, 9:48 pm, manohar manohar...@gmail.com wrote: Thanks, android.os.Process.killProcess(android.os.Process.myPid()); this got worked for me System.exit(), or possibly Runtime.halt(), are quite a bit simpler (and more portable). Initializing your static variables so that your app

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Neil
That worked for me. On Apr 7, 1:53 pm, Gothy dmitry.ut...@gmail.com wrote: i guess it's smth like: android.os.Process.killProcess(android.os.Process.myPid()) On Apr 7, 2:01 pm, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Gothy
i guess it's smth like: android.os.Process.killProcess(android.os.Process.myPid()) On Apr 7, 2:01 pm, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based app. Once i exit the app by calling onDestroy method, it is exiting properly. If

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Streets Of Boston
This is not the right solution, although it may work. It looks like your process can not be destroyed completely because there are still some running threads active. This is bad news. When your app's 'onDestroy' is called, make sure to properly stop these threads. Or at least let the operating

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Marco Nelissen
You should start by taking a look at the system log to see what the actual problem is. There will probably be a helpful stack trace in there. On Tue, Apr 7, 2009 at 4:01 AM, manohar manohar...@gmail.com wrote: Hi all, I am unable to completely destory my app. My app is thread based app.

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread manohar
Thanks, android.os.Process.killProcess(android.os.Process.myPid()); this got worked for me On Apr 7, 9:25 pm, Marco Nelissen marc...@android.com wrote: You should start by taking a look at the system log to see what the actual problem is. There will probably be a helpful stack trace in there.

[android-developers] Re: How to completely Destroy application

2009-04-07 Thread Marco Nelissen
Sure, but that's just masking the real problem, and is preventing the system from caching your application. On Tue, Apr 7, 2009 at 9:48 PM, manohar manohar...@gmail.com wrote: Thanks, android.os.Process.killProcess(android.os.Process.myPid()); this got worked for me On Apr 7, 9:25 pm,