On Mon, Feb 25, 2013 at 3:52 AM, user123 <ivanschu...@gmail.com> wrote:

> And I'm wondering, if there's any case where I can get a null pointer?
> Because e.g. the system kills the app while it's in the background, and
> tries to restart it in the last screen - since the variable is only
> initialized in the launcher screen, it will not be initialized? Does this
> case exist?
>

To answer your question, yes that exact case does exist, so you don't want
to initialize your data in the launcher screen.

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to