Re: [android-developers] Re: noob developer, application keeps restarting
Because it's dirty, kills resources, goes against the application
lifecycle, is a dangerous way of destroying things without finalizing
things first, ... basically, for the same reasons you don't want to
unplug your machine while it's running...
kris
On Fri, May 25, 2012 at 1:47 AM, Yan <yinoryan@gmail.com> wrote:
> Why?
>
> On May 21, 10:07 am, Kristopher Micinski <krismicin...@gmail.com>
> wrote:
>> On Mon, May 21, 2012 at 9:45 AM, Yan <yinor...@gmail.com> wrote:
>> > An easier but less graceful way is just to System.exit(0) in the
>> > onPause then start from scratch every time...
>>
>> You absolutely *should not* be doing this.
>>
>> kris
>
> --
> 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+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home