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

  • Home
  • SEARCH
  • 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 7636033
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T07:34:23+00:00 2026-05-31T07:34:23+00:00

My application is basically one Activity that I quit by calling this.finish(); System.exit(0); where

  • 0

My application is basically one Activity that I quit by calling

this.finish();
System.exit(0);

where this is the main activity. Now after the program shuts down, I go to settings -> Applications -> my app and on Gingerbread, I see the program has finished. But on both Honeycomb and ICS the button “Force Close” is active.

Also if I now try to restart my program, on both ICS and Honeycomb the program crashes on start.

edit:

Ok, the restart problem seems to be caused by Mobclix adview throwing this:

ERROR/webcoreglue(31958): *** Uncaught exception returned from Java call!
WARN/System.err(31958): java.lang.IllegalStateException: Call CookieSyncManager::createInstance() or create a webview before using this class
WARN/System.err(31958): at android.webkit.JniUtil.checkInitialized(JniUtil.java:45)
WARN/System.err(31958): at android.webkit.JniUtil.getDatabaseDirectory(JniUtil.java:66)
WARN/System.err(31958): at android.webkit.CookieManager.nativeSetAcceptCookie(Native Method)
WARN/System.err(31958): at android.webkit.CookieManager.setAcceptCookie(CookieManager.java:287)
WARN/System.err(31958): at com.mobclix.android.sdk.MobclixFullScreenAdView.initialize(MobclixFullScreenAdView.java:219)
WARN/System.err(31958): at com.mobclix.android.sdk.MobclixFullScreenAdView.<init>(MobclixFullScreenAdView.java:37)

So it’s possible that my problem is some cleanup I need to do with mobclix lib when finishing my app?

edit2: Ok, the mobclix problem was a known issue in the lib.

  • 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-31T07:34:24+00:00Added an answer on May 31, 2026 at 7:34 am

    You should never ever call System.exit(0), it’s not what Android application should do.

    Under the hook, Android OS may not necessarily destroy the process that the application resides in, to facilitate faster application restart, changes to the policy on how finished applications are kept probably generates the difference you see between Honeycomb/ICS and Gingerbread.

    In any case, remove System.exit(0) and you should be fine 🙂

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

Sidebar

Related Questions

I want to monitor mobile application, basically one page application. To do this I
I have an ASP.NET application. Basically the delivery process is this one : Nant
I've written a console application that basically fires one BackgroundWorker that supports ReportProgress and
I have an MFC application. It is basically just copying files from one drive
I am creating an application that basically places a drawable into an imageView onClick.
So I am writing a javascript application, and basically if one number is greater
I have just made my first proper little desktop GUI application that basically wraps
I am working on one application which basically is an auto-start application and runs
I have a c# .net 2.0 winforms application which consists basically of one form
I have .NET WPF application and one of requirement is that user may select

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.