introduction to android development
DESCRIPTION
TRANSCRIPT
![Page 1: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/1.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Introduction to Android Development
Ed Burnette
![Page 2: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/2.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 3: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/3.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Developing for Android is...
![Page 4: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/4.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 5: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/5.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 6: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/6.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 7: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/7.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Android architecture Standard Linux Java OpenGL SQLite Networking HTML (WebKit)
Non-standard Lifecycle Dalvik Views and graphics Preferences Power management Google Maps
![Page 8: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/8.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 9: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/9.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 10: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/10.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 11: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/11.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 12: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/12.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 13: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/13.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 14: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/14.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 15: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/15.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
...And more (see the Android Market for lots of examples)
![Page 16: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/16.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 17: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/17.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 18: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/18.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 19: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/19.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Hardware capability
Android iPhone ARM @ 528MHz * ARM @ 412MHz
192MB RAM * 128MB RAM 1GB or more SD card * 8-16GB (not removable)* ~70MB free for apps * ~7GB free for apps *
480x320 24-bit * Same 3D acceleration * None
(Floating point (not on G1)) * Standard * will vary according to model
![Page 20: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/20.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Input methods
Android iPhone Single-touch screen* Multi-touch (up to 5)
Real keyboard * No (Keypad) * Nope (D-pad) * Nada
Trackball * No way Back button No how Menu button Forget about it
* will vary according to model
![Page 21: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/21.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Sensors at maximum
Android iPhone 6-axis accelerometer * Standard
(Proximity sensor) * Standard (Light sensor) * Standard
Compass * None GPS * Standard on 3G *
* will vary according to model
![Page 22: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/22.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
iPhone’s compass
![Page 23: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/23.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Software development
Android iPhone Develop on PC, Mac, Linux Develop on Mac only
Linux on device MacOS derivative Process isolation Application sandbox
Enumerated permissions Unlimited Java Objective C and C
Managed/Interpreted Native/Compiled Garbage collection Pools, ref counts
Background processes Not unless you’re Apple
![Page 24: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/24.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
The connected world
Android iPhone TCP/IP Sockets Same
Web services (REST, JSON) Same I/O in threads Same GMail, Pop3 Exchange, Pop3 SMS/GTalk Pushed notifications
![Page 25: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/25.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Getting into the Market
Android iPhone $25 one time $99 per year Self signed Certs from Apple
Publish on demand Submit for approval and wait Download from web Only download from store Google takes 30% Apple takes 30%
![Page 26: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/26.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 27: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/27.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Android playing catch-up
Android iPhone 1 million devices Mar’09 30 million devices Mar’09
350 apps 25,000 apps Top seller: $50K Top seller: >$1Mil
![Page 28: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/28.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Jobs trendline
![Page 29: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/29.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Median Salary
![Page 30: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/30.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
And the winner is....
![Page 31: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/31.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
![Page 32: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/32.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Creating your first application
Demo!
![Page 33: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/33.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Publishing on the Market
Demo!
![Page 34: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/34.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Resources http://developer.android.com
Home page for Android development and documentation
http://groups.google.com/group/android-beginners Forum for development questions (beginner)
http://groups.google.com/group/android-developers Forum for development questions (advanced)
http://groups.google.com/group/android-discuss Forum for user and other questions
http://www.planetandroid.com Blogs and news from around the Android community
http://blogs.zdnet.com/Burnette ZDNet’s Dev Connection
http://blogs.zdnet.com/Burnette/index.php?cat=39 iPhone vs. Android development series
![Page 35: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/35.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Books
http://pragprog.com/titles/eband Hello, Android: Introducing
Google’s Mobile Development Platform
http://www.oreilly.com/catalog/eclipsepg Eclipse IDE Pocket Guide
http://www.manning.com/gallardo Eclipse in Action
![Page 36: Introduction to Android Development](https://reader034.vdocument.in/reader034/viewer/2022051313/54904de5b479594c358b4728/html5/thumbnails/36.jpg)
3/26/2009 Emerging Technologies for the Enterprise 2009
Questions?