Function Key Capture - Xamarin

Y Yanis Dalabiras 3 years 6 months ago
65 1 0

Hi there, am new to Xamarin and need some advice.
We have migrated from a VS2008 application on a window CE 6.0 RF device (Motorola) to VS2017 & Xamarin on a Zebra MC9300. The android apk is installed and is running fine but we now need to use the function keys, i.e. F1, F2, etc.This is not coded.
Does anyone have any sample code on how to do this? Do I need EMDK? In the older application we used the form's key down event to capture. Any direction would be greatly appreciated.
Thanks for you time.'

Please Register or Login to post a reply

1 Replies

D Darryn Campbell

You should be able to use Android's KeyEvents - the keycodes for the function keys are defined in Android docs https://developer.android.com/reference/android/view/KeyEvent#KEYCODE_F…; Note that these are different from the previous values used in WinCE http://www.kbdedit.com/manual/low_level_vk_list.html (I can't find an official list).
There are not any special APIs in EMDK for function keys

CONTACT
Can’t find what you’re looking for?