Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.
Archived:How to check for touch support in PySymbian
This snippet shows how to check whether a device has touch support in Python.
#A try statement is used to prevent the code from crashing on versions prior to 1.9.3
appuifw.note(u"Touch is supported")
appuifw.note(u"Touch is not supported")
appuifw.note(u"Feature is not available")
A message indicating the availability of touch is displayed.