public class ElauncherCtrl
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BUNDLE_ERROR_CODE |
static java.lang.String |
BUNDLE_ERROR_MSG |
static int |
RESULT_CODE_ERROR |
static int |
RESULT_CODE_SUCCESS |
| Constructor and Description |
|---|
ElauncherCtrl(android.content.Context context)
Instantiates a new ElauncherCtrl.
|
| Modifier and Type | Method and Description |
|---|---|
android.os.Bundle |
exportSettings(java.lang.String filePath)
Export Settings
|
android.os.Bundle |
importSettings(java.lang.String filePath)
Import settings.
|
android.os.Bundle |
resetSettings()
Reset settings
|
android.os.Bundle |
setBlackPackageList(java.lang.String packages)
Set Black Packages List, separate use ','.
|
android.os.Bundle |
setEnabled(boolean enabled)
Set Elanucher Enable, press home key , it will show Kiosk mode.
|
android.os.Bundle |
setKioskApp(java.lang.String pkg)
Set KioskApp with Package Name
|
android.os.Bundle |
setLauncherAppList(java.lang.String apps)
Set Kiosk Mode App List, separate use ','.
|
android.os.Bundle |
setMode(int mode)
Set KioskApp first, enable KioskApp or not in Kiosk mode.
|
android.os.Bundle |
setPINCode(java.lang.String PIN)
Set PIN Code
|
android.os.Bundle |
setRecentKeyLock(boolean enabled)
Set RecentKeyLock Enable, press Recent key , it won't show recent app list.
|
android.os.Bundle |
setWallpaper(java.lang.String path)
Set Wall paper with file path
|
android.os.Bundle |
setWhiteAppActivityList(java.lang.String activities)
Set White App Activities (com.xxx.xxx.activityName List, separate use ','.
|
public static final java.lang.String BUNDLE_ERROR_CODE
public static final java.lang.String BUNDLE_ERROR_MSG
public static final int RESULT_CODE_ERROR
public static final int RESULT_CODE_SUCCESS
public ElauncherCtrl(android.content.Context context)
context - public android.os.Bundle setEnabled(boolean enabled)
enabled - true or false (boolean)public android.os.Bundle setKioskApp(java.lang.String pkg)
pkg - Package Name (String)public android.os.Bundle setLauncherAppList(java.lang.String apps)
apps - app_label_1,app_label_2,app_label_3,... (String)public android.os.Bundle setWallpaper(java.lang.String path)
path - file path (String)public android.os.Bundle setPINCode(java.lang.String PIN)
PIN - the pin code (String)public android.os.Bundle setMode(int mode)
mode - 0: Launcher mode public android.os.Bundle setRecentKeyLock(boolean enabled)
enabled - true or false (boolean)public android.os.Bundle setBlackPackageList(java.lang.String packages)
packages - pkg_label_1,pkg_label_2,pkg_label_3,... (String)public android.os.Bundle setWhiteAppActivityList(java.lang.String activities)
activities - act_label_1,act_label_2,act_label_3,... (String)public android.os.Bundle resetSettings()
public android.os.Bundle exportSettings(java.lang.String filePath)
filePath - the complete file pathpublic android.os.Bundle importSettings(java.lang.String filePath)
filePath - the complete file path