0% found this document useful (0 votes)
48 views

Android Development Environment

This document provides steps to configure an Android development environment in Eclipse: 1. Install Eclipse IDE, Java JDK, and Android SDK. Configure Eclipse by adding the ADT plugin. 2. Create an Android virtual device to emulate different devices and OSes. 3. The Dalvik Debug Monitor Server (DDMS) is a debugging tool that provides services like logcat and device information. It is accessed through Eclipse.

Uploaded by

Bala Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as ODP, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Android Development Environment

This document provides steps to configure an Android development environment in Eclipse: 1. Install Eclipse IDE, Java JDK, and Android SDK. Configure Eclipse by adding the ADT plugin. 2. Create an Android virtual device to emulate different devices and OSes. 3. The Dalvik Debug Monitor Server (DDMS) is a debugging tool that provides services like logcat and device information. It is accessed through Eclipse.

Uploaded by

Bala Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as ODP, PDF, TXT or read online on Scribd
You are on page 1/ 31

ANDROID DEVELOPMENT ENVIRONMENT

STEPS TO CONFIGURE ADE


Install Eclipse IDE Install Java Platform(JDK 6 or updates) Download & Install ANDROID SDK Configure Eclipse Create Android Virtual Device(AVD) Dalvik Debug Monitor Server(DDMS)

INSTALLING ECLIPSE IDE


Eclipse is an open source project that became incredibly popular as a general use IDE. Install Eclipse via Ubuntu Software Center(its Developer Tools/ IDEs) or download from here http://www.Eclipse.org/downloads/. After installing,you can see the Eclipse in the Applications menu as following

Once the installer ran successfully,Youwill require to select the Workspace where you willrequire to select the workspace where you will save all your java projects

INSTALLING JAVA PLATFORM


Install Java Platform form Ubuntu Software Center or download from http://java.sun.com/javase/downloads/index.jsp

INSTALLING ANDROID SDK

Download and install the Google Android SDK. A Software Development Kit is exactly that -- a kit for developing software. This provides the essential libraries needed for Android application development and testing. The download is pretty simple. Go to http://developer.android.com/sdk/index.html, read and agree to the license and click the "continue" button. Download the installer for your particular operating system, and unzip the file in some location . Now in Eclipse, go to Help > Install New Software...:

CONFIGURING ECLIPSE
First step in configuring Eclipse is getting ADT plugin. What is ADT? Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications. ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add components based on the Android Framework API, debug your applications using the Android SDK tools, and even export signed (or unsigned) .apk files in order to distribute your application.

You can add ADT plugins to Eclipse as following:

The Available Software window opens. Click the Add button:

A small Add Site window opens. Fill in the following values and click on OK: * Name: ADT Plugin * Location: https://dl-ssl.google.com/android/eclipse/

Back in the Available Software window, you should now see the software Developer Tools. Select that software and click on Next >:

In the next window, click on Next > again:

Now accept the license agreements and click on Finish:

The packages needed to integrate the Android SDK into Eclipse are now being downloaded and installed:

If you see the following message about unsigned content, it's ok to click on the OK button:

At the end of the installation, Eclipse needs to be restarted. To do this, click on Yes:

Now there's one final step to complete the Android SDK integration in Eclipse: Go to Window > Preferences:

In the Preferences window, select Android in the left panel, and then click on the Browse... button that belongs to the SDK Location field in the right panel:

Select the directory where the Android SDK is located (it's android-sdk-linux_x86 in your home directory) and click on OK:

Back in the Preferences window, click on Apply (you should then see the supported Android versions in the Target Name column)...

. and then on OK:

CREATION OF ANDROID VIRTUAL DEVICE


Creating AVD is a great way to see how your application might work across different operating systems and handset types. As AVDs can mimic not only different Android Oses but also different harware .you can change such settings as display type and maximum Memory. To create an AVD,click Android SDK and AVD Manager from Eclipse Window menu

Dalvik Debug Monitor Server


Android ships with a debugging tool called the Dalvik Debug Monitor Server (DDMS), which provides port-forwarding services, screen capture on the device, thread and heap information on the device, logcat, process, and radio state information, incoming call and SMS spoofing, location data spoofing, and more

Running DDMS
DDMS is integrated into Eclipse and is also shipped in the tools/ directory of the SDK. DDMS works with both the emulator and a connected device. If both are connected and running simultaneously, DDMS defaults to the emulator. From Eclipse: Click Window > Open Perspective > Other... > DDMS.

THANK YOU

Now We are ready to create first Android program.

You might also like