[android-developers] Re: HEADSET_PLUG not registering as receiver
I have solved the problem by starting service on boot which (service) is registering Receiver, but hope that there is a better solution... On 7 Paź, 00:54, skyman wrote: > Hello, > > I'm trying to create application fixing problem with audio volume in > headset/handset (I cannot find such application in the market). > > There is ACTION_HEADSET_PLUG intent, but I cannot register it in > manifest. Registering it using registerReceiver does not make sense > becouse app should be run always when headset is plugged/unplugged, > app will also have no GUI/Activity. > > How can I solve this problem? > > Regs, > > Skyman --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: HEADSET_PLUG not registering as receiver
*bump* On 7 Paź, 14:53, skyman wrote: > I have solved the problem by starting service on boot which (service) > is registering Receiver, but hope that there is a better solution... > > On 7 Paź, 00:54, skyman wrote: > > > Hello, > > > I'm trying to create application fixing problem with audio volume in > > headset/handset (I cannot find such application in the market). > > > There is ACTION_HEADSET_PLUG intent, but I cannot register it in > > manifest. Registering it using registerReceiver does not make sense > > becouse app should be run always when headset is plugged/unplugged, > > app will also have no GUI/Activity. > > > How can I solve this problem? > > > Regs, > > > Skyman --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
[android-developers] Re: HEADSET_PLUG not registering as receiver
skyman wrote: > *bump* > > On 7 Paź, 14:53, skyman wrote: >> I have solved the problem by starting service on boot which (service) >> is registering Receiver, but hope that there is a better solution... >> >> On 7 Paź, 00:54, skyman wrote: >> >>> Hello, >>> I'm trying to create application fixing problem with audio volume in >>> headset/handset (I cannot find such application in the market). >>> There is ACTION_HEADSET_PLUG intent, but I cannot register it in >>> manifest. Registering it using registerReceiver does not make sense >>> becouse app should be run always when headset is plugged/unplugged, >>> app will also have no GUI/Activity. >>> How can I solve this problem? The "better solution" is to contribute changes to the Android open source project to resolve whatever problem you are experiencing with the headset volume. The ACTION_HEADSET_PLUG Intent would appear to not be designed for your scenario. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---