I want to do something when the mobile device closes, but I do not know what the method is; Could you tell me how to detect if the mobile device is disconnected?
I know the android.intent.action.BOOT_COMPLETED mobile phone reboot method, but I can not find the failure.
android
pengwang
source share