Android Development Overview
Upcoming SlideShare
Loading in...5
×
 

Android Development Overview

on

  • 301 views

 

Statistics

Views

Total Views
301
Views on SlideShare
301
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Android Development Overview Android Development Overview Presentation Transcript

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