Interesting Information for Students

Note to Visitors

The content viewed in this blog is a collection of various articles & newsletters and is placed only for educational purpose.

Thursday, October 20, 2011

Android Developers

Developing applications for Android devices is facilitated by a group of tools that are provided with the SDK. You can access these tools through an Eclipse plugin called ADT (Android Development Tools) or from the command line. Developing with Eclipse is the preferred method because it can directly invoke the tools that you need while developing applications.

However, you may choose to develop with another IDE or a simple text editor and invoke the tools on the command line or with scripts. This is a less streamlined way to develop because you will sometimes have to call command line tools manually, but you will have access to the same number of features that you would have in Eclipse.

Before you begin developing Android applications, make sure you have gone through all of the steps outlined in Installing the SDK.

The basic steps for developing applications with or without Eclipse are the same:

1.  Set up Android Virtual Devices or hardware devices.
  • An Android project contains all source code and resource files for your application. It is built into an .apk package that you can install on Android devices.
  • If you are using Eclipse, builds are generated each time you save changes and you can install your application on a device by clicking Run. If you're using another IDE, you can build your project using Ant and install it on a device using adb.
  • Debugging your application involves using a JDWP-compliant debugger along with the debugging and logging tools that are provided with the Android SDK. Eclipse already comes packaged with a compatible debugger.
  • The Android SDK provides a testing and instrumnetation framework to help you set up and run tests within an emulator or device.

No comments:

Post a Comment

Popular Posts