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 6076829
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:39:08+00:00 2026-05-23T10:39:08+00:00

I just have a normal app with a few activities, and I want Flurry

  • 0

I just have a normal app with a few activities, and I want Flurry to log information as well as crashes. When would be the best time to end the session? Should I do it in onPause, onStop, or onDestroy? In all of them or none?

According to the documentation, onPause and onStop are always called when exiting an app unless the app crashes or is destroyed by the user using a task killer. However, if I do put the end session in onDestroy, it will rarely be called.

Does anyone have any experience with this?

  • 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-05-23T10:39:09+00:00Added an answer on May 23, 2026 at 10:39 am

    Extend the application class and put it in there:

    public class MyApplication extends Application {
    
    @Override
    public void onTerminate() {     
        super.onTerminate();
    
        FlurryAgent.onEndSession(this);
    }
    
    @Override
    public void onCreate() {        
        super.onCreate();
    
        FlurryAgent.onStartSession(this, "123456789abcdefghi");
    
            // assign your global error handler here as well.
    
    
    }
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was just wondering if its normal for an app to a have one
I just started using knockout.js and it works great with normal bidings. I have
I just have a few questions about programmatically adding controls in aspx . After
I just have an XP machine, and i want to play around using CC.NET.
I have created a normal app - initially without cocos2d. Now I need cocos2d
I'm new to computer coding and have just finished coding an app and tested
I've almost finished my app. One of the views uses GLKit. I just have
I have just installed symfony2 and I used this statement php app/console doctrine:schema:create When
At the moment I have two versions of my App: normal and plus When
I have published an app using ClickOnce for about a year with relatively few

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.