JAVA触摸屏开发示例
在WTK目录下的/WTK22/wtklib/devices/DefaultColorPhone/DefaultColorPhone.properties
的文件中有一行touch_screen=false,把它改成true就可以了
MIDP2.0对于触摸屏方法有3个
1.pointerDragged (int x, int y) 触摸屏拖拽事件(暂时还没研究)
2.pointerPressed (int x, int y) 触摸屏按压
3[……]
在WTK目录下的/WTK22/wtklib/devices/DefaultColorPhone/DefaultColorPhone.properties
的文件中有一行touch_screen=false,把它改成true就可以了
MIDP2.0对于触摸屏方法有3个
1.pointerDragged (int x, int y) 触摸屏拖拽事件(暂时还没研究)
2.pointerPressed (int x, int y) 触摸屏按压
3[……]