Commit 391b6186 authored by Albert Vaca Cintora's avatar Albert Vaca Cintora
Browse files

Added a comment

parent 74bec9a7
...@@ -102,6 +102,11 @@ public class KeyListenerView extends View { ...@@ -102,6 +102,11 @@ public class KeyListenerView extends View {
@Override @Override
public boolean onKeyUp(int keyCode, KeyEvent event) { public boolean onKeyUp(int keyCode, KeyEvent event) {
/* NOTE: Some keyboards, and specifically the Android default keyboard when
* entering non-ascii characters, will not trigger KeyEvent events as documented
* here: http://developer.android.com/reference/android/view/KeyEvent.html
*/
//Log.e("KeyDown", "------------"); //Log.e("KeyDown", "------------");
//Log.e("KeyDown", "keyChar:" + (int) event.getDisplayLabel()); //Log.e("KeyDown", "keyChar:" + (int) event.getDisplayLabel());
//Log.e("KeyDown", "utfChar:" + (char)event.getUnicodeChar()); //Log.e("KeyDown", "utfChar:" + (char)event.getUnicodeChar());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment