@Mark Murphy,
I think by right soft key, he meant the BACK button.
You can disable the BACK button, but I too think that you can't do the
same for the HOME button.
With the code you have posted, you disable default key handling for
all buttons, except HOME (not possible, AFAIK) and BACK
Fyi-- this setting is left over from decisions about the behavior we wanted
for 1.0, and is no longer used. Don't count on any of the settings doing
what they say, or any of this staying around in the future. (I realize this
got left in the public SDK. Ooops. It shouldn't have been.)
On Sun,
Hi Mark,
Thanks for your reply.. I actually meant the home key and the End call
button on the device. For home key i have found a solution at
PhoneWindowManager.java @framework Any idea about the End call
button??
Thanks.
On Aug 22, 4:03 am, Mark Murphy mmur...@commonsware.com wrote:
You cannot disabled these keys from an application.
On Sun, Aug 23, 2009 at 6:53 PM, Shang Haosahilz...@gmail.com wrote:
Hi Mark,
Thanks for your reply.. I actually meant the home key and the End call
button on the device. For home key i have found a solution at
PhoneWindowManager.java
Please unsubscribe me!
--~--~-~--~~~---~--~~
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
Please read the signature at the bottom of every message explaining how to
unsubscribe!
On Sun, Aug 23, 2009 at 10:02 PM, Hristo Yordanov me4ta...@gmail.comwrote:
Please unsubscribe me!
--~--~-~--~~~---~--~~
You received this message because you are
Hi Roman,
Accepted that I cannot play around with these keys from apps...But
there must be a way somewhere where they must be getting handledi
just need to broadcast and make these keys handling ineffective/
effective Can u help me with the files which i should be looking
for
You already said it, PhoneWindowManager is what handles the keys.
On Sun, Aug 23, 2009 at 9:53 PM, Shang Hao sahilz...@gmail.com wrote:
Hi Roman,
Accepted that I cannot play around with these keys from apps...But
there must be a way somewhere where they must be getting handledi
just
Hi Shang,
You can use END_BUTTON_BEHAVIOR setting in Settings.System.
Android Developers
http://developer.android.com/reference/android/provider/Settings.System.html#END_BUTTON_BEHAVIOR
What happens when the user presses the end call button if they're not on
a call.
Values:
0 - The end button
Shang Hao wrote:
Hi,
dis
I m making a test application and want to able all keys excluding the
back button.. Using below code i am not able to disable HOME key
and right soft key. Please suggest what to do.
@Override
public boolean onKeyDown(int keyCode, KeyEvent
10 matches
Mail list logo