none
System.Windows.Input.Touch and Windows phone 8.1 RRS feed

  • Question

  • Hi,

    In new Windows phone 8.1 SDK I can't find System.Windows.Input.Touch class. In page http://msdn.microsoft.com/en-us/library/windows/apps/system.windows.input.touch(v=vs.105).aspx pointed out that it is supported in WP8.1. How can I add it to my program? Or what alternative to detecting multitouch gestures?

    Thank you in advance.

     - Gregory

    Tuesday, September 9, 2014 8:14 AM

Answers

  • Hi Gregory,

    In Windows Phone 8.1, there are two kinds of apps:Windows Phone Silverlight 8.1 app and Windows Phone Runtime 8.1 app. The System.Windows.Input.Touch is supported in the Windows Phone Silverlight 8.1 app, but it is not supported in the Windows Phone Runtime 8.1 app.

    So if you can want to use the System.Windows.Input.Touch, please try to use the Windows Phone Silverlight 8.1 app.

    For detecting multitouch gestures in the Windows Phone Silverlight 8.1, maybe you can try to refer to the following articles:
    #How to build a multi-touch control for Windows Phone:
    http://developer.nokia.com/community/wiki/How_to_build_a_multi-touch_control_for_Windows_Phone .
    #Touch input for Windows Phone:
    http://msdn.microsoft.com/en-us/library/windows/apps/jj207076(v=vs.105).aspx .

    Best Regards,
    Amy Peng

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.



    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.


    Wednesday, September 10, 2014 2:54 AM
    Owner