How to Set User System Properties: Difference between revisions

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/set-user-system-properties}}")
Tag: Replaced
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== System Interface ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/firmware/set-user-system-properties}}
* AIDL Interface: The system provides an AIDL interface for setting user system properties.
* '''Service Connection:'''
** '''Package Name''': ''''com.wizarpos.wizarviewagentassistant''''
** '''Class Name''': ''''com.wizarpos.wizarviewagentassistant.SystemExtApiService''''
* '''Version Requirement:''' Ensure ''''wizarviewagentassistant'''' is version 2.10.54 or higher.
== Permissions ==
* '''Manifest Declaration:''' Applications must declare ''''android.permission.CLOUDPOS_SET_PROP'''' in their Android manifest file.
== API Usage ==
* Function: ''''setUsrProp''''
** Prototype: ''''boolean setUsrProp(String key, String value)'''';
** Purpose: Sets custom system properties. Note that the system supports up to 10 groups of key-value pairs.
{|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.
|}
== Resources ==
# '''AIDL File:'''
#* Download the required [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL file] for implementation.
# '''Demo Application:'''
#* Download the [http://ftp.wizarpos.com/advanceSDK/sample_setcustomsystemprop.7z Demo APP] for practical reference and guidance.

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!