Android Chp2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Android Chp 2: Your Android Development Environment

Vinayak Naik

Steps to install the DE

Java SDK 5 or 6 is required


Java runtime is not sufficient Gnu compiler for Java (gcj) is not compatible

Eclipse is the most comprehensive DE


Use Eclipse 3.3 (Europa) or later If using Eclipse for the first time, choose Eclipse IDE for Java EE

Install Android SDK ( http://developer.android.com/sdk ) Update your PATH to include Android tools directory Install Android Plug-In for Eclipse ADT (http://developer.android.com/sdk/ )

Android Tools

Android emulator
Runs on your computer and behaves much as a mobile device You can load Android applications into the emulator, test, and debug them configuration It is generic device and not tied to any one specific phone

Dalvik Debug Monitor Service (DDMS)


Tool provides direct access to the device emulator or physical device View and manage processes and threads View heap data, attach to processes to debug A client-server tool to debug Android code on the emulator using Eclipse DDMS and ADT use ADB to facilitate interaction between the development environment and the device Interact with device file system, install Android apps shell commands to access database

Android Debug Bridge (ADB)

manually, and issue shell commands, e.g. Use sqlite3

You might also like