public class DefaultMiscActions
extends java.lang.Object
Constructor and Description |
---|
DefaultMiscActions() |
Modifier and Type | Method and Description |
---|---|
static android.content.Intent |
getAppInfoIntent(android.content.Context ctx)
Raw intent to open app's info menu
|
static android.content.Intent |
getAppUninstallIntent(android.content.Context ctx)
Raw intent to open app's uninstall prompt
|
static void |
killProcessesAround(android.app.Activity activity)
Kills all associated processes
|
static void |
promptUserToClearData(android.content.Context ctx)
Starts an
AlertDialog prompt and if accepted will clear the app's data or just opens
the app's info menu if SDK < 19 |
public static android.content.Intent getAppUninstallIntent(android.content.Context ctx)
public static android.content.Intent getAppInfoIntent(android.content.Context ctx)
public static void promptUserToClearData(android.content.Context ctx)
AlertDialog
prompt and if accepted will clear the app's data or just opens
the app's info menu if SDK < 19public static void killProcessesAround(android.app.Activity activity)