How to add apps to a Android SDK?

Q. I need to find out how to add apps to an Android SDK. NOT THE PHONE. The SDK.
Sorry about being an Ass on the "NOT THE PHONE" but some people really can't read so I need to be clear to them.
Apps as in App Market apps into an SDK. Get it?
Sam you are stupid. What I mean is an SDK is an emulator of the phone. How to add apps onto that emulator. Thanks.

A. No, I don't get it. This question makes no senses. An SDK is not an application and has no applications, therefore adding an application to it makes no sense.

How do i set up the Android SDK?
Q. Hi, I want to start developing apps on the Google Android platform but I do not know how to set the SDK up. Can anyone give me a step-by-step guide?

A. After downloading the SDK, unpack the .zip archive to a suitable location on your machine. By default, the SDK files are unpacked into a directory named android_sdk_<platform>_<release>_<build>. The directory contains a link to a local copy of the documentation and the subdirectories tools/, samples/, and others.

Make a note of the name and location of the unpacked SDK directory on your system â you will need to refer to the SDK directory later, when setting up the Android plugin or using SDK tools.

Optionally, you can add the path to the SDK tools directory to your path. As mentioned above, the tools/ directory is located in the SDK directory.

In the home directory locate the .bash_profile and locating the PATH variable add the location to your $SDK_ROOT/tools folder.

Adding tools to your path lets you run Android Debug Bridge (adb) and the other command line tools without needing to supply the full path to the tools directory. Note that, if you update your SDK, you should remember to update your PATH settings to point to the new location, if different.

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




Powered by Yahoo! Answers


Category Article

What's on Your Mind...

Diberdayakan oleh Blogger.