xamarin - Android Keycodes for the symbols -


i developing application manual keyboard in xamarin androd. manual keyboard consists of keys 0-9 , special characters -, $, #, @ .. searching forms keycodes numerics .my code mentioned below..

<keyboard xmlns:android="http://schemas.android.com/apk/res/android" android:keywidth="10%p" android:horizontalgap="0px" android:verticalgap="0px" android:keyheight="60dip">  <row> <key android:codes="8" android:keylabel="1" android:keyedgeflags="left" /> <key android:codes="9" android:keylabel="2"/> <key android:codes="10" android:keylabel="3"/> <key android:codes="11" android:keylabel="4"/> <key android:codes="12" android:keylabel="5"/> <key android:codes="13" android:keylabel="6"/> <key android:codes="14" android:keylabel="7"/> <key android:codes="15" android:keylabel="8"/> <key android:codes="16" android:keylabel="9"/> <key android:codes="7" android:keylabel="0" android:keyedgeflags="right" /> </row>  <row android:rowedgeflags="bottom"> <key android:codes="56" android:keyicon="@drawable/sym_keyboard_done" android:keywidth="15%p" android:keyedgeflags="left" android:horizontalgap="10%p"/> <key android:codes="40" android:keylabel="l"/> <key android:codes="44" android:keylabel="p"/> <key android:codes="47" android:keylabel="s"/> <key android:codes="109" android:keylabel="-"/> <key android:codes="109" android:keylabel="@"/> <key android:codes="67" android:keyicon="@drawable/sym_keyboard_delete" android:keywidth="15%p" android:keyedgeflags="right"  android:isrepeatable="true"/> <key android:codes="66" android:keyicon="@drawable/sym_keyboard_return" android:keywidth="15%p" android:keyedgeflags="right"/> </row> 

i know android:code value special characters -, @, mainly. can please me code values. thankful in advance.

hid keyboard , keypad page:

hid usage   hid usage name  lkc linux key code name version akc android key code name   notes ~~~ 0x07 0x001f keyboard 2 , @    0x0003  key_2   1.6 0x0009  keycode_2 ~~~ 0x07 0x002d keyboard - , _    0x000c  key_minus   1.6 0x0045  keycode_minus   1 ~~~ 

ref: https://source.android.com/devices/input/keyboard-devices.html


Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -