Upload
rohit-ghatol
View
1.009
Download
1
Embed Size (px)
Citation preview
Programming with Android
By Rohit Ghatol
Who am I?
1. Founder of Pune GTUG2. Engg/Hiring Manager at QuickOffice3. Agile Evangelist at Synerzip4. Chief Evangelist at my own firm (X)5. Technical Speaker and Corporate Trainer6. Scrum Master (Agile Project Mgmt)7. Trying hands at Counseling
8. LOVE TO HELP STUDENTS
Linked In Profile
Topics
• Desktop, Laptop, Smart phone, Netbooks• Android Mobile Platform• Features• Building Blocks• Building Gmail Application
The way I see it
Desktop, Laptops, Smart Phone,
Netbooks
Topics
• Desktop, Laptop, Smart phone, Netbooks• Android Mobile Platform• Features• Building Blocks• Building Gmail Application
Mobile Platform Simplified
Mobile Hardware
Mobile Operating System
Gmail Twitter Layar FourSquare
Display Driver Camera Driver GPS Driver Audio Driver
Telephony API Internet API Notification API GPS API
SMS API Accelo API Camera API Audio API .....
Topics
• Desktop, Laptop, Smart phone, Netbooks• Android Mobile Platform• Features• Building Blocks• Building Gmail Application
FeaturesDesktop
Features
Older Operating System1. System Agents2. Handicapped Apps3. Privileged Appse.g Can not change desktop, Dialer, System Applications
Android Operating System1. Every one is Equal
e.g Feel free to change Desktop, Launcher (start menu),Dialer, Messenger, email clients
Every one is Equal
FeaturesAndroid Market
Features
Reuse of Application Reuse of Data
FeaturesBrowser
Telephony Maps
GPSAccelerometer
Compass
3G/Edge/GPRS
Multi TouchCamera
Remote Control
Wifi & Bluetooth
Audio Support
SQLLiteOpengl
Topics
• Desktop, Laptop, Smart phone, Netbooks• Android Mobile Platform• Features• Building Blocks• Building Gmail Application
Android ScreenNotification
BarInfo
Launcher
Shortcuts
Widgets
Topics
• Desktop, Laptop, Smart phone, Netbooks• Android Mobile Platform• Features• Building Blocks• Building Gmail Application
Building Blocks
Activity(Screen)
Service(Background)
BroadcastReceiver
(respond to events)
Content Provider
(Database/Directory)
Notification Manager
Alarm Manager ......
Alarm Manager
Read more - http://developer.android.com/guide/topics/fundamentals.html
Gmail Application
Behind the Scenes
Email CheckService in
Background(Service)
Email Database(Content Provider)
Call Email Check
Service every 5 minutes
(Alarm Manager)
Activity Activity Notification Mgr
Environment Setup
Environment Setup
Environment Setup
Text
Environment Setup
Text
HelloWorld
Text
HelloWorld
Text
HelloWorld
Text
HelloWorld
Text
Manifest File
Text
Activity
Text
Complete Activity
Text
Layout - XML
Text
Layout - Preview
Text
R.java
Text
Running App
Text
Running App
Text
Add a Button
Text
Add Strings
Text
See Changes to R.java
Text
Handle Button
Text
Running App
Text
Running App
Text
Where to reach me?
• Pune GTUG Group - http://groups.google.com/group/pune-gtug
• Blog - http://blog.punegtug.org
• [email protected] GTUG stands for Pune Google Technology Use Group