GetChar() failing

Monkey Targets Forums/Android/GetChar() failing

Sub_Zero(Posted 2012) [#1]
I'm compiling to the android emulator using api-13(android 3.2).

I've used EnableKeyboard() and is then polling GetChar() within the OnUpdate() method as instructed.

The testkeyboard.monkey example does not work either...
The virtual keyboard does work elsewhere in the emulator, but doesn't with a monkey app.
I've searched the forum but it seems like no-one else have had this problem at all...

The only key recognized is the CHAR_ESCAPE (27), and no other letters or keys are catched by GetChar() at all.....

Does anyone know what could be the problem here as i don't have a datacable to test on a android device besides the emulator...


golomp(Posted 2012) [#2]
Maybe you should try with a ftp connection ? you don need a cable for this.
i think virtual keybord work only on real device. (but i am not sure)


Sub_Zero(Posted 2012) [#3]
Ok it worked on a android device.... Got hold of a cable now :)


golomp(Posted 2012) [#4]
So now i am sure. Thanks