How to make a Windows Phone 7 Vibrate using C# ?

Vibrate a phone ? for what ? . Well , there are many reasons or situations that suit for vibrating the phone some of them include the notifications that are sent to the WP7 or when the user should actually feel that he has touched / clicked a button on the Phone .

Fortunately , the Windows Phone 7 SDK allows the developers to vibrate the phone easily .

The Class VibrateController allows the developers to do this task .

The VibrateController class is defined in the namespace Microsoft.Devices .

private void button1_Click(object sender, RoutedEventArgs e)

       VibrateController vibrate = VibrateController.Default;


You can use the methods Start and Stop of VibrateController to switch on / off the Vibrate controller


If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

No Responses

  1. How to make a Windows Phone 7 Vibrate using C | ProgramInDotnet August 1, 2011 Reply

Leave a Reply to How to make a Windows Phone 7 Vibrate using C | ProgramInDotnet Cancel reply


Interesting BlogPosts to read

How to get an Enumerator from range of elements from ArrayList in C# ?
The code snippet shown in this blog post demonstrates how you can get the enumeraor from a range of ...
How to check for the column name in an SqlDataReader Object in C# ?
When working in ADO.NET for data access , there are times when you want to check to see if a column ...
Download - Pokemon Go for for Windows 10 (Third Party app)
Pokemon Go is one of the popular AR games for android and iOS devices and now , the game is made ava...