开发者

Key handling in Android

开发者 https://www.devze.com 2023-01-03 23:49 出处:网络
Im trying to make a gane and i need to be able to move an object with the help of t开发者_开发问答he key pad.

Im trying to make a gane and i need to be able to move an object with the help of t开发者_开发问答he key pad. I tried using the basic event handlers, like onKeyDown bit how do i redraw the screen??


The screen is redrawn using the invalidate() function.

0

精彩评论

暂无评论...
验证码 换一张
取 消