12. Android Platform crew
Account Manager manages user credentials
Sync Manager keeps data up to date
Content Provider stores structured data
Loaders make data available
22. Synchronization Strategy Selection
● On demand
○ E.g. User press button ‘refresh’
● Regular interval
○ E.g. Each hour
● When network connection available
○ E.g. Sync automatically when connected
● When device data changes
○ E.g. Every time my database changes
● When server data changes
○ E.g. Every push message received
39. Server side
PLAIN API
POST api/v1/account/new/ Creates new account and returns auth_token
POST api/v1/account/login/ Validates username & password tuple and returns auth_token
AUTHORIZED API
GET api/v1/spots/ Returns spots on the database
→ auth_token
→ position
→ limit