Getting Enter in Android development


Published on

This document is designed for those who wants to get enter in Android development.

if you follow this doc correctly you will able to set your Hello World Android App.

It is requested to all Experts that kindly don't read this doc if you are already aware of all the facts of Android development

Published in: Education, Technology
  • Your tutorial is rather doubtful, to say the truth. You start with telling the reader to install JDK, but how about telling us that Java is not the only language for Android development? Check out this list - - there are plenty of other options. Next, Eclipse is no longer an official Android IDE - now it is Android Studio - Basically, you only speak of installing and IDE, so probably you should rename your presentation? App development is a complex process consisting of many stages, as you can read here - Calling software installation development is nonsense.
    Are you sure you want to  Yes  No
    Your message goes here
  • @sabeeh1991 obviously yaar
    bekaar english se andaza nahi howa tmhain
    Are you sure you want to  Yes  No
    Your message goes here
  • Zabardast, if u made that.
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Getting Enter in Android development

  1. 1. Setting Up Your First App For Android1) The first thing you need to setup in “Android Development Environment” is JDK or Java Development Kit. It can be downloaded from Oracle Website. The new JDKs can update theirselves automatically for free, so you just need to install it once.2) In previous times, when you use eclipse for android development, you need to install Eclipse and android SDK manager separately and configure them with each other. But now a configured and customized Eclipse version can be downloaded from Android developer’s site. here is the URL:
  2. 2. 3) You don’t need to install anything after downloading this Bundle. Android SDK will be downloaded as a compressed File that contains Eclipse and Android SDK manager. You need to Run Eclipse from the respective folder.
  3. 3. 4) Congratulations…! You have successfully environment for android Development.5) If you are opening Eclipse for the first time, then there will be 99% chances that you will see the following dialogue box(if this dialogue doesn’t appear then it means that eclipse is getting its info from some previous versions). This dialogue box require you to set up the Directory or Workspace in which you or eclipse will store all the projects or apps and their related data(It is recommended that you choose drive other than “C” in order to prevent drive access errors due to OS security reasons, in future).
  4. 4. 6) Select you desired path and folder and click OK.7) Here is the first look of Environment. It’s a welcome Screen.8) Go to File->new->Android Application Project.9) The following Dialogue Box will appear.
  5. 5. Here:Application NameThe name of your applicationProject Name The name of the folder in which all related and required files will be storedduring the development phase. It resides in the workspace folder.Package Name The name of the package in which main classes resides. The concept is sameas in the Java Language.Minimum SDK RequiredThe lowest version of Android that your app supports, indicated usingthe API level. To support as many devices as possible, you should set this to the lowest versionavailable that allows your app to provide its core feature set. If any feature of your app ispossible only on newer versions of Android and its not critical to the apps core feature set, youcan enable the feature only when running on the versions that support it.Target SDKindicates the highest version of Android (also using the API level) with which youhave tested with your application.As new versions of Android become available, you should test your app on the new version andupdate this value to match the latest API level in order to take advantage of new platformfeatures.Compile With is the platform version against which you will compile your app. By default, thisis set to the latest version of Android available in your SDK. (It should be Android 4.1 or greater;if you dont have such a version available, you must install one using the SDK Manager). You can
  6. 6. still build your app to support older versions, but setting the build target to the latest version allows you to enable new features and optimize your app for a great user experience on the latest devices. ThemeFor the first time, select none. And then Click Next (some above content is copied from Android developer’s site )10) In the below screen, Just Click Next with the default Options.11) The next screen enables you to customize the icon of your Application. For the first time you can skip this option. Click Next. (You are allowed to create your own icon in any graphic software and use it as your app icon).12) The next screen will be of Create Activity. For the First time, select Blank Activity and click next.
  7. 7. 13) Set some attributes of the activity. Go with the Defaults and click finish. Congrats…!! You have just set up your Fist Project. This will take some time so be patient.  (You might need to close the welcome screen before viewing the created project.)14) The next screen that appears will be something like this.
  8. 8. 14) Now you really want to see your app running. For this you need to have an android phone or an emulator.15) Eclipse and Android SDK enables you to set up multiple emulators at the same time.16) Emulators are called AVD or Android Virtual Device.17) To set up or configure an emulator you need to open AVD manager by clicking its image as shown in above figure.18) Here is the Dialogue you will get when click the icon.19) Click NEW… A new Dialogue will appear.
  9. 9. 20) Give some related AVD name.21) In the Device option you will see all the devices that have already been included before. For the first time go with some predefined device.22) Target Android version or API has already been set when you are setting up your Project.23) Don’t play with all the options.24) Just set the amount of RAM of the computer you want to dedicate for the AVD, Set the internal storage of the phone and Select Emulation option of HOST GPU. Finally Click OK.
  10. 10. 25) Congrats…!! You have just set up an AVD.26) But you are still a bit away from executing your App.27) Click on Run Configuration.28) Double Click on Android Application.
  11. 11. 29) Select your Project and click Apply.30) In the target tab, select your AVD and click apply.
  12. 12. 31) Select RUN in the common tab.Click Apply close this dialogue.
  13. 13. 32) Now Click on RUN AS(Just Below Window menu) and Let your app finally run on AVD. It takes time. Be patient.