Android Question System Key Signing

Martin Beukes

Member
Licensed User
Longtime User
Greetings all,

I am developing an app that will run on a specific device. I need to sign with the system key so that the app is able to shut down the device. If at any point other signatures are needed, this will be done on a per device basis.

Is this possible with b4a? How exactly?

Thanks,
Martin
 

Peter Simpson

Expert
Licensed User
Longtime User
What do you mean by system key, do you mean something like an NFC Tag?

If so then yes it's definitely possible as I've done it for one of my clients a couple of years ago, here is the NFC Tag tutorial from Erel.

https://www.b4x.com/android/forum/threads/nfc-reading-and-writing.64451/#content

This is only for NFC Tags and nothing else.

Shutting down the device is another matter, locking the app until the correct details are detected is aa simpl enough task to do though.
 
Upvote 0

Martin Beukes

Member
Licensed User
Longtime User
Signing with the System key makes the app seen as system and so it can directly shut down the device. This is something I seriously need to do. As far as I can find out, even a kiosk app that is device owner can do this.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…