On Mon, Aug 9, 2010 at 4:25 PM, Pinheiro <[email protected]> wrote:

> How can we detect if an Activity is run for the 1st time?


The savedInstanceState Bundle passed to you is null the first time through.
It is non-null if you're being restored (from a screen rotation or
otherwise), in which case it contains the data you save in
onSaveInstanceState.

-------------------------------------------------------------------------------------------------
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to