Make sure that your "login screen" and "main screen" are separate Activities.
If you are modeling these as Views inside an activity, then you you would have to take care of save/restore as part of the activity life cycle. On Jul 29, 12:27 pm, "[email protected]" <[email protected]> wrote: > Having some really strange "bugs" with my Android application at the > minute, it I run it from Eclipse it runs fine, pretty much perfect. > > It contains a login screen that I can access and get to my main screen > fine when running through Eclipse. When I press the home key and > return to my application it returns to the last position (Activity) > the application was in. > > However when I release sign a build and deploy it on the device it has > different behavior,after going through the login screen when I press > home and then return to the application the login screen always > appears. > > Code is identical in both builds, only difference is one is signed > with the default debug keystore while the other is signed with my own > release keystore. > > Has anyone come across this? Its really confusing! -- 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

