Programming with Google Android and Eclipse
Android is an operating system based on Linux with a Java programming interface. It provides tools, e.g. a compiler, debugger and a device emulator as well as its own Java Virtual machine (Dalvik).
Android is created by the Open Handset Alliance which is lead by Google.
Android uses a special Java virtual machine (Dalvik) which is based on the Apache Harmony Java implementation. Dalvik uses a special Bytecode so that you have to use the Android compiler to create this special byte-code.
Android supports 2-D and 3-D graphics using the OpenGL libraries and supports data storage in a SQLLite database.
For development Google provides the Android Development Tools (ADT) for Eclipse to develop Android applications.
…
An Android application consists out of the following parts:
- Activity - A screen in the Android application
- Intent / Broadcast Receiver - allow the application to request and / or provide services from other application. For example the application call ask via an intent for a contact application. Application register themself via an IntentFilter
- Services - Background activities without UI
- Content Provider - provides data to applications, Android contains a SQLLite DB which can serve as data provider
An Android application is described the file “AndroidManifest.xml”. This files contains all classes of the application and the required permissions for the application, e.g. if the application requires network access. “AndroidManifest.xml” can be thought as the deployment descriptor for an Android application.
The following assume that you have already Eclipse install. For installing and using Eclipse please see Eclipse Tutorial To use Android you need to install the Eclipse Android Plugin and the base Android SDK. Afterwards you can install different Android versions via the Eclipse Android plugin . You will also need to configure a device which will be used to emulate your real device.
…
Website: fidelio.cacs.louisiana.edu | Filesize: 542kb
No of Page(s): 40
Click here to download Programming with Google Android and Eclipse.
Related Copyrighted Books
Android Application Development For Dummies (For Dummies (Computer/Tech))
Pro Smartphone Cross-Platform Development: iPhone, Blackberry, Windows Mobile and Android Development and Distribution
Head First Java, 2nd Edition
Unlocking Android
iPhone SDK Programming, A Beginner’’s Guide
Android Application Development: Create Modify Reuse
Related Tutorial
Tags: ADT, Android Development Tools, Apache, Bytecode, Dalvik, Eclipse, Google Android, Open Handset Alliance, SQLLite
Comments
Leave a Reply