Android Architecture
Android Architecture
Android Architecture
System Libraries:
Android includes a set of C/C++ libraries
used by various components of the Android system. These capabilities are
exposed to developers through the Android application framework. Some of
the core libraries are listed below:
System C library - a BSD-derived implementation of the standard C
system library (libc), tuned for embedded Linux-based devices
Media Libraries - based on PacketVideo's OpenCORE; the libraries support
playback and recording of many popular audio and video formats, as well as
static image files, including
MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG
Surface Manager - manages access to the display subsystem and seamlessly
Development Toolkit:
In 26th October, 2009 the "Eclair" version (2.0) was released which featured
better search, battery usage indicator and VPN control
applet. New platform technologies included...
ADT Plugin:
The Android Development Tools (ADT) plugin for Eclipse adds
powerful extensions to the Eclipse integrated development environment.
It allows you to create and debug Android applications easier and faster. If you
use Eclipse, the ADT plugin gives you an incredible boost in developing
Android applications:
It gives you access to other Android development tools from
inside the Eclipse IDE.
For example, ADT lets you access the many capabilities of the
DDMS tool: take breakpoints, and view thread and process information
d irectly from Eclipse.• It provides a New Project Wizardd, which helps you
quickly create and set up all of the basic you will need for a new andriod
application.It automates and simplifies the process of building your Android
application It will even export your project into a signed APK, which can be
distributed to users.
The Android SDK includes a mobile device emulator -- a virtual mobile device
that runs on your computer. The emulator lets you prototype, develop, and
test Android
applications without using a physical device.
Emulator Limitations:
setContentView (R.layout.voice_recognition)
and findViewById(int)
parameter that specifies one of two language models. Intent is defined with
intent.putExtra(RecognizerIntent.)EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_FREE_FOR
M).
The voice recognition application that handles the intent processes the
voice input, then passes the recognized string back to Voice SMS application by
calling the onActivityResult() callback. In this method we manage result of
activity startActivityForResult. Received result Data is stored in ListView variable
and shown on the screenthe data associated with the string "key" which in
this case is selected text from recognition Testing Figure 4. Interface for sending
SMS activity. The text is entered in the space for writing messages and displayed
on the screen. By clicking the Send SMS button application checks whether the
message and the number of recipient are entered to perform sending of message.
When cursor is positioned in the space for recipient number from