Android chat app in the cloud
summary
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
chapters (22)
- 0:00Start
- 3:37Forget about the backend!
- 4:13Use Google Cloud Platform + Mobile Backend Starter
- 5:18Create your backend
- 6:38Download Android app source code
- 7:43Google Cloud Endpoints: generate APIs from annotations
- 9:18Set Open authentication in the backend
- 10:18Access to RESTful APIs, no authentication
- 14:43Authenticated access to the APIs
- 16:28Generate Android Clienti
- 17:25Set Android and Web Client is in the backend
- 18:53The Android client provides credentials!
- 23:49Google Cloud Messaging for Android
- 25:09Enable GCM in the project
- 25:48Enable GCM in the backend
- 26:26A look into GCM client code
- 27:24Create a BroadcastReceiver to receive push messages
- 28:50Handle the message with a Service
- 30:22Cloud Backend ASync extends Cloud Backend
- 33:00Activity lifecycle you can do better
- 33:41Activity lifecycle (you can do better)
- 35:26Extends the data
related talks
40mFrom Nothing to Nirvana in Minutes: Cloud Backend for Your Android Application
42mDevelop Mobile Apps without Infrastructure
19mFull Stack in a Weekend
47mKotlin on Client and Server
33mMobile Backend Starter
40mEasy, Scalable Backends for Android Developers
29mSHARING A SUCCESS STORY: A LOW COST, CUSTOMER DRIVE AND CO-DEVELOPED ANDROID EMM
48mEasy, scalable backends for Android developers
