Has anyone had any success getting around the problem outlined here, looks like it's fairly common problem, and I've seen apps that have seemed to get around this?
On Mar 22, 10:13 am, Streets Of Boston <flyingdutc...@gmail.com> wrote: > I don't know either, > > It would be great if one of the google/android could chime in. > > I just disabled the use of thecamerabutton. I've waited for an > answer about this issue for almost a year (i have an older post about > this same issue) and still don't have an answer. > > On Mar 22, 1:43 am, DulcetTone <dulcett...@gmail.com> wrote: > > > I looked at the source code for Android, and the only place I see this > >Intentsent, it is indeed sent as "ordered". > > > It's perplexing why thecamerabutton 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 > >camerabutton. 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 <flyingdutc...@gmail.com> > > wrote: > > > > I think it's un-ordered, sinceabortBroadcast() is called, when i > > > debug my app, but it doesn't abort anything. > > > > Since my code is reached (i.e. no abortion by the defaultcameraapp > > > earlier) and my app's call toabortBroadcastdoesn't help (default > > >camerastill 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 <dulcett...@gmail.com> wrote: > > > > > I am trying the same thing, and failing as you are to use > > > >abortBroadcast() to avoid havingCameralaunch. > > > > > One thing you should note: 999 is apparently the highest priority a > > > > non-system app should use on itsintentfilters. However, 999 did not > > > > help me get there beforeCamera(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- 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 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 To unsubscribe, reply using "remove me" as the subject.