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

2009-04-08 Thread fadden
On Apr 7, 9:48 pm, manohar 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 interoperates correctly wi

[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 wrote: > > Thanks, android.os.Process.killProcess(android.os.Process.myPid()); > this got worked for me > > On Apr 7, 9:25 pm, Marco Nelissen wrot

[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 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. > > > > On Tue,

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

2009-04-07 Thread manohar
Thanks a lot dude. It got worked for me.. On Apr 7, 4:53 pm, Gothy wrote: > i guess it's smth like: > android.os.Process.killProcess(android.os.Process.myPid()) > > On Apr 7, 2:01 pm,manohar 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 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 wrote: > > Hi all, > > I am unable to completely destory my app. My app is thread based app. > Once i exit the ap

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

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

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

[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 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 i try to relaun