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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:30:16+00:00 2026-05-27T07:30:16+00:00

mine code into ApplicationBroadcastService.class file is : public class ApplicationBroadcastService extends BroadcastReceiver{ @Override public

  • 0

mine code into ApplicationBroadcastService.class file is :

public class ApplicationBroadcastService extends BroadcastReceiver{
@Override   
public void onReceive(Context context, Intent intent) {
// TODO Auto-generated method stub
Activity a=new Activity();
Toast.makeText(context, " Uninstall  ", Toast.LENGTH_LONG).show();
ContentValues values = new ContentValues();         
values.put(ContactsContract.Groups._ID, 4444);
a.getContentResolver().delete(ContactsContract.Groups.CONTENT_URI,
values.toString(),null)
}
}

and in menifest.xml code is :

<receiver android:name=".ApplicationBroadcastService">
    <intent-filter>
            <category android:name="android.intent.category.DEFAULT" />
            <action android:name="android.intent.action.PACKAGE_ADDED"  />
            <action android:name="android.intent.action.PACKAGE_CHANGED" />
            <action android:name="android.intent.action.PACKAGE_INSTALL" />
            <action android:name="android.intent.action.PACKAGE_REMOVED" />
            <action android:name="android.intent.action.PACKAGE_REPLACED" />
            <data android:scheme="package" />
    </intent-filter>
</receiver>

but when i am uninstalling the application i do not receive any notification.
actually i want to delete contact group that is created at installation time in the on receive notification.
any suggestion for that?

  • 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-27T07:30:17+00:00Added an answer on May 27, 2026 at 7:30 am

    I Have also done Research on this thing and finally get conclusion that there is no way to get event of uninstallation of particular application within the application . This is a security reason that android do not provide that. But you can get some events in other application which in not being installed.

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

Sidebar

Related Questions

I have the following code in a class of mine. The purpose of this
A friend of mine wants me to convert his code into a doubly linked
I'm currently trying to integrate some animation drawing code of mine into a third
I'm revisiting som old code of mine and have stumbled upon a method for
I'm working with some code (not mine I hasten to add, I don't trust
Got some code that is not mine and its producing this warning atm: iehtmlwin.cpp(264)
A friend of mine sent me this code snippet to celebrate his new baby
A co worker of mine asked me to review some of my code and
Recently a co-worker of mine wrote in some code to catch a null pointer
This question is related to a previous question of mine That's my current code

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.