How to Set User System Properties: Difference between revisions

From wizarPOS
(Created page with "The system provides the AIDL interface to set the user system property, When connect the service, the package name is com.wizarpos.wizarviewagentassistant, and the class name...")
 
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/set-user-system-properties}}")
Tag: Replaced
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The system provides the AIDL interface to set the user system property, When connect the service, the package name is com.wizarpos.wizarviewagentassistant, and the class name is com.wizarpos.wizarviewagentassistant.SystemExtApiService. When the application uses the interface, it must import wizarviewagentassistant and add permissions to the Android manifest file.
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/set-user-system-properties}}
 
Version of wizarviewagentassistant should equal or larger than 2.10.54.
== Permission ==
The application declares the following permissions in the manifest:
  android.permission.CLOUDPOS_SET_PROP
 
== API Overview ==
=== <big>setUsrProp</big>===
  <syntaxhighlight lang="java">boolean setUsrProp(String key, String value);</syntaxhighlight>
Set custom system property, the system can only support 10 group of key-values.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| key|| '''String:'''  property's key, length less than 16. for example: persist.wp.usr.${key} ${value}.
|-
| value|| '''String:'''  property's value, length less than 32. 
|}
 
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true or false.
|}
== Download ==
=== AIDL file ===
Please download the [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl aidl file]
=== Demo ===
Please download the [http://ftp.wizarpos.com/advanceSDK/sample_setcustomsystemprop.7z demo APP]

Latest revision as of 08:44, 7 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/set-user-system-properties

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!