Home App Management

SetHomeKeyApp

Set the target app/activity for the Home key event(long press back).

public static void SetHomeKeyApp(string packageName, string activityName)

Parameter

Description

packageName

App package name

activityName

Target activity name

RestoreHomeKeyApp

Restore Home key event to go back to VRone Launcher.

public static void RestoreHomeKeyApp()

SetNewLauncher

Allow to set new boot auto-start launcher, including the apps without launcher category. Notice that if you set the app without launcher category, you need to use SetHomeKeyApp() to keep HOME key working normally(long pressing back key go to your setting app). If not, it will go back to the original launcher. If your setting app has launcher category, HOME key launcher will be your setting one and SetHomeKeyApp() will be unnecessary.

public static void SetNewLauncher(string packageName)

Parameter

Description

packageName

App package name

RestoreDpnLauncher

Restore to default DpnLauncher, including boot auto-start app.

public static void RestoreDpnLauncher()

Last updated