Android Development Overview
Upcoming SlideShare
Loading in...5

Android Development Overview






Total Views
Views on SlideShare
Embed Views



0 Embeds 0

No embeds



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.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
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 : //
      • 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:
      • YouTube:
      • Google API Periodic Table:  
      • APIs: YouTube, Flickr, USATODAY, NYT
      • USATODAY:
      • NYT:
      • YouTube:
      • Flickr:
  • Sample JSON feeds
  • Chrome Plugins
      • JSON View:
      •   XML Tree:
  • Resources
  • Questions