No errors. When my app is launched (it's a game) and I lock the screen (sleep?) and everything is black, the app start again calling a new activity, creating a new istance of this class: http://pastebin.com/j1mTRUnB
I don't know why, I don't touch anything, it just create a new activity when is sleeping. Il giorno mercoledì 30 gennaio 2013 17:06:43 UTC+1, Johan Appelgren ha scritto: > > What error do you get? > > On Wednesday, January 30, 2013 11:48:59 AM UTC+1, Davide Moriello wrote: >> >> Hello, I'm developing an android app for some time now. Everything is >> going well. When I close my app with the home button and I reopen it there >> aren't any problems or crashes. >> But, when I have my app open and I lock my screen the app create a new >> istance of the activity and call again onCreate when the screen is >> locked... so crash! >> >> the code of my activity is here >> http://pastebin.com/j1mTRUnB >> >> >> What can this be? Any suggestion? Thank you a lot =) >> > -- -- 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 --- 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]. For more options, visit https://groups.google.com/groups/opt_out.

