Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8233553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T18:10:08+00:00 2026-06-07T18:10:08+00:00

We have an existing app that we want to add Analytics to. This link:

  • 0

We have an existing app that we want to add Analytics to.

This link: https://developers.google.com/analytics/devguides/collection/android/devguide shows how to do so with a single Activity. It mentions that apps with multiple Activities should use the EasyTracker library. Although I couldn’t find any direct documentation, looking through the samples and searching SO suggests that to use EasyTracker, Activities should extends TrackerActivity.

However, we’re using the compatibility library for Fragment support, so most Activities in the App already extend FragmentActivity, and therefore cannot extend TrackerActivity.

Finding this post: Google Analytics in Android app – dealing with multiple activities, the answerer provides an alternative for this situation. When I start to implement the solution posted there, Eclipse gives a warning that the start and stop methods of GoogleAnalyticsTracker have been deprecated.

Unable to find documentation, I assume that start has been replaced with startNewSession, and stopSession should be used instead of stop, but am not sure. Will the solution linked above still work if I make those changes? Is there an alternative approach available for Apps with multiple Activities, that can’t subclass TrackerActivity?

TYIA.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T18:10:10+00:00Added an answer on June 7, 2026 at 6:10 pm

    Turns out the solution linked above does work well, and the deprecated methods can be replaced as per my comment here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing Silverlight 3 app that I want to add Live Mesh
I have been trying to add/implement this example to my existing Split View app
I currently have an app that is live. I want to add a bunch
We have an existing game app that is now defunct and is just sitting
I have an existing web app that has a data layer and a bll
I have a legacy PHP/MySQL app that calls mysql_connect(). Tons of existing downstream code
I have an existing C++ win32 console app. This application contains a main program
Say we have an existing process (or application) that calls a COM object from
In my Django app, models.py, I have this field that I have just recently
I have an existing app that has many, many models. I'd like to log

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.