Saturday, February 4, 2012

[android-developers] How is 'End Call using power button' implemented?

Hi all.

As we all know that there is an accessibility option to end call using
power button. What got me thinking was whether its possible to pick up
a call using a physical button.

This what I know so far.
- The API doesn't allow apps to change call state.
- Remapping the keys is not a solution.

So, it requires changes to the ROM itself.

Thus, I was wondering is how is the accessibility setting for end call
using power button implemented in the source code? Perhaps I can use
that as a starting point in trying to pick up a call.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate