[android-developers] Re: process has died after exiting app

2010-01-15 Thread Albert
Also I am implementing LocationListener() and I am updating my location by requestLocationUpdates(...), so if my process gets killed then I won't receive more location updates untill the alarm manager fires the service again. Is this correct? How can I deal with this? Thanks, Alberto -- You

[android-developers] Re: process has died after exiting app

2010-01-14 Thread String
The OS may kill any process which isn't active (or very occasionally, even ones which are), and you certainly can't rely on the user's phone having plenty of resources. So, using static variable in an AppWidget isn't reliable; you need to store information between runs someplace else, such as

[android-developers] Re: process has died after exiting app

2010-01-14 Thread Albert
Thanks String for your reply, I have indeed changed my approach there and I am sending everything I need for my activity as Extras in the intent. Still I find it a bit strange that the process gets killed right after I exit the activity, it happens quite often and I do not see on the log the same