Walk through adding analytics code to the project.
- [Instructor] Now we are ready to create the ScreenTracker.…Android's application class…provides activity lifecycle callbacks.…And our PowerFailureApp class…already extends the application class.…So we can make use of this by creating a ScreenTracker…that implements those activity lifecycle callbacks.…Let's begin by creating the ScreenTracker class.…So we Right Mouse on trackers, and we create New, Class,…and we name the class ScreenTracker.…
ScreenTracker, as previously mentioned,…will implement the Application.ActivityLifeCycleCallback.…Now again, Android Studio's going to flag this error,…because we haven't yet implemented any…of the Callbacks that are required.…Let's first provide a constructor,…by going Right Mouse, Generate.…And like before, the constructor will take an instance…of AppAnalyticsProvider, as the constructor parameter.…
And we will create our private member…for the AppAnalyticsProvider.…And we will initialize the private member,…with the constructor parameter.…Also, we will need to register this class,…
- Configuring Android Studio
- Getting started with Fabric.io
- Preparing for Fabric.io release
- Deploying to Fabric.io Beta
- Testing beta deployment
- Setting up Fabric.io Answers
- Defining and implementing the analytics model
- Defining interfaces for analytics
- Defining and implementing the analytics trackers
- Implementing the analytics client
- Setting up a Firebase console
- Testing Firebase authentication
- Implementing and verifying remote configuration
Skill Level Intermediate
1. Crash Reporting
2. Crashlytics Beta for Beta Deployment
3. Use Analytics
4. Firebase Authentication
5. Firebase Remote Configuration
Next steps1m 40s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.