How to Change the Terminal's Time Zone Setting: Difference between revisions
No edit summary |
m (Jeff moved page How to change timezone to How to change the terminal time zone) |
(No difference)
|
Revision as of 09:20, 24 March 2020
By auto update
Insert a SIM card, after it connect to network, the time zone will be auto updated.
By manual
Go to menu Settings, At Q2/K2, Click on top right,you will see the whole menu, Click Date & time, close "Automatic time zone" ,and then you can click "Select time zone", to set your timezone.
By API
Snippet code:
AlarmManager mAlarmManager = (AlarmManager)getSystemService(Context.ALARM_SERVICE);mAlarmManager.setTimeZone("GMT+08:00");
and add permission "<uses-permission android:name="android.permission.SET_TIME_ZONE" />" at manifest file.
By TF Card
Write an XML file, named is possystemsettings.xml, put it the the folder \cloudpos\ of TF Card, the process is same with using TF Card to install APK and update firmware.
<?xml version="1.0" encoding="utf-8"?> // change the timezone value. <terminal timezone = "GMT+08:00"> </terminal>