Launcher

This example shows the use of Kanzi AppView plugin with the Kanzi Android framework (droidfw) as an application launcher.

You can find the example in the <KanziWorkspace>/Engine/plugins/appview/examples/Launcher.

Running the example

To run the example:

  1. In Android Studio, open Launcher/Application/configs/platform/android_gradle.

  2. To build and install the application to target, click Run.

  3. When the application starts, click the Android application that you want to run in Kanzi AppView.

The example shows a list of applications installed on the device. Some applications are more suitable for use with Kanzi AppView than others.

In the Application/configs/platform/android_gradle, the file platform.keystore contains the default AOSP system key. The credentials needed for accessing the keystore are set in the app/build.gradle file.

Limitations

  • An application that launches a new task can escape from Kanzi AppView to full screen.

  • An application, that starts an activity and in ActivityOptions.setLaunchDisplayId sets the main display, escapes from Kanzi AppView to the main display.