1. Download our Official Android App: Forums for Android!

Apps Saving state of a custom view

Discussion in 'Android Development' started by moap, Feb 21, 2011.

  1. moap

    moap Newbie
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    15
    Joined:
    Nov 28, 2010

    Nov 28, 2010
    15
    0
    15
    Hi all,

    I have a custom view which is my game scene.When user lock screen with power button or something else it restarts my view. I tried android:configChanges but it seems to work on emulator but not on real device. What is the correct way of saving my view's state. It's not something like save an int in a bundle and restore it for now 1500 line of code what i'm talking about.
     

    Advertisement

Share This Page

Loading...