reader/android: Google Analytics integration for collecting user events

This CL integrates Google Analytics to the project. In order to enable
the GA feature, google-services.json file should be downloaded and put
under android/app directory (instructions: http://goo.gl/8Rd3yj)

The ReaderApplication has two implementations, and only one of them is
conditionally added to the project source sets to avoid breaking build
when the "google-services.json" file does not exist.

The activities are refactored to have a common base class. The base
class performs several initializations needed by all activities used
in the Reader app.

The following events are sent to the Google Analytics server.
 - all the gesture events detected by the GestureDetectors
 - prev/next page button
 - link/unlink page button

Change-Id: I1ad5fab10ee92e3f877028a3ab944250e68b76f2
10 files changed
tree: 4009a953ff62d74e39e441d2695a5968be09ee1c
  1. android/
  2. common/
  3. web/
  4. .gitignore
  5. .jiriignore
  6. AUTHORS
  7. CONTRIBUTING.md
  8. CONTRIBUTORS
  9. LICENSE
  10. Makefile
  11. PATENTS
  12. README.md
  13. VERSION
README.md

Reader

An example multi-device PDF reader built using Vanadium on both the web and Android platforms. The web version requires use of the Vanadium Chrome extension.

All apps exchange information using Syncbase. Details of the various projects can be found in their respective directories.