Vibration

One of the goals of the Mobile In The Hand library has always been to provide a consistent managed API regardless of which specific device you are using. One example of this is using the Vibration feature used to alert the user. The APIs are completely different and so we have provided a simple managed API composing of just two static methods:-

InTheHand.WindowsMobile.Forms.Vibrate.Play();
System.Threading.Thread.Sleep(500);
InTheHand.WindowsMobile.Forms.Vibrate.Stop();

You generally won't want to vibrate the device for very long because it would be both annoying, and a battery drain. To avoid holding up your UI thread you can call the methods on a separate thread. Just remember you must call Stop() to turn off the vibration.

Feedback and Knowledge Base