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

The Archive Base Latest Questions

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

AFAIK there is absolutely no way to detect the moment when app gets uninstalled.

  • 0

AFAIK there is absolutely no way to detect the moment when app gets uninstalled.

I am currently writing an app which should among else toggle on/off 3G data. It went ok before 2.3 with ITelephony reflection calls, but from Android 2.3 this is not possible.

So I had to resort to APNDroid-style way of adding suffixes to APNs in content://telephony/carriers. This seems to work, but I stumble on the same problem as APNDroid has: since we can’t detect when the app is removed, all the suffixes will remain if the user first turns off 3G with the app and then uninstalls the app.

This is an ugly and dangerous solution, because the end user may be left with all APNs broken.

It’s possible to detect uninstallation from another application, but how would one force the user to install another application to just monitor the first one? It seems there is no way from 2.3 on to write a 3G-managing app.

Any ideas?

  • 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-23T12:51:31+00:00Added an answer on May 23, 2026 at 12:51 pm

    AFAIK there is absolutely no way to detect the moment when app gets uninstalled.

    Correct.

    I am currently writing an app which should among else toggle on/off 3G data. It went ok before 2.3 with ITelephony reflection calls, but from Android 2.3 this is not possible.

    Which means that you should not be implementing the app as an SDK application. You should have not implemented the app using “ITelephony reflection calls”, either.

    This is an ugly and dangerous solution, because the end user may be left with all APNs broken.

    Which means that you should not be implementing the app as an SDK application.

    how would one force the user to install another application to just monitor the first one?

    You can’t.

    It seems there is no way from 2.3 on to write a 3G-managing app.

    Correct.

    You are welcome to try to contribute changes to the AOSP Settings application, or create a new firmware application, that offers the features you seek.

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

Sidebar

Related Questions

I'm getting a loss of precision error when there should be none, AFAIK. this
I’m writing a script to change the UUID of an NTFS partition (AFAIK, there
is there any way to make IIS language as English? my OS is currently
AFAIK, extern keyword should be used for declaration and no value can be associated
I'm wondering how one can do that. Afaik there is BeanFactoryPostProcessor interface that let
Is there a simpler way of reordering methods within a class source file in
AFAIK, there is no dedicated element--like <caption> for tables, <figcaption> for figures, etc.--to mark
dc is the Unix standard desktop calculator. AFAIK, there are different implementations (like Solaris
AFAIK there is no DOS in vista and windows 7, but I need to
How do I accumulate values in T-SQL? AFAIK there is no ARRAY type. I

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.