Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Canvas in sony-ericsson k700i

 
Niklas Junel
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have trouble with my canvas in my phone, all the softkeys works as intended but the joystick doesn't responde at all. When I run it in the emulator it works fine. Anyone that has any suggestions?
 
Nobuhiro Watsuki
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And when you use the on device debugging method?
 
Niklas Junel
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't tried that just yet, in fact I couldn't get to work!
 
Niklas Junel
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found the bug myself, I didn't check the gameActionKey, only the keyCode!
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hte other thing with canvas, with the "Joystick" is that the one method, I forget the actual name, receives and int that maps to keys, but there are two types of "keys" so in one case you have to convert the int to the other type through calling another method. Again I don't memorize method names and parameter names, and haven't coded it in a while, so I gforget those names easily.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic