Extending KeyEvent (or another way of adding new KeyCodes)

by Chih-Wei » Fri, 26 Mar 2010 09:34:03 GMT


Sponsored Links
 Why do you need to add new keycode if it only has 4 buttons?
What functions do you expect to add?

If you really want to do, see my patch for how to add
PageUp & PageDown to android.

https://review.source.android.com/#change,10065

(it is verified, but I don't understand why it's still not been added
to AOSP)





-- 


To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.



Extending KeyEvent (or another way of adding new KeyCodes)

by Dianne Hackborn » Fri, 26 Mar 2010 10:31:33 GMT


 We request that you contribute a patch for any new keycodes you would like,
so that we can maintain a single, consistent list of keycodes for the
platform.




> website: 


Sponsored Links


Extending KeyEvent (or another way of adding new KeyCodes)

by Ashwin Bihari » Fri, 26 Mar 2010 20:13:24 GMT


 Dianne,

Is there really value in adding keycodes that only have any
bearing/use for certain devices? if that is the case, it might be
better for Google to define a dozen or so USER buttons, that can be
used by any application.

Either way, can you suggest a method of adding keycodes that doesn't
require changing the base SDK and the KeyEvent.java file?

Thanks
-- Ashwin







-- 


To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.



Other Threads

1. Android virtual machine (AVM) running on XP under vmware

Hello

I use a VM XP machine for my other development work - this machine
runs in VMware server under my Vista 64 at the moment.

Can I run an AVM on this virtual XP machine?

I have tried, using the Hello Android tutorial, but the AVM seems to
not launch properly, it seems to hang using 100 % of the cpu.

Thanks
Ivan

--~--~---------~--~----~------------~-------~--~----~

2. The Main Menu of the Android Acore always come out with a delay on my platform

The Main Menu of the Android Acore always come out with a delay on my
platform.
It always come out with a halt without any applications runs in
background!

thx a lot!!~~~

--~--~---------~--~----~------------~-------~--~----~

3. Using map activity in an app widget large problems

4. Using textview and button controls for System.in and System.out.println()

5. hi.

6. Is this guy for real?

7. Does android 1.5 work on ubuntu 9.04