Well, it seems like your main issue is how to use and/or maintain an
exclusion lock on the camera without your application having an
activity in the foreground. Have you solved that?

As for the "exit an application" (I still think that's the wrong way
to say it), the nice way would be to add a pending intent, which
displays a notification icon. This reminds the user the camera is
locked and provides a handy access to the unlock activity. In any
case, in order to unlock the camera, the user needs to start an
activity in your application that performs the unlock. Thinking of the
camera lock as a state of the application/device is much better IMO
than thinking that the application is "running".

The other way is to force stop the application from the Manage
Applications control panel.

-- 
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