I started getting this after adding links that launched the google play app to link users to other gaming apps, like
Intent browserIntent = new Intent (Intent.ACTION_VIEW, Uri.parse ("market: // details? Id = my game"));
when I exit my application and try to restart it from eclipse, I would either get “too many open files” or I would get the message “Move current activity to the foreground”, which simply reopens the googleplay page that I started from my previous launch the application. it seems that the secondary intention of “google play” hangs up after I walked away from everything and prevents the application from re-launching from eclipse. unfortunately, just adding browserIntent.finish () from the application does not work, the command (and the recommended fix for the action label) is not accepted.
I did not have this problem when I linked to other applications through a web browser, just opening a web page in my application. I may have to return to this method.
This link shows a suggestion to exit the intention, which began with your main action, although I’m working on something simpler: How to stop activity in android using the intention? .
Androidcoder Jul 19 '13 at 16:13 2013-07-19 16:13
source share