Hello:

I followed the advice from this blog to receive the bluetooth buttons for
my app:

http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html

The buttons work on the average case.  However, if the user opens two
instances of my app (one by starting the app, and another through an Intent
call like open file, open attashment etc.) now I have two instances
running, and they both run the button code.  I get two calls.

I tried limiting the number of instances in the Manifest, but it does no
effect ( Tried android:launchMode="singleTop" and "*singleInstance*" ).

What is the clean way to get this to work ?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to