I have an app that continually casts the screen so I can capture images that I run through a tensorflow lite model for object detection. On Android 9 I was able to check a box to remember my decision to start the recording of the screen so when I restart my phone I don't have to intervene to start the service . Now an Android 10 and above they've removed that box and you have to tap it to enable it every single time the phone restarts. How can I Ensure that the screencasting automatically restarts whenever the phone is turned off and turned back on in Android 10 and above. Can I use phone administrator to accomplish this?
Asked
Active
Viewed 132 times
1
adb
connection. May be this would be an alternative to the app you used before. – Robert Dec 01 '20 at 16:37