USB connection trigger.
Tiny app to listen for USB connection events while the device is locked.
When found, it will send a broadcast message.
It must not trigger on charger. Only on device and accessory.
- action:
me.lucky.wasted.action.TRIGGER
- receiver:
me.lucky.wasted/.TriggerReceiver
- secret: the code from Wasted
Do not forget to activate the Broadcast
trigger in Wasted.
- FOREGROUND_SERVICE - receive usb state events
- RECEIVE_BOOT_COMPLETED - persist service across reboots
This application is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License v3 as published by the Free Software Foundation.