Hi All,

Has anyone got experience in creating virtual hard key area? How does on 
dedicate a hardware button to a virtual key area.

I have a mobile phone from Runbo which has the following physical buttons - 
Vol up/down, camera, PTT (push-to-talk) button, SOS and ET. Plus it has the 
usual back, menu, search and home button.

Using the function onKeyUp(...) and onKeyDown(...), I am able to detect all 
buttons expect for PTT. None of these functions get called when I 
press/release the PTT button. This leads me to believe that it could be a 
virtual hard key. 

However I am not sure how to create a sample application to test this.

Any ideas will be good.

Thanks

public static final int FLAG_VIRTUAL_HARD_KEY
Added in API level 
5<http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels>

This key event was generated by a virtual (on-screen) hard key area. 
Typically this is an area of the touchscreen, outside of the regular 
display, dedicated to "hardware" buttons.
Constant Value: 64 (0x00000040)

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to