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. [WTB] HTC Evo New.

Halo, 


As subject dicari htc evo kondisi new dan fullset, silahkan japri 
a...@i-gadgetstore.com atau 08122 1111 191 , butuh lebih dari 3-6unit so harga 
pasti reseller.



Salam,


Ary Malik l i-gadget store. 

-- 
"

2. Superuser icon hilang dr screen

Dear all
Samsung Aceku sfh rooted dgn SuperOneClick sebulan lalu. Hari ini aku
install Shootme, dan saat mau dibuka aplikasinya ternyata gagal dan ada
notifikasi "please check that you ROOT access your device.
Baru sadar juga kalo ternyata Superuser icon sdh hilang dr screen HH.
Mhn pencerahannya apakah HH perlu di root lagi?
Thx

Ricky

-- 
"

3. [GingerBread] Accelerometer sensor keep on generating events

4. Unable to toggle breakpoint in eclipse

5. New Tab Control In New Music App

6. Ask : root archos firmware 2.3.26

7. Change color of listview in custom dialog