é€é GCM...

download é€é GCM ¯¦½œè·¨è£‌置資–™Œ­¥

of 24

  • date post

    28-Nov-2014
  • Category

    Technology

  • view

    1.296
  • download

    4

Embed Size (px)

description

2013.07.25 @Android Taipei

Transcript of é€é GCM...

  • 1. Rogery! Android Team Leader! GCM @Android Taipei
  • 2. Rogery & KKBOX Android Team Concept & Idea Implement Demo Q & A Agenda
  • 3. Android 1.0 KKBOX Android KKBOX Android Team Leader http://youtu.be/IwsNKobAkS0 Rogery
  • 4. KKBOX Android, KKBOX Music Store, UtaPass Handset, Tablet, STB 1 11 KKBOX Android Team
  • 5. Concept & Idea
  • 6. GCM Google Cloud Message Android Google IO 2012 C2DM (Cloud to Device Messaging)
  • 7. KKBOX use GCM Push NoPcaPon:
  • 8. Concept & Idea
  • 9. Google IO 2013 StopWatch Demo
  • 10. Concept & Idea
  • 11. Concept & Idea Think: KKBOX
  • 12. Concept & Idea ?!
  • 13. Polling vs Pushing Polling: Server KKBOX Server
  • 14. Polling vs Pushing Pushing: Server Server Loading
  • 15. Implement
  • 16. POC KKGCMSyncServer (Google App Engine) KKGCMSyncClient
  • 17. Registration (1) (2) (3) 1. register GCM - ref.1 2. return GCM registraPon ID - ref.1 ref.2 3. put registracPon ID to server - ref.3
  • 18. Push & Sync (2) (3) (1) 1. push change to server - ref.1 ref.2 2. send sync message to GCM - ref.3 3. client receive sync message from GCM - ref.4 4. pull change from server - ref.5 5. return change to client - ref.6 (4) (5)
  • 19. Demo 1 POC: GCMSyncList
  • 20. Demo 2 KKBOX GCM Sync
  • 21. Demo Source KKGCMSyncServer GitHub - https://github.com/rogery/KKGCMSyncServer KKGCMSyncClient GtiHub - https://github.com/rogery/KKGCMSyncClient
  • 22. References C2DM - https://developers.google.com/android/c2dm/ GeYng Started with GCM Android Developer - http://developer.android.com/google/gcm/gs.html Google Cloud Messaging for Android Google I/O 2012 - https://developers.google.com/events/io/2012/sessions/gooio2012/100/ StopWatch Demo Google I/O 2013 - http://bradabrams.com/2013/06/google-io-2013-demo-android-studio- cloud-endpoints-synchronized-stopwatch-demo/
  • 23. Thank You rogeryyang@kkbox.com Rogery Yang (Rogery)