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