All we need do is change the configuration of the equipment for which we want to enable the touch screen.
Equipment available for the simulator are in sub-directories within
wtklib\devices\
which is under the root folder of the WTK. The name of the sub-directory is the same as the device available for the simulator.
The configuration file ends with the extension. Properties. Open the configuration file and change the line
touch_screen = falseto
touch_screen = true
For example, suppose that the WTK is used WTK2.5.2_01 and we want to enable the touch screen to the device DefaultColorPhone.
Go to folder
C:\WTK2.5.2_01\wtklib\devices\DefaultColorPhonethen open the
DefaultColorPhone.properties
file and change the line
touch_screen = falseto
touch_screen = true
Nenhum comentário:
Postar um comentário