Sending Data To Server When Android Application Is Unistalled
I would like to notify my server that the user deleted the application. How can I accomplish this?
Solution 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?
Solution 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.
Post a Comment for "Sending Data To Server When Android Application Is Unistalled"