Starting Your First Android App

  • Upload
    blotcoo

  • View
    206

  • Download
    4

Embed Size (px)

Citation preview

How to Start Your First Android App

Step 1: Get the ADT Bundle

Go to http://developer.android.com/sdk/index.html

Click the 'Download the SDK' button

Accept Terms

Download

Install

Step 2: Start a New Project

Open Eclipse

Go File->New->Android Application Project

You will see something like this:

Enter in a Name for Your Android App

Enter a Project Name (will be shown in the Package Explorer)

Enter a Package Name (Must be Unique, Most People Use their domain backwards, like this: com.mydomain.MyPackageName)

Enter a Minimum SDK, a Target SDK, and Which Version of Android to Compile Against

Step 3: Add a Virtual Device

Click Window->Android Virtual Device Manager

Click New

Enter in Something Like this

Make Sure to Change the Amount of RAM to 512

Step 4: Connect Device or Start Emulator

If You Have a Physical Android Device, Connect it Now

Otherwise, in the Android Virtual Device Manager, Click Your Recently Created Virtual Device and Click Start

Step 5: Deploy to Device

Click the Play Button on the Toolbar, or Click Run->Run

The HelloWorld App will be Deployed on Your Device

For More Information

More in-depth information and more tutorials for starting your first android app can be found at: http://www.androidexperience.org