create an android app

Post on 27-Oct-2014

53 Views

Category:

Documents

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

Learn how to set up your first Android application using Java Eclipse. This tutorial will also be on the LESS Dev Center.

TRANSCRIPT

1) Open up Eclipse and select File > New > Other

2) Click on the Android folder and select Android Application Project. Click ‘Next’

3) On this screen, you will need to name the project, and choose the SDK builda. For this example, we will call the project LESSMobileb. The Application Name and Project Name typically are called the same thingc. The Build SDK is usually the most recent version of Androidd. The Minimum Required SDK is what version of Android that your application will support

4) Click ‘Next’. If you selected ‘Create custom launcher icon,’ you will be taken this screen

5) This screen Creates a New Activity. a. BlankActivity is more for phonesb. MasterDetailFlow is more for tablets

6) Create New BlankActivity

7) Install Dependencies

a. Click the Install/Upgrade button

b. Accept License Agreement

c. Click ‘Finish’

8) Your app will now be viewable in the Project Explorer

9) **Pro-tip: Open up the Project Explorer view for better navigationa. Select Window > Project Explorer

Your Java files

Your icons

Configuration file

The physical layout xml file. Called activity_main

top related