Android Development Igor Birman
Why Android? <ul><ul><li>300,000+ Android phones sold every day (pre Feb 10). </li></ul></ul><ul><ul><li>Eclipse + Java de...
Why Mobile? <ul><ul><li>Mobile traffic will soon beat web traffic </li></ul></ul><ul><ul><li>Smart phones growing dramatic...
Android Features <ul><ul><li>Application framework  enabling reuse and replacement of components </li></ul></ul><ul><ul><l...
Application Framework <ul><ul><li>Views: Lists, grids, text boxes, buttons, etc. </li></ul></ul><ul><ul><li>Content Provid...
Steps to set up development environment <ul><ul><li>Install Eclipse + JDK </li></ul></ul><ul><ul><li>Download Android SDK ...
Android Emulator <ul><ul><li>Does NOT run quickly; need a fast processor (QEMU/single core) </li></ul></ul><ul><ul><li>Dif...
Hello Android <ul><ul><li>Find imports: ctrl-shift-o </li></ul></ul><ul><ul><li>Major components: Class, Strings, Layout <...
Testing/Deployment Options <ul><ul><li>Test on emulator </li></ul></ul><ul><ul><li>Debug Mode </li></ul></ul><ul><ul><li>T...
API Demos <ul><ul><li>Included with ADT </li></ul></ul><ul><ul><li>Great resource.. </li></ul></ul>
RSS Reader <ul><ul><li>Use ListView instead of TextView </li></ul></ul><ul><ul><li>Get Internet Permissions </li></ul></ul...
APIs
Where to get data? <ul><ul><li>NOVALUG:  http://novalug.com/rss.xml </li></ul></ul><ul><ul><li>YouTube:  http://gdata.yout...
Sample JSON feeds <ul><ul><li>http://api.geonames.org/citiesJSON?north=44.1&south=-9.9&east=-22.4&west=55.2&lang=de&userna...
Chrome Plugins <ul><ul><li>JSON View:  https://chrome.google.com/extensions/detail/chklaanhfefbnpoihckbnefhakgolnmc </li><...
Resources <ul><ul><li>http://developer.android.com/index.html </li></ul></ul><ul><ul><li>http://www.ibm.com/developerworks...
Questions <ul><li>  </li></ul>
Upcoming SlideShare
Loading in...5
×

Android Development Overview

267

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
267
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Android Development Overview

  1. 1. Android Development Igor Birman
  2. 2. Why Android? <ul><ul><li>300,000+ Android phones sold every day (pre Feb 10). </li></ul></ul><ul><ul><li>Eclipse + Java development on multiple platforms - Linux, Windows, OS X </li></ul></ul><ul><ul><li>100,000 apps available now </li></ul></ul><ul><ul><li>Tablet OS (Honeycomb) is available now </li></ul></ul>
  3. 3. Why Mobile? <ul><ul><li>Mobile traffic will soon beat web traffic </li></ul></ul><ul><ul><li>Smart phones growing dramatically </li></ul></ul><ul><ul><li>The number of different tablet devices is exploding </li></ul></ul>
  4. 4. Android Features <ul><ul><li>Application framework  enabling reuse and replacement of components </li></ul></ul><ul><ul><li>Dalvik virtual machine  optimized for mobile devices </li></ul></ul><ul><ul><li>Integrated browser  based on the open source  WebKit  engine </li></ul></ul><ul><ul><li>Optimized graphics  powered by a custom 2D graphics library; 3D graphics based on the OpenGL ES 1.0 specification (hardware acceleration optional) </li></ul></ul><ul><ul><li>SQLite  for structured data storage </li></ul></ul><ul><ul><li>Media support  for common audio, video, and still image formats (MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, GIF) </li></ul></ul><ul><ul><li>GSM Telephony  (hardware dependent) </li></ul></ul><ul><ul><li>Bluetooth, EDGE, 3G, and WiFi  (hardware dependent) </li></ul></ul><ul><ul><li>Camera, GPS, compass, and accelerometer  (hardware dependent) </li></ul></ul><ul><ul><li>Rich development environment  including a device emulator, tools for debugging, memory and performance profiling, and a plugin for the Eclipse IDE </li></ul></ul>
  5. 5. Application Framework <ul><ul><li>Views: Lists, grids, text boxes, buttons, etc. </li></ul></ul><ul><ul><li>Content Providers </li></ul></ul><ul><ul><li>Resource Manager </li></ul></ul><ul><ul><li>Notification Manager </li></ul></ul><ul><ul><li>Activity Manager  </li></ul></ul>
  6. 6. Steps to set up development environment <ul><ul><li>Install Eclipse + JDK </li></ul></ul><ul><ul><li>Download Android SDK to a folder </li></ul></ul><ul><ul><li>Install ADT Plugin help->install-> https : //dl-ssl.google.com/android/eclipse/ </li></ul></ul><ul><ul><li>Set up SDK </li></ul></ul><ul><ul><li>Create a Virtual Device (AVD) </li></ul></ul><ul><ul><li>Build &quot;Hello Android&quot; </li></ul></ul>
  7. 7. Android Emulator <ul><ul><li>Does NOT run quickly; need a fast processor (QEMU/single core) </li></ul></ul><ul><ul><li>Different emulators for different platforms (phone, tablet, etc) </li></ul></ul><ul><ul><li>Ctrl-F12 to change orientation </li></ul></ul>
  8. 8. Hello Android <ul><ul><li>Find imports: ctrl-shift-o </li></ul></ul><ul><ul><li>Major components: Class, Strings, Layout </li></ul></ul><ul><ul><li>Text View </li></ul></ul><ul><ul><li>Text Size </li></ul></ul>TextView tv = new TextView ( this ); tv.setText(R.string.hello); tv.setTextSize(100); setContentView ( tv );
  9. 9. Testing/Deployment Options <ul><ul><li>Test on emulator </li></ul></ul><ul><ul><li>Debug Mode </li></ul></ul><ul><ul><li>Test on attached Android Device </li></ul></ul><ul><ul><li>Save &quot;.apk&quot; file </li></ul></ul><ul><ul><li>Send .apk via gmail </li></ul></ul>
  10. 10. API Demos <ul><ul><li>Included with ADT </li></ul></ul><ul><ul><li>Great resource.. </li></ul></ul>
  11. 11. RSS Reader <ul><ul><li>Use ListView instead of TextView </li></ul></ul><ul><ul><li>Get Internet Permissions </li></ul></ul><ul><ul><li>Borrow Code: getHTTP </li></ul></ul>
  12. 12. APIs
  13. 13. Where to get data? <ul><ul><li>NOVALUG: http://novalug.com/rss.xml </li></ul></ul><ul><ul><li>YouTube: http://gdata.youtube.com/feeds/api/videos?q=skateboarding+dog&max-results=2 </li></ul></ul><ul><ul><li>Google API Periodic Table:  http://code.google.com/more/table/   </li></ul></ul><ul><ul><li>APIs: YouTube, Flickr, USATODAY, NYT </li></ul></ul><ul><ul><li>USATODAY:  http://developer.usatoday.com/ </li></ul></ul><ul><ul><li>NYT:  http://developer.nytimes.com/docs </li></ul></ul><ul><ul><li>YouTube:  http://www.youtube.com/dev </li></ul></ul><ul><ul><li>Flickr:  http://www.flickr.com/services/api/ </li></ul></ul>
  14. 14. Sample JSON feeds <ul><ul><li>http://api.geonames.org/citiesJSON?north=44.1&south=-9.9&east=-22.4&west=55.2&lang=de&username=demo </li></ul></ul><ul><ul><li>  http://api.usatoday.com/weather/twc/20170/json?api_key=dsh4p4bhg69kp9ad2sm3jdry </li></ul></ul>
  15. 15. Chrome Plugins <ul><ul><li>JSON View:  https://chrome.google.com/extensions/detail/chklaanhfefbnpoihckbnefhakgolnmc </li></ul></ul><ul><ul><li>  XML Tree:  https://chrome.google.com/extensions/detail/gbammbheopgpmaagmckhpjbfgdfkpadb </li></ul></ul>
  16. 16. Resources <ul><ul><li>http://developer.android.com/index.html </li></ul></ul><ul><ul><li>http://www.ibm.com/developerworks/opensource/library/x-android/index.html </li></ul></ul><ul><ul><li>http://androidcore.com/ </li></ul></ul><ul><ul><li>http://androidtutorials.org/ </li></ul></ul>
  17. 17. Questions <ul><li>  </li></ul>
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×