Hi. Is it possible to set system time on Android using Qt / Felgo?
The Android comand is “date -s “yyyymmdd.hhmmss” which can be called with QProcess but the permissions won’t be there. IThe Android docs state that the SET_TIME privilege is not for use by third party applications (which explains why requesting that always fails).
I’ve seen solutions where pkexec is used to elevate permissions but that would require us to install a new app and that might not be possible (although certainly looks like the best possible solution at the moment).
Does anyone have any suggestions on the best way to do this if it is possible?