Our company is developing an android tablet and we are creating an emulator for out tablet.The problem is we have additional buttons present in our tablet which is not present in the default android tablet emulator.
Can anyone point to any online resource or help me out on how to modify the default android emulator to add additional buttons and catch the events generated by them?
I have googled it but all search result point to creating a button for android app and not an hardware button for the emulator.
Look under platforms/android-whatever/skins/ in your sdk installation
Pick one of the emulator skins that’s closest to what you want to create. Make a copy under a new name.
Edit the hardware.ini and layout files, adding any necessary png’s to the directory. It seems pretty trivial to figure out by example, for instance:
Use the command line option to over-ride the skin when launching, or create an avd that points to the new skin.