change android sdk emulator from tablet to phone?

Q. Hi
I created an android emulator with api level 13 and when I run it instead of a phone it is tablet size and has no virtual keyboard beside it. How can i change it to a normal Android phone?

Thanks
but I need to use API 3.2. Is there not a way to change it within that API level?

A. If you are using Eclipse:

Window > Android SDK And AVD Manager
Select your emulator and click edit to the left.
The second option is called "Target" (the drop down comboBox). Change that to what you want.

In case you need it:
API 8 = 2.2
API 9 = 2.3.1
API 10 = 2.3.3

If that doesn't fix the look, change the model to "WVGA800".


If you are not using Eclipse:
I don't know, sorry.

How do i get the visible dimension of an android application, with the sdk?
Q. My archos 7 has a resolution of 800x480 but with the menu at the top the resolution is reduced to about 800x440.
((canvas)g).getHeight() returns 480 even with the menu showing.

A. try
View.getHeight(); View.getWidth();

How to install new apps in Android SDK?
Q. I use Android SDK "Sony Ericson EDK" So how do i install new apps in this SDK?

A. Sounds like you mean the Android Emulator, not the Android SDK (two separate things completely)

http://www.howtogeek.com/howto/21862/how-to-enable-the-android-market-in-the-google-android-emulator/

---
Kasey C, PC guru since Apple II days
Better to understand a little than to misunderstand a lot.




Powered by Yahoo! Answers


Category Article

What's on Your Mind...

Diberdayakan oleh Blogger.