Simple Check For Android Application Backgrounding
I'm tracking how many activites are currently visible in my app (which should be 0 or 1) by calling plusActivity() from each Activity's onResume() and minusActivity() from onPause(
Solution 1:
Your solution might work but I don't know.
You might be able to use a BroadcastReceiver. If you use BroadcastReceiver you can issue an Intent when an activity executes onPause() along with your plus/minus code. The BroadcastReceiver will be able to can execute your app again...
Post a Comment for "Simple Check For Android Application Backgrounding"