Saturday, 4 August 2012

GETTING STARTED WITH ANDROID

STEP 1 >>

Download Android SDK Latest Version:

Click on the link below to download Latest SDK,

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

 

Before installing SDK please check the requirement

         Operating Systems

  • Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit)
  • Mac OS X 10.5.8 or later (x86 only)
  • Linux (tested on Ubuntu Linux, Lucid Lynx)
    • GNU C Library (glibc) 2.7 or later is required.
    • On Ubuntu Linux, version 8.04 or later is required.
    • 64-bit distributions must be capable of running 32-bit applications.

    Eclipse IDE

  • Eclipse 3.6.2 (Helios) or greater
    Note: Eclipse 3.5 (Galileo) is no longer supported with the latest version of ADT.
  • Eclipse JDT plugin (included in most Eclipse IDE packages)
  • JDK 6 (JRE alone is not sufficient)
  • Android Development Tools plugin (recommended)
  • Not compatible with Gnu Compiler for Java (gcj)

    Other development environments

  • JDK 6 (JRE alone is not sufficient)
  • Apache Ant 1.8 or later
  • Not compatible with Gnu Compiler for Java (gcj)
Note: Some Linux distributions may include JDK 1.4 or Gnu Compiler for Java, both of which are not supported for Android development. 



STEP 2 >>

Adding Platforms and Packages: 

After you have successfully installed the SDK ,

Click Start-> all programs->android SDK tool-> Click SDK manager.. 

When you open the Android SDK Manager, it automatically selects a set of recommended packages. Simply click Install to install the recommended packages. The Android SDK Manager installs the selected packages into your Android SDK environment. The following sections describe some of the available SDK packages and more about which ones we recommend you install.

Download each individual SDK mostly download everything..

Recommended 'Ginger Bread SDK 2.3.3 API 10" 

Once you have installed your packages, continue to the next page. 

Figure 1 : Android SDK Manager.



STEP 3 >>

Adding Emulators:

Open Android Virtual Device manager as shown in Figure 2

 

Figure 2 : Android virtual device manager:


 

 

To Open 'new virtual device' dialog box Click New

Figure 3:



Next fill in all details as above:

NOTE: Snapshot helps to launch emulator without booting it up again.

 

To check everything's fine go to Virtual device -> Click AVD 'Ginger_bread'->Click Start-> launch

Figure 4:

 It takes time to boot up..so be patient..

Here he have done with the SDK and AVD manager..Next Step Installing Eclipse

STEP 4>>

Next Step To download Eclipse:

Download the latest version of eclipse from :

http://www.eclipse.org/downloads/

 

Figure 5:

 

 

 For windows click on window32 bit and download the zip file..extract it to drive you wish and run Eclipse..

 

 

STEP 5>>

Next Step To install Android Developer Tool (ADT):

 

Go to http://developer.android.com/sdk/installing/installing-adt.html,

 

Scroll down untill you see download ADT Pugin & Copy the URL Below & paste it into,

 

Open  Eclipse->On menu Bar Click Help->Add Repository / Install New Software

 

 

 

That's it...Congrats finally we are done with the Eclipse IDE and we are ready to develop ..Enjoy!! :)

1 comment: