@Override
 protected void initializeSubCommands() {
   Cmd bt = mCommandMap.get("bluetooth");
   bt.setHelp(R.string.chat_help_bt_state, null);
   bt.AddSubCmd("on", R.string.chat_help_bt_on, null);
   bt.AddSubCmd("off", R.string.chat_help_bt_off, null);
 }
Exemple #2
0
 @Override
 protected void initializeSubCommands() {
   Cmd cmd = mCommandMap.get("cmd");
   cmd.setHelp(0, null);
   cmd.AddSubCmd("subCmd", 0, null);
 }