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:
- Add a reference to Microsoft.Phone (if you are working in XNA and don’t already have one)
- Then call Start on Microsoft.Devices.VibrateController.Default with the number of milliseconds you want the phone to vibrate.
Shouldn't that be,ReplyDelete
Thanks Andrew -yes typoReplyDelete
I am glad someone decided to write this post! Something so simple, but I spent a good 30 minutes "binging" looking for this answer!ReplyDelete
Thanks for the help Kevin :D !