android - App killed event in BroadcastReceiver -


in service, need when running app being killed using command killall com.test.test. listening events when app being uninstalled, cannot find such event killed processes. exist? current code looks this:

intentfilter packagefilter = new intentfilter(); packagefilter.adddatascheme("package"); packagefilter.addaction(intent.action_package_removed); packagefilter.addaction(intent.action_package_fully_removed); registerreceiver(new broadcastreceiver() {   @override   public void onreceive(context context, intent intent) {     log.d("app", "onreceive");   } }, packagefilter); 


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -