I’m trying to develop a very specific app for my Dell Streak. I want the entire app to run landscape. The Streak has a tilt function that switches the whole OS to a landscape 800×480.
So I want to make an ADT to test in that uses an 800×480 display, but whenever I set the size I get no buttons. The Streak has a Home, Menu and Back button aswell as volume/mute and power, and I need to use some of them for my application.
P.S. I’m not worried about the tilting messing up my application. Not yet, anyway. Just need the test environment the right size and with buttons.
This is because you use non-standard (your own) resolution and there’s no skin for that. You should provide your own skin in such a case.
But you don’t really have to do that. If you want to have 800×480 you can use
WVGA800built-in skin when creating AVD (which is 480×800) and then useKEYPAD_7orCtrl-F11andKEYPAD_9orCtrl-F12to switch it’s orientation to landscape. Then you get 800×480 with full keypad.–
Besides you can always use keyboard of your PC or laptop to emulate emulator keys:
Home – HOME
Menu – F2 or Page-up
Back – ESC
Power Button – F7
Audio volume up button – KEYPAD_PLUS, Ctrl-F5
Audio volume down button – KEYPAD_MINUS, Ctrl-F6
–
for more see: Keyboard mapping