|
|
(25 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| Through by poshomesettings.xml, you can config some home settings.
| | {{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/configure-pos-home-settings}} |
| == poshomesettings.xml file description ==
| |
| <syntaxhighlight lang="java">
| |
| <?xml version="1.0" encoding="utf-8"?>
| |
| <desktop
| |
| // UI style, clarity / metro / android, some type of terminal can not support this, please contact support to confirm.
| |
| style="android"
| |
| // Whether exist favorite bar, true: exist.
| |
| favoriteBar="false"
| |
| //
| |
| pageStatus="down"
| |
| //
| |
| indicatorColor="FF3030"
| |
| //
| |
| itemBackground="true"
| |
| // When update, the version and versionCode should larger than the one in the system.
| |
| version="1.0.0"
| |
| versionCode="11" >
| |
|
| |
| // Application config
| |
| <applications
| |
| // How many cols display in one page
| |
| cols="3"
| |
| iconheight="144"
| |
| iconwidth="144"
| |
| // How many rows display in one page
| |
| rows="5" >
| |
| // Some special application you want to define
| |
| <application
| |
| backgroundColor="20A2DE"
| |
| class="com.test.allApp15.AllAppList1"
| |
| col="1"
| |
| package="com.test.allApp15"
| |
| page="3"
| |
| row="1" />
| |
| <application
| |
| backgroundColor="596892"
| |
| class=""
| |
| col="2"
| |
| package="com.UCMobile"
| |
| page="1"
| |
| row="1" />
| |
|
| |
| <application
| |
| backgroundColor="20A2DE"
| |
| class="com.android.stk"
| |
| col="1"
| |
| package="com.android.stk.StkLauncherActivity"
| |
| page="1"
| |
| row="1" />
| |
|
| |
| <application
| |
| backgroundColor="20A2DE"
| |
| class="com.android.stk"
| |
| col="1"
| |
| package="com.android.stk.StkMenuActivity"
| |
| page="1"
| |
| row="2" />
| |
| </applications>
| |
| // Define favorite bar.
| |
| <favoritebar
| |
| cols="3"
| |
| hideBackground="false" >
| |
| <application
| |
| class="com.example.testEditText.FirstActivity"
| |
| col="3"
| |
| package="com.example.testEditText" />
| |
| <application
| |
| class=""
| |
| col="2"
| |
| package="cn.kuwo.player" />
| |
| <application
| |
| class="com.example.realfullscreensample.MainActivity"
| |
| col="1"
| |
| package="com.example.realfullscreensample" />
| |
| </favoritebar>
| |
| // Define hidden application.
| |
| <hiddenapplications >
| |
| <application class="com.android.email.activity.Welcome"/>
| |
| <hiddenapplications />
| |
| </desktop>
| |
| </syntaxhighlight >
| |
| == update process ==
| |
| 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. Or 2) \cloudpos\, the 2) folder is supported in PosSysAssistant app from version 2.11.8, then update process is like install apk or update firmware.
| |