Sending data to server when android application is

2019-08-03 23:10发布

I would like to notify my server that the user deleted the application. How can I accomplish this?

2条回答
唯我独甜
2楼-- · 2019-08-03 23:27

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.

查看更多
混吃等死
3楼-- · 2019-08-03 23:31

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?

查看更多
登录 后发表回答