Successfully reported this slideshow.
Your SlideShare is downloading. ×

An early look at DroidPush API - a push API for Android

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Loading in …3
×

Check these out next

1 of 16 Ad

An early look at DroidPush API - a push API for Android

Download to read offline

An early preview look at the DroidPush API hosted on Ericsson Labs. The DroidPush API uses SMS technology to start up Android applications.

An early preview look at the DroidPush API hosted on Ericsson Labs. The DroidPush API uses SMS technology to start up Android applications.

Advertisement
Advertisement

More Related Content

Similar to An early look at DroidPush API - a push API for Android (20)

Recently uploaded (20)

Advertisement

An early look at DroidPush API - a push API for Android

  1. Implementing Push on Android – The DroidPush API November 03, 2009 Stefan Alund & Johannes Willig
  2. What this session is about <ul><li>Why Push Delivery? </li></ul><ul><li>Push Basics </li></ul><ul><li>The DroidPush API </li></ul><ul><li>Demo </li></ul><ul><li>Discussion </li></ul>
  3. Why Push Delivery?
  4. Why push delivery ? poll push <ul><li>Transfer content as soon as available </li></ul><ul><li>Save device battery </li></ul><ul><li>Reduce data traffic for user </li></ul>push push <ul><li>Transfer content as soon as available </li></ul><ul><li>Save device battery </li></ul><ul><li>Reduce data traffic for user </li></ul><ul><li>Transfer content as soon as available </li></ul><ul><li>Save device battery </li></ul><ul><li>Reduce data traffic for user </li></ul>
  5. Push efficiency – Why Polling is BAD Battery lifetime [h] 1 test run per configuration on a Sony Ericsson C905 device
  6. Push Basics
  7. Push delivery basics: Push to Poll 0. Subscribe for news Content Server Push Gateway 1.Provide content access 2. Init Push delivery 3. Deliver Push Trigger 4.Request Content 5.Deliver Content
  8. Trigger Types & Technology <ul><li>Trigger types </li></ul><ul><ul><li>TCP / UDP connection </li></ul></ul><ul><ul><li>Short Message Service </li></ul></ul><ul><li>Push frameworks </li></ul><ul><ul><li>MIDP 2.0 Push Registry / WMA </li></ul></ul><ul><ul><li>OMA WAP Push </li></ul></ul><ul><ul><li>Apple Push Notifications </li></ul></ul><ul><ul><li>RIM: Hosted Data Push Service </li></ul></ul><ul><ul><li>Google Push (Android) </li></ul></ul><ul><ul><li>MQTT Push (Android et.al.) </li></ul></ul>
  9. SMS Push Technology <ul><li>SMS header may contain “app port” field </li></ul><ul><ul><li>Dedicated range of free usable port numbers </li></ul></ul><ul><ul><li>Port handling not yet supported in Android (1.6) </li></ul></ul><ul><li>Mobile applications can register to a SMS application port </li></ul><ul><ul><li>App is automatically started at SMS reception with this port </li></ul></ul><ul><ul><li>SMS content is passed to application for further usage </li></ul></ul><ul><li>SMS contains link to content (push to poll) </li></ul>
  10. G1 Long Polling „Push“ - GMAIL <ul><li>GMails are always pushed </li></ul><ul><li>Google Push Mechansim shared by all Google apps </li></ul><ul><li>Long-lived TCP connection („push channel“) used </li></ul><ul><li>Upon mail reception, notification is sent through push channel </li></ul>
  11. The DROIDPUSH API
  12. droidpuSh Overview DroidPush API
  13. Show me the Code <ul><li>Import the API (jar) </li></ul><ul><li>Setup Manifest for Push Intents </li></ul><ul><li>Implement your BroadcastReceiver </li></ul><ul><li>Start to Push </li></ul>
  14. DEMO
  15. END http://labs.ericsson.com
  16. Push Applications Pushed Dates Push podcasting Active wallpaper Warning! Take cover Emergency alerts

Editor's Notes

  • Where we are from Remarks on our Background
  • Implementation and protocols may vary from system to system and from platform to platform
  • Sample Google apps: GMail Google Talk Google Synch Additional socket is opened for downloading the mail Idle behaviour similar to startup phase First server-initiated, then client-initiated (every 1683 seconds) Bandwidth usage: nothing unusual observed Immediacy: No delay noticable

×