KeyDown() not responsive

Monkey Targets Forums/Android/KeyDown() not responsive

KawaCoder(Posted 2014) [#1]
Hi, folks!

I am back from Xamarin world. Too much work for me to keep up with them. Xamarin is good for team programming, not for indies. Also, TOO expensive.

In order to refresh myself with Monkey coding, I used James Boyd's first game app for testing. It works fine on HTML5-based but not so on Android devices with hardware keyboards. KeyDown() does not respond. Wonder why.

Your input would be appreciated.


MikeHart(Posted 2014) [#2]
Such devices still exist? I remember my first Android phone, Google G1. That had a physical keyabord. But then after that, I don't see half recent phones with one.


MikeHart(Posted 2014) [#3]
Did you start the keyboard with EnableKeyboard?


KawaCoder(Posted 2014) [#4]
Hi, Mike!

Yeah, I have a hardware keyboard built for Galaxy Tab 7.0. That function, EnableKeyboard(), is to pull up the virtual keyboard, not the hardware. Unlike Java or C#, I am guessing Monkey does not support hardware. Sigh...

BTW, I am rereading your book. :)