106107108109110111112113114115116
} } if (device.implementsAPI(KeyboardAPI.class)) { try { final KeyboardAPI api = device.getAPI(KeyboardAPI.class); api.addKeyboardListener(debugger); } catch (ApiNotFoundException ex) { // Ignore } } }