use shared prefrences to save the state of the activity
http://stackoverflow.com/questions/2441203/how-to-make-an-android-app-return-to-the-last-open-activity-when-relaunched

On Mon, Jan 11, 2016 at 11:47 AM, Nay T.K. <[email protected]> wrote:

> hi,
>
> I have login page (activity) which is my first activity (landing page) of
> the app.
> Only after user gives correct username and password, the app allow you go
> to other pages to work with.
>
> Now my question is, now the user is at the fourth page and he is working
> on it, And he minimize the app and use other app like messaging etc..
> so when he come back to click my app icon again, my app starts from the
> first landing page, which is the login page,
> how can I make my app to resume from the fourth page?
>
> andriod 4.4.4, kit kat,  samsaung
>
> Regards,
> Nay TK
>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/9843671b-e1ad-4e61-b712-e7c2d3a9b117%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/9843671b-e1ad-4e61-b712-e7c2d3a9b117%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABHzXATw9BaqzdSFJU%2Ba8pGUFUVtM4%3DxO-7qPgOcgP7Svvgq_w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to