Hello,

I apologize in advance, since I've only gotten started developing for
Android, so I'm not particularly familiar with what's possible/
feasible to do. I would like to create a service that can "send" an
ACTION_MEDIA_BUTTON intent, so media players and the phone can be
react as if the user pressed the actual media button. I'm basically
trying to create an alternative for headsets that don't have any
buttons, so you could answer calls or pause music by shaking the
phone, for example.

So, is it possible for a service to broadcast the ACTION_MEDIA_BUTTON
intent? If not, is there another immediately obvious approach to
solving this problem? I intend to become more familiar with the
Android API over the coming weeks, but it would be nice to know sooner
than later whether this problem is simple or infeasible.

Thank you very much!
-Duncan

-- 
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