j wrote:
> My app calls setWallpaper inside onDestroy() of my Activity.  The
> method succeed with no issue about 95% of the time.  However, in about
> 5% of the time, the process crashed:
> 
> I/ActivityManager( 2591): Process com.jack.moment (pid 5053) has died.
> 
> I notice my onDestroy implementation takes up to 7 seconds to
> complete ... is that why the process was killed? 

Very possibly. Can you arrange to do more of the work sooner?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com

Android Training on the Ranch! -- Mar 16-20, 2009
http://www.bignerdranch.com/schedule.shtml

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to