[android-developers] Re: Application gets killed because provider is in dying process

2009-04-12 Thread GiladH
Works like charm. Tnx Di. On Apr 9, 7:43 pm, Dianne Hackborn hack...@android.com wrote: You can avoid this by not holding an open cursor on the media content provider. The onLowMemory() thing is not for this purpose.  In fact this may not have anything to do with memory at all -- if a

[android-developers] Re: Application gets killed because provider is in dying process

2009-04-09 Thread Dianne Hackborn
You can avoid this by not holding an open cursor on the media content provider. The onLowMemory() thing is not for this purpose. In fact this may not have anything to do with memory at all -- if a process you have a cursor on crashes for whatever reason, your process needs to be killed as well.