register extension as 'command' under the android extension, update sample