This document provides an overview of Android, including:
- Android is an open source software stack that includes an operating system, middleware, and key applications developed by the Open Handset Alliance led by Google.
- The history of Android began in 2007 with the founding of the Open Handset Alliance and the unveiling of the Android platform.
- The document then describes the core components that make up the Android software stack including the Linux kernel, Dalvik runtime, core libraries, framework, and applications.
- It also provides basic steps for developing Android applications including setup, development, debugging and testing, and publishing.
2. What is Android ??
Software stack for mobile devices
Includes an operating system, middleware
and keyapplications..
Developed by the Open Handset Alliance
led by Google
3. History of Android ...
Open Handset Alliance,a consortium of
several companies led by goggle.
Unveiling of the Android platform was
announced on 5 November 2007 with the
founding of OHA
Based on the Linux kernel
7. Linux Kernel
Open Linux kernel.
Unlike the iPhone OS, Android is open
source
developers can modify and customize the
OS for each phone.
8. Dalvik RunTime
Dalvik is Virtual Machine
The apps written in Java, is first compiled
into bytecode by a regular java
compiler(.class file)
.class files are converted into .dex file
9. Core Libraries in Android
They provide most of the functionality
available in the core Java libraries as well
as the Android-specific Libraries
10. Framework in Android
Set of API's that simplifies writing apps for
android phones to developers.
UI designing tools – button design
System tools – intents, phone controls
11. Applications in Android
http://developer.android.com/sdk/index.html
#download.
Download and install SDK, we can access
these tools from Eclipse IDE, through ADT
plugin.
Basic Steps for developing applications
Setup
Development
Debugging and Testing
Publishing
12. Setup
Eclipse + ADT plugin
Android SDK Tools
Android Platform-tools
The latest Android platform
The latest Android system image for the
emulator
13. Development
During this phase we set up and develop
our Android project, which contains all of the
source code and resource files for our
application.
15. Or,go to File, New, Other, Android, Android
Application Project.
16. Step 2: Configure the Project Settings.
Enter the application name, project name,
and package name. Choose a Build SDK
that suits your test devices and favored
emulator configurations.
17. Step 3: Add an App Launcher Icon
Click Next. Choose your launcher icon.
18. Step 4: Select the App Activity Type
Click Next. Now choose “BlankActivity.”
19. Step 5: Specify Activity Details
Click Next. Enter in some details for the
Activity. Finally, click Finish.
20. Step 6: Review Your Simple App
Create an AVD as well as a Run or Debug
configuration for you project. Now, run
your new project in an emulator or on a
compatible Android device.
21. Debugging and Testing
During this phase you build your project into
a debuggable .apk package that you can
install and run on the emulator or an
Android-powered device.
22. Publishing
During this phase you configure and build
your application for release and distribute
your application to users.