Tried the above: Did not work! :(

On Mar 12, 10:28 am, Streets Of Boston <[email protected]>
wrote:
> I found an answer 
> here:http://groups.google.com/group/android-beginners/browse_frm/thread/b0...
>
> Put this in your manifest:
> <receiver android:name=".MyReceiver">
>   <intent-filter android:priority="10000">
>     <action android:name="android.intent.action.CAMERA_BUTTON"/>
>   </intent-filter>
> </receiver>
>
> The main element that makes it work, according to Pradeep, is the
> 'priority' attribute.
> Also, putting abortBroadcast() helps, but i'm not sure about that. It
> seems that the CAMERA_BUTTON broadcast is un-ordered.
>
> On Mar 7, 7:45 am, Streets Of Boston <[email protected]> wrote:
>
>
>
> > I am reviving this thread 
> > again...http://groups.google.com/group/android-developers/browse_frm/thread/6...
>
> > I have tried Marco's suggestion, but it doesn't work.
> > It seems the broadcast is not ordered and canceling/aborting it has no
> > effect. This causes for both my and the default camera app to be
> > started up *at the same time*.
>
> > Is there a way to register another 3rd party camera activity as the
> > default or at
> > least as an option for becoming the system's camera app when the
> > dedicated
> > 'camera key' is pressed?
>
> > Thanks!- Hide quoted text -
>
> - Show quoted text -

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

Reply via email to