How to Understand Android Kiosk Mode: Difference between revisions

From wizarPOS
No edit summary
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/learn-kiosk-mode}}")
Tag: Replaced
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The system provides the AIDL interface to set kiosk mode, 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.
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/learn-kiosk-mode}}
== Permission ==
The application declares the following permissions in the manifest:
  android.permission.MANAGE_ACTIVITY_STACKS
 
== API Overview ==
=== <big>startLockTaskMode</big>===
  <syntaxhighlight lang="java">boolean startLockTaskMode(int taskId);</syntaxhighlight>
Request to put this activity in a mode where the user is locked to a restricted set of applications.
 
{|class="wizarpostable"
|-
! scope="row" colspan="2" | Parameters
|-
| taskId|| '''int:''' task id.
|}
{|
|-
|}
{|class="wizarpostable"
|-
!  scope="row" colspan="2" | Returns
|-
|  boolean || true:success ; false: failed;
|}
 
== Download ==
=== AIDL===
Please download the [http://ftp.wizarpos.com/advanceSDK/ISystemExtApi.aidl AIDL]
=== Demo ===
Please download the [http://ftp.wizarpos.com/advanceSDK/KioskDemo-One2Two.zip demo]

Latest revision as of 03:22, 8 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/learn-kiosk-mode

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!