"How to build an annoying mobile application 101"

"How to build an annoying mobile application 101"

Even wondered how you can stop your device from accidentally calling people?  Or wanted to stop people drawing all over you application?  Perhaps you even have a legitimate reason to stop people using the touch display – like they are supposed to use the keyboard or hardware keys to navigate (like a smartphone)?  Well, look no further, here’s a neat trick for disabling the touch screen on your device….


<System.Runtime.InteropServices.DllImport(“touch”)> _
Private Shared Sub TouchPanelDisable()
End Sub


This code snippet was brought to you curtesy of a fellow .NET CF MVP, Peter Foot.

Leave a Reply

Your email address will not be published. Required fields are marked *