TODOs: 2.1.5 High-level API and Restore Sharing

Major changes:
- Uses the high-level API in a synchronous manner.
- Restores the Sharing assets.
- Sharing was tested, watch was tested.
- Login helper is being used.
- Ensure lollipop is ok by adding permissions to Manifest.

Notes:
- Still crashes randomly. Callbacks have a problem.
- Discovery isn't that great. Sometimes some peers don't see others.
- There are a lot of TODOs needed still! The HLAPI has some
  catching up to do before I can finish them.

I would prefer to submit this bulk change sooner rather than later
though, or else it'll just get larger and larger.

Change-Id: Id8a8216fc5196cfcd37604829c07469bb5b16f94
24 files changed
tree: 885d900be71d5f173b31cab7f89a20ff2caee254
  1. app/
  2. gradle/
  3. .gitignore
  4. .jshintignore
  5. .jshintrc
  6. AUTHORS
  7. build.gradle
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. gradle.properties
  11. gradlew
  12. gradlew.bat
  13. LICENSE
  14. PATENTS
  15. README.md
  16. settings.gradle
  17. VERSION
README.md

TODOs demo: Syncbase and Firebase

This is a TODOs application for Android which uses either Firebase or Syncbase as a persistence layer.

Building & running

Switching between persistence layers

To switch between Firebase and Syncbase use: Build -> Select Build Variant and choose between the various options (e.g., firebaseDebug, syncbaseDebug etc.)

Firebase

The firebase app is at https://vivid-heat-7354.firebaseio.com/. Ross Wang and Alex Fandrianto manage the administration of the database.

WARNING: There is no authentication required in this demo, and the TODO list is global, accessible to all. In a real TODOs app this would not be the case of course. In the mean time, don't put anything sensitive there!