How to create android project in Eclipse with ADT

Before you start this project, be sure you have your development environment set up. You need to:
1.    Download the jdk.
3.    Download Eclipse IDE with ADT plugin.
 And extract this zip file .


Now open eclipse.


And show this windows


Creating an Android Project:

The ADT plugin provides a New Project Wizard that you can use to quickly create a new Android project (or a project from existing code). To create a new project:
1.    Select File > New >  Android Application Project


2.    Enter the basic settings for the project:
o    Enter an Application Name. This name is used as the title of your application launcher icon when it is installed on a device.
o    Enter a Project Name. This text is used as the name of the folder where your project is created.
o    Enter a Package Name. This class package namespace creates the initial package structure for your applications code files and is added as the package attribute in your application's Android manifest file. This manifest value serves as the unique identifier for your application app when you distribute it to users. The package name must follow the same rules as packages in the Java programming language.
o    Select a Minimum Required SDK. This setting indicates the lowest version of the Android platform that your application supports. This value sets the minSdkVersion attribute in the <uses-sdk> element of your manifest file.
o    Select a Target SDK. This setting indicates the highest version of Android with which you have tested with your application and sets the targetSdkVersion attribute in your application's' manifest file.
o    Select a Compile With API version. This setting specifies what version of the SDK to compile your project against. We strongly recommend using the most recent version of the API.
o    Select a Theme. This setting specifies which standard Android visual style is applied to your application.


o    Click Next.
3.    In the Configure Project page, select the desired settings and click Next. Leave the Create activity option checked so you can start your application with some essential components.
4.    In the Configure Launcher Icon page, create an icon and click Next.


5.    In the Create Activity page, select activity template and click Next. For more information about Android code templates, see Using Code Templates.


6.    Click Finish and the wizard creates a new project according to the options you have chosen.


After show this windows




                                 
Share on Google Plus

About Samsul Hoque

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment