First Program - Hello Geeks

Whats up Geeks,

In this tutorial we are going to learn our first Android App program, i.e Hello Geeks program.

From our last tutorial we will be able to create a new android project. Now lets see how to run it on an emulator.

Steps to be followed:
  • First we need to create an AVD (Android Virtual Device). An AVD is a device configuration for the Android Emulator that allows you to model different devices.
    To create an AVD:
    1. Launch the Android Virtual Device Manager:
      1. In Eclipse, click Android Virtual Device Manager from the toolbar.
      2. From the command line, change directories to <sdk>/tools/ and execute:
        android avd
    2. In the Android Virtual Device Manager panel, click New.
    3. Fill in the details for the AVD. Give it a name, a platform target, an SD card size, and a skin (HVGA is default).
    4. Click Create AVD.
    5. Select the new AVD from the Android Virtual Device Manager and click Start.
    6. After the emulator boots up, unlock the emulator screen.
To run the app from Eclipse:
  1. Open one of your project's files and click Run from the toolbar.
  2. In the Run as window that appears, select Android Application and click OK.
In this way you will be able to run your first Android App.

1 comment:

  1. very nice blog,keep sharing more blogs with us.

    Thank you....

    We are offering some technical course like,
    android course online
    ios online course

    ReplyDelete