My question is really short.
I have a game which has a reset class that resets all the objects.
If I understand it correctly I only need one instance of the game activity at the same time.
Since if Android created multiple instances of the activity it would be a waste of resources.
Is the changing of launchMode in Android a way to achieve this. Is it safe to use launchMode=”singleInstance” to achieve this?
Check out the answer at Android singleTask or singleInstance launch mode? – which does a good job if explaining the documentation and refers on to an excellent blog / android app (at http://blog.akquinet.de/2010/02/17/android-activites-and-tasks-series-an-introduction-to-androids-ui-component-model/).