Open main menu

CDOT Wiki β

Changes

Hello Android

427 bytes added, 19:39, 5 March 2011
Hello Android Application on Fedora
<li>Start by creating a new Android project. Fill in the project name, Application name, Package name and Activity.
[[Image:hello-android-1.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new Android projectOpen up the helloandroid.java program in the edit window.
[[Image:hello-android-2.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new Android projectModify the code so that it looks similar to this.
[[Image:hello-android-3.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating Create a new Android run configuration for the project. Click Apply but don't run the application yet. Just close this window.
[[Image:hello-android-4.png|left|thumb]]<br style="clear:left;" />
<li>Open up the Adndroid SDK and AVD manager. Select the platform to run on (2.2 in my case) and click the Start by creating a new Android projectbutton.
[[Image:hello-android-5.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new Android projectIn the Launch window just click Launch to start the emulator.
[[Image:hello-android-6.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new The Android projectemulator will start out looking like this.
[[Image:hello-android-7.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating But then it will switch to this after a new Android projectminute or so.
[[Image:hello-android-8.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new Now Run your Android projectapplication. The Console window might look something like this.
[[Image:hello-android-9.png|left|thumb]]<br style="clear:left;" />
<li>Start by creating a new Finally, click on the Menu button on the Android projectemulator and you should see the results of your Hello Android application.</ol>Congratulations! You've just run your first Android app.
[[Image:hello-android-10.png|left|thumb]]<br style="clear:left;" />
63
edits