2021-11-19 17:37:36 -07:00
|
|
|
# Wasted
|
|
|
|
|
2021-12-17 16:26:43 -07:00
|
|
|
Lock device and wipe data on panic trigger.
|
2021-11-19 17:37:36 -07:00
|
|
|
|
2021-12-16 06:28:36 -07:00
|
|
|
[<img src="https://fdroid.gitlab.io/artwork/badge/get-it-on.png"
|
|
|
|
alt="Get it on F-Droid"
|
|
|
|
height="80">](https://f-droid.org/packages/me.lucky.wasted/)
|
|
|
|
|
2021-12-19 16:12:52 -07:00
|
|
|
<img src="https://user-images.githubusercontent.com/53379023/146694310-41316fdb-b7c7-44e7-b18d-a1f4d0a7bec5.png" width="30%" height="30%">
|
2021-12-16 07:12:59 -07:00
|
|
|
|
2021-12-24 03:37:34 -07:00
|
|
|
You can use [PanicKit](https://guardianproject.info/code/panickit/), Tile or send broadcast message
|
2021-12-19 16:12:52 -07:00
|
|
|
with authentication code. On trigger, using
|
2021-12-16 07:12:59 -07:00
|
|
|
[Device Administration API](https://developer.android.com/guide/topics/admin/device-admin), it
|
2021-12-24 06:15:08 -07:00
|
|
|
locks device and (optionally) runs wipe.
|
2021-12-16 07:12:59 -07:00
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
Broadcast message:
|
|
|
|
```sh
|
|
|
|
$ adb shell am broadcast \
|
2021-12-17 16:26:43 -07:00
|
|
|
-a me.lucky.wasted.action.TRIGGER \
|
|
|
|
-n me.lucky.wasted/.CodeReceiver \
|
2021-12-16 07:12:59 -07:00
|
|
|
-e code "b49a6576-0c27-4f03-b96b-da53501022ba"
|
|
|
|
```
|
|
|
|
|
2021-11-20 22:37:15 -07:00
|
|
|
## License
|
2021-11-20 22:30:09 -07:00
|
|
|
[![GNU GPLv3 Image](https://www.gnu.org/graphics/gplv3-127x51.png)](http://www.gnu.org/licenses/gpl-3.0.en.html)
|
|
|
|
|
|
|
|
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
|
2021-11-21 22:18:38 -07:00
|
|
|
[GNU General Public License v3](https://www.gnu.org/licenses/gpl.html) as
|
|
|
|
published by the Free Software Foundation.
|