Skip to main content

Help Menu Capture

Development Example

Applications should generally display their common commands on screen for the user to easily know what to say, but in some instances this may not be practical.

In these instances it is still useful for the user to easily find what voice commands are available.

The global “Show Help” command was designed to handle these situations and always available to the user by default, unless an application has disabled it.

By default the show help screen lists the global voice commands that are available but applications can also list their own commands.

private static final String ACTION_UPDATE_HELP =

private static final String EXTRA_TEXT =
private static final String EXTRA_SOURCE =

private void updateShowHelp() {
final ArrayList<String> helpCommands = new ArrayList<>();
helpCommands.add("Command 1");
helpCommands.add("Command 2");

final Intent intent = new Intent(ACTION_UPDATE_HELP);
intent.putStringArrayListExtra(EXTRA_TEXT, helpCommands);
intent.putExtra(EXTRA_SOURCE, getPackageName());

View Full Source Code



com.realwear.wearhf.intent.action.UPDATE_HELP_COMMANDSIntent name


ExtraData TypeDescription
com.realwear.wearhf.intent.extra.HELP_COMMANDSString ArrayThe list of commands for the help window to show
com.realwear.wearhf.intent.extra.SOURCE_PACKAGEStringThe package name of the application