Error message

Notice: Undefined variable: _POST in include_once() (line 1 of /data/a/n/androidaz.com/web/sites/default/settings.php).

You are here

How to install application and copy files to Android Emulator

Sometimes you would need to install third party application on your emulator. Since Android Market is not working by default on emulator and you cannot simply download files from Market, you need to install application there manually. For example in my case, I needed to install PDF viewer to the emulator in order to run it from my application. For this purpose Android Debug Bridge (adb.exe) application from Android SDK is used. After installation it is placed in folder tools under Android SDK.

Following simple procedure will install application on emulator using adb.exe:

  1. Download Apk file you want to install there, in my case it was AndroidPdfViewer_1_0_0b.apk from source forge server (http://sourceforge.net/projects/andpdf/files/ )

  2.   Run Android virtual device in emulator (if it is not yet running) with command:

    > emulator @MyAAndroidDevice

  3.   Go to Android SDK directory where you have installed adb command and run installation command:

    > adb install AndroidPdfViewer_1_0_0b.apk

    This will install application to running emulator, and you should get message about successfull installation:

    > 1628 KB/s (1432940 bytes in 0.859s)
    >         pkg: /data/local/tmp/AndroidPdfViewer_1_0_0b.apk
    > Success

So the application is installed, in my example with PDF Viewer I also needed to transfer some files to the emulator SDCARD. This was done also with adb command:

> adb push pdf\maraton.pdf /sdcard
> 1258 KB/s (120777 bytes in 0.093s)

If you want also to copy files from emulator adb pull is used:

> adb pull /sdcard/maraton.pdf a.pdf
> 1509 KB/s (120777 bytes in 0.078s)

So these few options for adb command did the job. For information, complete adb command list is here for example – adb.txt.

Short News

I have launched Facebook page for Woodebox Puzzle hints and tutorials.

Woodebox Puzzle Free reached 10,000 downloads :)

Small note about Woodebox also on Palmserver.cz.

Woodebox was recommended by famous xda-developers page to its fans.

Our Android Games

Drupal theme by pixeljets.com D7 ver.1.1