默认情况下,sun 的模拟器不支持触摸事件,修改方法为,找到 C:\WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties 文件,用记事本打开,Ctrl + F 搜索 “touch_screen” 将 touch_screen=false 改为 touch_screen=true,即可。
本文指导如何通过编辑sun模拟器配置文件,将触摸屏支持从默认的关闭状态修改为开启状态,从而实现对触摸事件的支持。
默认情况下,sun 的模拟器不支持触摸事件,修改方法为,找到 C:\WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties 文件,用记事本打开,Ctrl + F 搜索 “touch_screen” 将 touch_screen=false 改为 touch_screen=true,即可。

被折叠的 条评论
为什么被折叠?