How to Configure System Settings in possystemsettings.xml: Difference between revisions
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||
<!--system language--> <!--time zone--> | <!--system language--> <!--time zone--> | ||
<terminal language = "CHINA" timezone = "Asia/Shanghai"> | <terminal language = "CHINA" timezone = "Asia/Shanghai"> | ||
<!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--> <!--forceopen means enable wifi immediatly--> | <!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--> <!--forceopen means enable wifi immediatly--> | ||
<wifi defaultssid="HuiYin" forceopen="false"/> | <wifi defaultssid="HuiYin" forceopen="false"/> | ||
Line 30: | Line 25: | ||
</apnlist> | </apnlist> | ||
<!--set the autodatetime, autotimezone and 24hour format--> | <!--set the autodatetime(true or false), autotimezone(true or false) and 24hour format(true or false)--> | ||
<datetime autodatetime="true | <datetime autodatetime="true" autotimezone="true" use24format="true"/> | ||
<!--set the auto rotate--> <!--set fone size--> | <!--set the auto rotate(true or false)--> <!--set fone size, small or normal or large or huge--> | ||
<display autorotate="true | <display autorotate="true" fontsize="normal"/> | ||
<!--set the default input method--> | <!--set the default input method--> | ||
<inputmethod inputmethodname="imepkgname"/> | <inputmethod inputmethodname="imepkgname"/> | ||
<!--enable the locate function--> | <!--enable the locate function--> | ||
<!--Location setting element has been supported by PosSysAssistant app from 2.11.20--> | <!--Location setting element has been supported by PosSysAssistant app from 2.11.20--> | ||
<!-- state could be all, internet, gps, off. --> | <!--state could be all, internet, gps, off. --> | ||
<!-- all: Location is on and Mode is High accuracy;--> | <!--all: Location is on and Mode is High accuracy;--> | ||
<!-- internet: Location is on and Mode is Battery saving; --> | <!--internet: Location is on and Mode is Battery saving; --> | ||
<!-- gps: Location is on and Mode is Device only;--> | <!--gps: Location is on and Mode is Device only;--> | ||
<!-- off: Location is off.--> | <!--off: Location is off.--> | ||
<location state="all"/> | <location state="all"/> | ||
</terminal> | </terminal> |
Revision as of 07:14, 22 April 2020
You can configure some system settings in possystemsettings.xml.
possystemsettings.xml file description
<?xml version="1.0" encoding="utf-8"?>
<!--system language--> <!--time zone-->
<terminal language = "CHINA" timezone = "Asia/Shanghai">
<!-- set the default wifi ssid to HuiYin, this ssid should be included in networklist--> <!--forceopen means enable wifi immediatly-->
<wifi defaultssid="HuiYin" forceopen="false"/>
<!-- The pre-defined wifi ssid list-->
<networklist>
<network ssid="HuiYin" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin1" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin2" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="HuiYin3" security="WPA/WPA2_PSK" password="wizarpossystem"/>
<network ssid="test" security="NONE" password="wizarpossystem"/>
</networklist>
<!-- the default apn name, this apn should be included in the apnlist-->
<defaultapn defaultapn="apnName1"/>
<!--the pre-defined apn list-->
<apnlist>
<!--name is the name of the apn item--> <!-- apn, mcc and mnc should be the correct value of local processor-->
<apn name="apnName1" apn="cmnet" mcc="460" mnc="01"/>
<apn name="apnName2" apn="cmwap" mcc="460" mnc="07"/>
</apnlist>
<!--set the autodatetime(true or false), autotimezone(true or false) and 24hour format(true or false)-->
<datetime autodatetime="true" autotimezone="true" use24format="true"/>
<!--set the auto rotate(true or false)--> <!--set fone size, small or normal or large or huge-->
<display autorotate="true" fontsize="normal"/>
<!--set the default input method-->
<inputmethod inputmethodname="imepkgname"/>
<!--enable the locate function-->
<!--Location setting element has been supported by PosSysAssistant app from 2.11.20-->
<!--state could be all, internet, gps, off. -->
<!--all: Location is on and Mode is High accuracy;-->
<!--internet: Location is on and Mode is Battery saving; -->
<!--gps: Location is on and Mode is Device only;-->
<!--off: Location is off.-->
<location state="all"/>
</terminal>
update process
by tf card
Create the folder:
1) \wizarpos\homesettings\homesettings_XXX\, XXX default is wizarpos, please check the kernel version, it includes splash=XXX, this values is same with the splash value.
2) Or \cloudpos\, this requires PosSysAssistant app version > 2.11.8.
Copy the possystemsettings.xml to this folder, then update, the process is like install APK or update firmware.
from wizarview
Config possystemsettings.xml
- Add a new parameter file name in WizarView.
- Click Applications>Application.
- Click + icon in the left bottom of the tool box, popup an edit window.
- In the edit window, write the name and other input area, then select type param.
- Input the package name(com.wizarpos.possys) and parameter file name(possystemsettings.xml).
- Click Commit button.
- Click Search button in the Applications>Application page.
- Select the parameter file name in the list.
- Select config icon in the right bottom of the tool box.
- Select Upload button in the popup window.
- Choose the upload file, then click Commit button.
The parameter file has configured in WizarView now. The pushing process is as same as pushing an app.