[mono-android] SplashActivity and single instance

devbuzz derek at fieldmetrix.com
Thu Jan 12 13:09:40 UTC 2012


Hi Tomasz, many thanks that makes complete sense!

One thing I'm still struggling with though is having only a SingleInstance
of my application running at a time.

I have uploaded a sample app here showing the issue:

http://www.devbuzz.com/downloads/SplashAndSingleInstance.zip

I am aware that this is somewhat contract to standards, but as I mentioned
my app has a background service and it's imperative that the user doesn't
run more than one instance of it at the same time.

If I click on the Launcher icon when my application is already running the
app runs again from the beginning irrespective of the fact that it is
already running - any idea what I am doing wrong?

I have spent ages messing about decorating the different activities etc and
I just can't seem to get it right.

--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/SplashActivity-and-single-instance-tp5138098p5139888.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list