问题
I would like to notify my server that the user deleted the application. How can I accomplish this?
回答1:
Get application uninstall event in android
According to this post what you ask for is not possible. Are you by any chance using a C2DM implementation?
回答2:
Unfortunately there is currently no way for an Android package to execute code when it is removed. However, you can register a BroadcastReceiver for ACTION_PACKAGE_REMOVED in a different package that will be called when packages are removed from the phone.
Also see this question.
来源:https://stackoverflow.com/questions/6779813/sending-data-to-server-when-android-application-is-unistalled