Issue
I have a class that extends Application. The class is fairly extensive. When the application is in the background for a long time the OS kills the class. On restart things go sideways. I need to debug some data structures and fix the problem. Is there a way to force the OS to replicate this behavior instead of waiting an hour or two between each time I run the app? I know I can kill the entire application but that isn't what I'm going for.
Solution
Yes. You can do this with the emulator with the Dev Tools App (look under Immediately destroy activities), and you can do it with Ice Cream Sandwich phones (Settings -> Developer Options, Don't keep activities check box).
Answered By - wsanville
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.