Sunday, November 28, 2010

Windows Phone 7 Quick Tip #21 – Good Vibrations

Not an earth shattering tip this time, but I just spent the last 30 minutes “binging” how to make my phone vibrate and didn’t come up with anything.

As with most stuff in programming, it’s easy once you know how:

  1. Add a reference to Microsoft.Phone (if you are working in XNA and don’t already have one)
  2. Then call Start on Microsoft.Devices.VibrateController.Default with the number of milliseconds you want the phone to vibrate.



  1. Shouldn't that be,

  2. I am glad someone decided to write this post! Something so simple, but I spent a good 30 minutes "binging" looking for this answer!

    Thanks for the help Kevin :D !