Array

Vibration Alerts and Web Browser

Must Read

Requirements to Qualify for a HELOC

A HELOC or home equity line of credit is a loan that a homeowner takes with the equity in...

Cost to Refinance Home Mortgage

Are you considering refinancing a home mortgage? To refinance a home mortgage, you will need to factor in some...

Canon 7D, Exposure Settings for Video

Setting the exposure for video is similar to setting exposure for still photographs, but you will notice a few...

More Loan Flexibility Through Home Equity Line Of Credit

Your home is your most valuable asset and also allows you to obtain further home equity loans and credits...

What Is the Difference Between Reinstatement Vs Modification of a Home Loan or Mortgage?

If your mortgage lender has sent you a letter demanding that you pay all of your back payments, as...

Training programs for IT

The reliability of the device technology in a way increased in accordance with the requirements of nearly all their...
Admin
test

Vibration Alerts

Application code can initiate the vibration capability of the device to alert users of events occurring in the application. To use this feature,
you must do the following:

  • Add a reference to the namespace Microsoft.Devices to your class.
  • Call the static methods of the default VibrateController class to start and stop vibration.

To initiate vibration for the default duration, call the Start method. To specify the duration, include a TimeSpan that defines the duration of the vibration as the parameter of the Start method. To stop vibration, call the Stop method.

C#
VibrateController.Default.Start(); // Default duration
VibrateController.Default.Start(TimeSpan.FromSeconds(2));
VibrateController.Default.Stop();

Web Browser

You can invoke the Windows Phone 7 web browser in your applications using the WebBrowserTask class. You simply specify the URL
to open, and call the Show method. The following code example shows how to do this.

C#
WebBrowserTask browserTask = new WebBrowserTask();
browserTask.URL = “http://www.microsoft.com/windowsmobile”;
browserTask.Show();

For more information, see “WebBrowserTask Class” on MSDN (http://msdn.microsoft.com/en-us/library/microsoft.phone.tasks.webbrowsertask(VS.92).aspx).

Previous articleTouch and Gestures
Next articleWindows Marketplace

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place...

What are 7 things poor people do that the rich don’t?

1. poor people watch TV in which people read books how many hours you spend in front of the TV and when...

Top 18 best small business ideas for beginners starting

A small business can be frightening and requires plenty of careful planning there are many small business ideas which can be beneficial...

Summer that makes you happy

We saw were already here I've been thinking about some of the things. I used to do with my husband even though...

4 Point to helpful tips specifically for caregivers

What you need to take a vacation. I know it sounds impossible creative and try to make it work for you almost...

More Articles Like This