Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Implementing  Push on Android –  The DroidPush API November 03, 2009 Stefan Alund & Johannes Willig
What this session is about <ul><li>Why Push Delivery? </li></ul><ul><li>Push Basics </li></ul><ul><li>The DroidPush API </...
Why Push Delivery?
Why push delivery ? poll push <ul><li>Transfer content as soon as available </li></ul><ul><li>Save device battery  </li></...
Push efficiency – Why Polling is BAD Battery lifetime [h] 1 test run per configuration on a Sony Ericsson C905 device
Push Basics
Push delivery basics: Push to Poll 0. Subscribe for news Content Server Push Gateway 1.Provide content access 2. Init Push...
Trigger Types & Technology  <ul><li>Trigger types </li></ul><ul><ul><li>TCP / UDP connection </li></ul></ul><ul><ul><li>Sh...
SMS Push Technology  <ul><li>SMS header may contain “app port” field  </li></ul><ul><ul><li>Dedicated range of free usable...
G1 Long Polling „Push“ - GMAIL  <ul><li>GMails are always pushed </li></ul><ul><li>Google Push Mechansim shared by all Goo...
The DROIDPUSH API
droidpuSh Overview DroidPush API
Show me the Code <ul><li>Import the API (jar) </li></ul><ul><li>Setup Manifest for Push Intents </li></ul><ul><li>Implemen...
DEMO
END http://labs.ericsson.com
Push Applications Pushed Dates Push podcasting Active wallpaper Warning! Take cover Emergency alerts
Nächste SlideShare
Wird geladen in …5
×

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

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

  • Loggen Sie sich ein, um Kommentare anzuzeigen.

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

×