Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Mark Murphy
Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine LogCat and look at the stack trace associated with your crash. On Mon, Apr 23, 2012 at 3:00 PM, Dang Sananikone dang.sananik...@gmail.com wrote: Hi, I have encountered a bug whereby my application force closes after selecting

Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Dang Sananikone
Hi, sorry I should have elaborated a bit more. I have some code to catch exceptions when accessing my database at process initialisation, and this is where the app comes unstuck. At startup, a single worker thread is given the job of reading from the database. While this is happening a splash

Re: [android-developers] Application force closing after selecting it from the recent apps list after an application update

2012-04-23 Thread Dang Sananikone
Oh dear, I see what's going on. After the app update, upon selecting the app through the recent apps list a new process is created, and the activity that was in the foreground when the Home button was pressed is started in the new process with a null savedInstanceState. My assumption was that