Steps to create a project with Eclipse - Android


Android Development Environment Needed :
  1. Download the Android SDK Starter Package.
  2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
  3. Download the latest SDK tools and platforms using the SDK Manager.
Creating Android Project :
An Android project contains all the files that comprise the source code for your Android app. The Android SDK tools make it easy to start a new Android project with a set of default project directories and files.
For using Eclipse,the Android SDK and ADT plugin should be installed already.


Steps to create a project with Eclipse:



  1. In Eclipse, select File > New > Project. The resulting dialog should have a folder labeled Android.
  2.  (If you don’t see the Android folder, then you have not installed the ADT plugin - see Installing the ADT Plugin ).
  3. Open the Android folder, select Android Project and click Next.
  4. Enter a project name (such as "MyFirstApp") and click Next.
  5. Select a build target. This is the platform version against which you will compile your app.

We recommend that you select the latest version possible. You can still build your app to support older versions, but setting the build target to the latest version allows you to easily optimize your app for a great user experience on the latest Android-powered devices.
If you don't see any built targets listed, you need to install some using the Android SDK Manager tool
See step 4 in the installing guide.
Click Next

5.Specify other app details, such as the:

  • Application Name: The app name that appears to the user. Enter "My First App".
Package Name : The package namespace for your app (following the same rules as packages in the Java programming language). Your package name must be unique across all packages installed on the Android system. For this reason, it's important that you use a standard domain-style package name that’s appropriate to your company or publisher entity.
For your first app, you can use something like "com.example.myapp" However, you cannot publish your app using the "com.example" namespace.

  • Create Activity : This is the class name for the primary user activity in your app (an activity represents a single screen in your app). Enter "MyFirstActivity".
  • Minimum SDK: Select 4 (Android 1.6).
  • Because this version is lower than the build target selected for the app, a warning appears,but that's alright. You simply need to be sure that you don't use any APIs that require an API level greater than the minimum SDK version without first using some code to verify the device's system version (you'll see this in some other classes).

 6.Click Finish.

Your Android project is now set up with some default files and you’re ready to begin building the app.



__________________________________________________________________________
Author Name : SONAL SINGH

About the Guest Author: Sonal Singh is a Part Time Guest Blogger For EXPLORE IT
She is a Project Engineer in WIPRO and studied at SRM UNIVERSITY

Follow her @ Facebook
_________________________________________________________________________

Email Newsletter

Subscribe our daily newsletter us for Free Updates

Blogger widgets

Categories: , ,

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete

1.Your feedback is appreciated .we will try to respond as soon as possible .
2.While commenting make sure you click "subscribe by mail ", so that you will be notified follow up replies
3.Please don't spam ,dont use keyword in the name section, don't drop the links for the sake of backlinks and other purpose ( Comments will not be published and deleted)
4.Make sure you check the previous comments , before asking any any queries . you may get the solition in the comments itself.
5.Comments should be related to the topic .
if above all not followed the user may result in ban :(

    Contributors

    Powered By Blogger

    About Explore IT

    Explore IT is a Technology blog , In simple Words
    " One Stop For the Latest Updates "
    Mobile Phone,Smartphone,Tablets,PC,Laptop,Games,
    Software,Hardware,Blog .

    Any One Can Share and Explore their Knowledge to the unknown.
    (Read our Privacy policy and Guest Post Terms)

    Follow Us Via Facebook and Twitter

    Total Pageviews

    Followers