How to save application state

Discussion in 'Application Development' started by yogeshlanjekar, Oct 27, 2010.

  1. yogeshlanjekar

    5

    Oct 5, 2010
    6
    0
    5
    Hi all,
    My requirement is as follows :
    While my application is running and user presses a HOME button, my application goes in background. When user again clicks on application icon, my application should get start from the point where user had left.
    Can anybody help me out?

    Cheers,
    YoGi
     

    Advertisement
  2. id0001

    id0001 Well-Known Member
    38

    Apr 20, 2010
    142
    23
    38
    Student.. also software developer
    Netherlands
    use onSaveInstanceState() or onRetainNonConfigurationInstance() in your activity.
     
  3. KlaymenDK

    KlaymenDK Well-Known Member
    143

    May 29, 2009
    1,217
    130
    143
    Denmark
    Yeah, I just posted the same in your other thread.

    That said, it's bad form to post the same question in more than one place. :eek: We do want to help you, but there's no sense in two of us helping you twice with the exact same thing.

    Have a great day!
     

Share This Page

Loading...