I have android:launchMode="singleInstance" in the main activity in my manifest file. I think I am still getting multiple instances of the app under some circumstances. How can I tell?
Asked
Active
Viewed 45 times
1 Answers
0
Use
android:launchMode="singleTop"
Instead of
android:launchMode="singleInstance"

Santosh Kathait
- 1,444
- 1
- 11
- 22
-
Thanks for that Kat-hat. However, I would still like to know how to detect multiple instances . – GeoffC Jun 11 '15 at 05:53
-
Go to http://developer.android.com/guide/topics/manifest/activity-element.html.this may help you – Santosh Kathait Jun 11 '15 at 06:01