0

How can we add keyboard shortcuts in Google Chrome ARC app? As ARC apps now work on desktop Chrome browser, it is a must to have for desktop clients.

Vivek
  • 1,823
  • 1
  • 19
  • 39

1 Answers1

1

Try using android's KeyListener to catch KeyEvents, or https://developer.android.com/training/keyboard-input/commands.html as a reference.

If you want to handle keyboard events outside of a editable control then using a KeyEvent.callback is recommended.

I have not verified this ability, but merely assuming that ARC apps interact with the keyboard just like android apps do.

BillHaggerty
  • 6,157
  • 10
  • 35
  • 68