~/talk

Android chat app in the cloud

Talkat Codemotion Roma 2014 · 2014-04-09..04-12· [android, cloud-infrastructure]
links:none on file
slides:none on file

Builds a working Android chat client and deploys a backend with App Engine + Cloud Endpoints and Cloud Datastore using the Mobile Backend Starter wizard; generates client libraries, sets Android and web client IDs for OAuth, and enables push via Google Cloud Messaging v2. The demo shows device registration IDs, a broadcast receiver + wakeful service to handle notifications, an async handler/callback pattern with a retained fragment for lifecycle, and claims the setup scales 1 to 1,000,000 users and deploys successfully.

AI-written summary · about

  1. 0:00Start
  2. 3:37Forget about the backend!
  3. 4:13Use Google Cloud Platform + Mobile Backend Starter
  4. 5:18Create your backend
  5. 6:38Download Android app source code
  6. 7:43Google Cloud Endpoints: generate APIs from annotations
  7. 9:18Set Open authentication in the backend
  8. 10:18Access to RESTful APIs, no authentication
  9. 14:43Authenticated access to the APIs
  10. 16:28Generate Android Clienti
  11. 17:25Set Android and Web Client is in the backend
  12. 18:53The Android client provides credentials!
  13. 23:49Google Cloud Messaging for Android
  14. 25:09Enable GCM in the project
  15. 25:48Enable GCM in the backend
  16. 26:26A look into GCM client code
  17. 27:24Create a BroadcastReceiver to receive push messages
  18. 28:50Handle the message with a Service
  19. 30:22Cloud Backend ASync extends Cloud Backend
  20. 33:00Activity lifecycle you can do better
  21. 33:41Activity lifecycle (you can do better)
  22. 35:26Extends the data
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.