I looked at the source code for Android, and the only place I see this Intent sent, it is indeed sent as "ordered".
It's perplexing why the camera button is handled so clumsily in the code, with apps vying for "priority", and you better pray any asking for a higher one than you offer the user a preference to NOT use the camera button. And even then, the app coders and user have to implement and use (respectively) these preferences. By contrast, the apps wanting to launch from the Call button just sign up for it, and the user enjoys a natural drive-by management of who will get the sticky binding. Way Hard for all vs Way Easy for all, respectively. I do not know why this is not working for us. It seems to work for Button Shortcut. tone On Mar 21, 10:32 pm, Streets Of Boston <[email protected]> wrote: > I think it's un-ordered, since abortBroadcast() is called, when i > debug my app, but it doesn't abort anything. > > Since my code is reached (i.e. no abortion by the default camera app > earlier) and my app's call to abortBroadcast doesn't help (default > camera still starting up), i'm assuming it's an un-ordered broadcast. > > I gave up on this and just do not implement the 'Camera' key. > > On Mar 21, 5:07 pm, DulcetTone <[email protected]> wrote: > > > I am trying the same thing, and failing as you are to use > > abortBroadcast() to avoid having Camera launch. > > > One thing you should note: 999 is apparently the highest priority a > > non-system app should use on its intent filters. However, 999 did not > > help me get there before Camera (apparently). > > > I will note that Button Shortcut apparently does this successfully. I > > wonder if Button Shortcut is alphabetically "less than" Camera. My > > app it alphabetically "greater". > > > Are you sure that this is an unordered broadcast? > > > tone > > -- 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 To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

