I have a custom camera application...

I'm using a BroadcastReceiver to launch it when the Camera button is
pressed.  Unfortunately, once my camera app is launched the camera
button KeyDown event used to launch my camera activity is also passed
to it, which cause it to immediately attempt to capture a picture.

Is there a way to consume the KeyEvent so that this doesn't happen?

... or any other elegant solutions other then some flag toggle?

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