Talks about a brief history of Android, android architecture, how to create applications, and also about a telephony application which i have developed.
2. What is Android?
Android is a operating system designed primarily
for touchscreen mobile devices
(smartphones and tablet computers)
Developed at Android Inc.
(founded in 2003).
4. A consortium of technology companies including Google, device manufacturers, wireless
carriers, chipset makers was formed n November 5, 2007 and was named as the Open
Handset Alliance.
The goal of the Open Handset Alliance is to develop open standards for mobile devices.
Open Handset Alliance™, a group of 84 technology and mobile
companies who have come together to accelerate innovation
in mobile and offer consumers a richer, less expensive, and
better mobile experience.
Android™, the first complete, open, and free mobile platform.
5. Linux based OS, applications mainly developed
using Java
Free and Open source
The Android Open Source Project is led by Google, and tasked
with the maintenance and development of Android
6. How I started Android programming?
• Frequent calls to few contacts
Problem • Status calls while driving
• Create a group of contacts
Solution • Call contacts successively or
simultaneously
• Keep speaker ON while in call
7. Creating a group
For a group a user should be able to configure
Group Name
Loud speaker
Calling Mode
Contacts
The group details would be
saved and on the application
launch the created groups
would be visible
8. Calling the contacts in the group
Parents
• Mom, Dad
Best Friends
• Ojus, Geet, Amey
9. Get the Android SDK
• Download JDK and the Android SDK
• Install the ADT plugin for Eclipse
• Download the latest SDK tools and platforms
using the SDK Manager.
10.
11. • An activity represents a single screen with a user
Activities interface.
• Eg: SMS readwrite screen.
• A service is a component that runs in the background to
perform long-running operations or to perform work for
Services remote processes. A service does not provide a user
interface
• Eg: Music player running in background
Content • A content provider manages a shared set of application
data
providers • Eg: Query to data stored on file system or database.
• A broadcast receiver is a component that responds to
Broadcast system-wide broadcast announcements
• Eg: Battery Low, custom messages can be broadcasted.
receivers
12. Android project contains
AndroidManifest.xml
The manifest file describes the fundamental characteristics of the app and defines each
of its components.
src/
Directory for your app's main source files. By default, it includes an Activity class
that runs when your app is launched using the app icon.
res/
Contains several sub-directories for app resources. Here are just a few:
drawable-hdpi/
Directory for drawable objects (such as bitmaps) that are designed for
high-density (hdpi) screens.
layout/
Directory for files that define your app's user interface.
values/
Directory for other various XML files that contain a collection of resources,
such as string and color definitions.
14. Compiling and running the application
Programs written in Java and compiled to bytecode. They are then
converted from Java Virtual Machine-compatible .class files to Dalvik-
compatible .dex (Dalvik Executable) files before installation on a device.
The programs can be installed on the virtual device by clicking Run in the
eclipse editor
For installing/debugging the application on a real device make sure you
have installed the Sync software which came with phone and set
debugging options on the phone.