Transcript Android
Android
Aims to bring Internet-style innovation and openness to mobile phones
You might help me to figure it out…
What is the limitation of Windows Mobile?
What are the advantages of Java & Linux?
What you think when you purchase any
mobile phone?
What it is???
Software Environment for Mobile Devices contains Operating
System, middleware and bunch of applications
•
First complete, open and free mobile platform
•
Based on Linux Kernel
•
Uses Java as a development Language….
•
By Google later Handed to Open Handset Alliances
Google doesn’t left anything in technology world without it magic touch……
Why Special ???
Application framework enabling reuse and replacement of
components
Dalvik Virtual machine optimized for mobile devices
Integrated browser based on the open source WebKit engine
Optimized graphics powered by a custom 2D graphics library;
3D graphics based on the OpenGL ES 1.0 specification
SQLite for structured data storage
Media support for common audio, video, and some image
formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF)
GSM Telephony ,Bluetooth, EDGE, 3G, and WiFi,
GPS,Compass,Accelerometer (hardware dependent)
Rich development environment including a device emulator,
tools for debugging, memory and performance profiling, and a
plugin for the Eclipse IDE
This for Users……Lots of cool stuff
from Google
Multiple applications, running all at once, and switch seamlessly
between them. Notifications alert you when applications running
in the background require your attention.
Demo :-http://www.youtube.com/watch?v=q1m4j676BCc
The native WebKit browser lets users experience the "full web" and
easily move between browsing and other tasks on their phone.
Demo :- http://www.youtube.com/watch?v=8lZkwaNx8_Y
Personalize the home screen to suit your needs and tastes.
Demo:- http://www.youtube.com/watch?v=LQH0ICx7E9U
Application without Borders
Any app on the mobile device can be replaced or extended
Fast scrolling……. Browser Trick……Easy Copy & Paste………Contact &
Calendar……………long & long list
This for Developers….
Open Market
Developers will be able to make their content available on
an open service hosted by Google that features a
feedback and rating system similar to YouTube.
Write the steps for Text Messaging
Program
Consider yourself as a developer not as a
user….
What are the functions/Events you need?
Who start/stop/switch?
What is Scenario?
From where it comes and where it goes?
Anatomy of Android Application – Text
Messaging Example
Activity – Single class, Single Screen
composed of views, respond to user input
Intent –Navigation from Screen to Screen
Broadcast Intent Receiver – Notification, request
Service – long-lived , running in background
Content Provider – Standard set of methods to
store and retrive data
AndroidManifest.xml – required file for every
application
First Simple Application
package com.android.hello;
import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;
public class HelloAndroid extends Activity
{ /** Called when the activity is first created.
*/
@Override public void onCreate(Bundle savedInstanceState)
{ super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
tv.setText("Hello, Android");
setContentView(tv);
}
}
Confusion about how to start ???
Here is the answers….
Tools http://code.google.com/android/intro/tools.html
APIs –
http://code.google.com/android/reference/packag
es.html
Project
http://code.google.com/android/adc_gallery/
http://www.android.com/market/
At Last………..Criticism
Google announce it is open source but license says…….
3.2 You agree that Google or third parties own all legal right, title and interest in and to
the SDK, including any Intellectual Property Rights that subsist in the SDK.
"Intellectual Property Rights" means any and all rights under patent law, copyright
law………………………………..
3.4 Use, reproduction and distribution of components of the SDK licensed under an
open source software license are governed solely by the terms of that open source
software license ………..
Google releasing code under Apache 2 licenses rather than GPL2………Why ?????
Android only reuses the Java language syntax, but does not
provide the full-class libraries and APIs bundled with Java
SE or ME
Thanks to References……
www.openhandsetalliance.com
• www.android.com
• www.code.google.com/android
• www.cnet.com
•
Lots of Blogs…
???
-Thanks