java - How some apps track their own uninstall on android -


i found 360 security app after uninstall open page in browser. can on android versions (4, 5 , 6) , don't understand how. maybe have ideas? know same questions here , here , others still have no answers.

it's not bug inotify framework because works on 4-th android. there no other processes listen same bug in new way, checked. had magic in lib "eternity.so"

the app can specify broadcastreceiver action:

"android.intent.action.package_removed"  

it called each time package removed, if app's own package. then, in receiver, app can check package removed , react accordingly.

please mind different versions of system may treat differently, giving receiver varying amounts of time before app's process shut down. performed action should therefore quick , aimed on external target, sending action_view intent webpage url inside mentioned :-)


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -