[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-04-14 Thread Mark Hansen
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

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-22 Thread Streets Of Boston
I don't know either, It would be great if one of the google/android could chime in. I just disabled the use of the camera button. 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,

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-21 Thread DulcetTone
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

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-21 Thread Streets Of Boston
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

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-21 Thread DulcetTone
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

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-12 Thread Streets Of Boston
I found an answer here: http://groups.google.com/group/android-beginners/browse_frm/thread/b068dfe35ebbb5fe/030538a5c2147a97?lnk=gstq=default+camera+pradeep#030538a5c2147a97 Put this in your manifest: receiver android:name=.MyReceiver intent-filter android:priority=1 action

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-12 Thread Streets Of Boston
Tried the above: Did not work! :( On Mar 12, 10:28 am, Streets Of Boston flyingdutc...@gmail.com 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-developers] Re: Problem launching my own (camera) application on press of Camera-button

2009-03-20 Thread Streets Of Boston
Thanks! I'll give that a try. On Mar 19, 7:12 pm, Marco Nelissen marc...@android.com wrote: Try calling abortBroadcast() in your receiver. On Thu, Mar 19, 2009 at 7:18 AM, Streets Of Boston flyingdutc...@gmail.com wrote: When i press the phone's camera button, both my application and

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button

2009-03-19 Thread Marco Nelissen
Try calling abortBroadcast() in your receiver. On Thu, Mar 19, 2009 at 7:18 AM, Streets Of Boston flyingdutc...@gmail.com wrote: When i press the phone's camera button, both my application and the system's camera application are launched: - I press camera button - After a few seconds, my