Hello some comments:

> 2) If someone uses force stop they should
already acknowledge that some information might be lost.

The user doesn't know about this, there isn't any sign or warning when
pressing that button. And also our apps doesn't know too. ;)

> Whenever your app is in the background, the system
may freely kills its process as it wishes, when it wishes, without
giving
you a chance to clean up.  That's just how it works.

I think this is the point, normally when our application needs to be
destroyed in order to release memory, or it's in a lower priority then
onDestroy() is called.
With this "Force Stop" stuff not, there isn't any way to be aware
about our threads and tasks to be killed.

On 2 oct, 17:02, Dianne Hackborn <hack...@android.com> wrote:
> On Fri, Oct 2, 2009 at 12:56 PM, Lucas <roll...@gmail.com> wrote:
> > In my personal case i have a worker thread that must finish cleanly in
> > order to make my app re-launch in a reliable state.
>
> If you are relying on a thread to finish cleanly for your application to
> remain reliable -after- its process is killed, then your app is very fragile
> if not outright buggy.  Whenever your app is in the background, the system
> may freely kills its process as it wishes, when it wishes, without giving
> you a chance to clean up.  That's just how it works.
>
> > I am going to add a case in Android issues regarding this,
>
> I will probably close this as working as intended, sorry.
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
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