On Wed, Sep 28, 2011 at 12:21 AM, ANKUR GOEL <ankur1...@gmail.com> wrote:

> but when i press Home button its restart the application again and does not
> start the activity from where i left .
>
> so anyone can guide me what the problem might be or whether i have to write
> any code for that
>

http://developer.android.com/reference/android/app/Activity.html#onSaveInstanceState(android.os.Bundle)



> in other phone like samsung galaxy nexus its working fine .
>

That device probably has more memory and is less aggressive about clearing
out apps. It will happen there too eventually.

-------------------------------------------------------------------------------------------------
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

Reply via email to