How to install apps to Android SDK?

Q. Is there a way to install apps to this android emulator?

A. it's actually very simple
1) note the location of the app (.apk file)
2) in a cmd console - go to the directory where you have extracted the android SDK to (if you do not have the sdk, download it from http://developer.android.com/sdk/1.5_r1/index.html and extract it)
3) go to the tools directory
4) type 'adb install app.apk' where app.apk is the name of the application you want to install
for more helpful hints you can visit my blog at http://developreality.blogspot.com/
Good luck
Elad Katz

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();




Powered by Yahoo! Answers


Category Article

What's on Your Mind...

Diberdayakan oleh Blogger.