Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud, brought to you in partnership with IBM.
Vibrate your phone? Why? Well, there are many reasons or
situations that are suitable for phone vibrations. 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 control the vibrate function 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
The Mobile Zone is brought to you in partnership with Strongloop and IBM. Visually compose APIs with easy-to-use tooling. Learn how IBM API Connect provides near-universal access to data and services both on-premises and in the cloud.