Open main menu

DAVE Developer's Wiki β

Changes

Step by step guide to your first android app (DACU)

748 bytes added, 16:06, 27 July 2012
Deploy the application on the target
=== Deploy the application on the target ===
To install the application on the target, please follow these steps: # close the running emulator# check that ADB is running# open a shell and move to the workspace directory containing the project files (example: /home/user/workspace/MyFirstApp)# enter the bin sub-directory. If you list the content of this directory, you should see the application .apk file# Using ADB, please lauch the following command:
<pre class="workstation-terminal">
adb install <>/MyFirstApp.apk
</pre>
Now you can access the device, go to the applications screen and touch the "MainActivity" icon to run the application.
 
Please refer to the following pictures:
 
<gallery widths=400px perrow=3 caption="Running the application on the emulator">
File:Tutorial-android-install app-1.png
File:Tutorial-android-install app-2.png
File:Tutorial-android-install app-3.png
</gallery>
=== Useful links ===