I’m already aware that the app resumes at screen lock. But notice that Angry Birds has this issue too. In fact, many apps do. This is because Android calls our onResume() method in Java at screen lock. Terrible, I know, but that is a pretty major Android issue that we’re all stuck with. Although this may be fine for normal apps or games that are not heavily action oriented. Probably not okay for apps that play music in the background because it would start playing at screen lock… but again, notice that Angry Birds has this problem too.
The only other popular method that I’m aware of is to suspend/resume the app when the window loses/gains “focus” respectively. The issue with this is that the app will suspend when a dialog such as an Alert window is displayed. You can see this type of behavior in more action oriented games.
Bottom line, there is no perfect suspend/resume method that we can implement on Android that will match iOS. We can implement it one of two ways mentioned above and each method has its plus and minuses. But again, just to be clear, the suspend/resume behavior will NEVER match iOS. Everyone has this problem on Android.
So, it sounds like we need to make this configurable, or at least allow some kind of control as to when the app suspends and resumes. I’m open to ideas. [import]uid: 32256 topic_id: 16909 reply_id: 65296[/import]