默認情況下,sun 的模擬器不支持觸摸事件,修改方法爲,找到 C:\WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties 文件,用記事本打開,Ctrl + F 搜索 “touch_screen” 將 touch_screen=false 改爲 touch_screen=true,即可。
默認情況下,sun 的模擬器不支持觸摸事件,修改方法爲,找到 C:\WTK2.5.2\wtklib\devices\DefaultColorPhone\DefaultColorPhone.properties 文件,用記事本打開,Ctrl + F 搜索 “touch_screen” 將 touch_screen=false 改爲 touch_screen=true,即可。