How to Change the Terminal's Time Zone Setting

From wizarPOS
Revision as of 01:47, 18 November 2020 by Mahong (talk | contribs)

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 = "Asia/Shanghai">
   </terminal>