Greetings,

I'm trying to add a few custom KEYCODE values to KeyEvent. I've gone
through the process of adding these KEYCODE's to the KeyEvent.java
file, and following the comments there the other associated files.
I've done the "make update-api" to get the new KEYCODE's added to my
api/current.xml file. All of this work is being done on Android 1.6.
The new image builds and deploys..

I'm now writing a test application to implement the onKeyDown()
functions to handle these custom KEYCODE's, but the problem is that
the generic SDK I've installed doesn't, obviously, contain the codes
in the KeyEvent package.

So my question is how would I go about exposing these new KEYCODE's to
my application so that I can deploy it on the target? Looking at the
project within Eclipse, the file
~/SDK/android-sdk-linux/platform/android-1.6/android.jar file is being
used to link the application. In my Android build, there is no single
android.jar file..so how do I generate this from my sources??

Regards
-- Ashwin

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to