public class HelpUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addIntentParameters(Context context,
Intent intent,
String backupContext,
boolean sendPackageName) |
static Intent |
getHelpIntent(Context context,
String helpUriString,
String backupContext) |
static boolean |
prepareHelpMenuItem(Activity activity,
Menu menu,
int helpUriResource,
String backupContext) |
static boolean |
prepareHelpMenuItem(Activity activity,
MenuItem helpMenuItem,
String helpUriString,
String backupContext)
Prepares the help menu item by doing the following
|
static boolean |
prepareHelpMenuItem(Activity activity,
Menu menu,
String helpUri,
String backupContext) |
static Uri |
uriWithAddedParameters(Context context,
Uri baseUri)
Adds two query parameters into the Uri, namely the language code and the version code
of the app's package as gotten via the context.
|
public static boolean prepareHelpMenuItem(Activity activity, Menu menu, String helpUri, String backupContext)
public static boolean prepareHelpMenuItem(Activity activity, Menu menu, int helpUriResource, String backupContext)
public static boolean prepareHelpMenuItem(Activity activity, MenuItem helpMenuItem, String helpUriString, String backupContext)
public static Intent getHelpIntent(Context context, String helpUriString, String backupContext)
public static void addIntentParameters(Context context, Intent intent, String backupContext, boolean sendPackageName)