Background: I am developing an app for commercial use, that will be sold with a dedicated device. In other words the customer will buy an android table from us, with a custom rom that restricts the use of the device to our software.
The Problem: It is vital to the operation that the clock in the android device is synced to the server, which means that the app needs to be able to update the time.
The information that I have found so far seems to be sketchy tbh, but this is what I have found:
- I Need the SET_TIME Permission
- To get this I will need to be installed as a System app (I do this by placing the apk in the system/app folder)...
- ...and I will need to sign my application with the same keys that built the system image
- I will need to add android:sharedUserId="android.uid.system" to the manifest
Am I on the right track?