From browsing StackOverflow I understand how an app gets root privileges (the "su" command) but does the app need root access to do the following commands?
- Turn Bluetooth On/Off
- Turn WiFi On/Off
- Turn Mobile Data On/Off
The reason I ask is that for a unit of my studies, I am wanting to create a basic AI using either text input or the google api for speech recognition. I would like it to be able to control phone functions to make a true "assistant in your pocket". Code samples will be useful but a simple text explanation will be more than sufficient.
I apologize if this has been asked before but searching didn't find my question.
Many Thanks in Advance, James