hi i think you need to have another package to listen to your application see the code in PackageManagerService.java
it should be deletePackageX(String packageName, boolean sendBroadCast, boolean deleteCodeAndResources, int flags) the apk is removed first then the intent is broadcasted there's no chance your application will receive the intent first thanks On Oct 15, 7:22 pm, Sagar <[email protected]> wrote: > Hello everyone, > > I want to listen to package removed intent of my application. I mean > my application should get notified when it is being removed so that i > can do something in receiver. So is it possible? > Actually I want to write into a file the time when my app was removed. > When does package removed intent gets called ? can my broadcast > receiver write into file when my application before being installed? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

