Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Dial phone numbers from IE on Windows Phone

DZone's Guide to

Dial phone numbers from IE on Windows Phone

· Mobile Zone
Free Resource

Get gorgeous, multi-touch charts for your iOS application with just a few lines of code.

It seems like I just found out about another way to do something with the Windows Phone 7 OS directly from the browser. I can invoke the Maps application, there is information on the browser version, there is a possibility to navigate to an item in the Zune Marketplace, you can launch the YouTube application and now there is a way to dial phone numbers through what seems to be an internal system URI scheme that is able to carry much more than simply calling somebody.

There are two ways of invoking a call - the old one, that is supported both in Mango and NoDo relies on the tel prefix and the general format is this:

tel:0000000000

The URL can be invoked directly via a WebBrowser task or a link that is present on a webpage. You will not be able to type it in IE because it will return an error - the browser doesn't support the URI scheme that is being used. For some reason, as long as the URL property is present in WebBrowserTask (allowing to pass unverified URL strings), the same input can actually result in a call.

With Mango, there appears to be a new way to invoke a call:

wtai://wp/mc;6203306980

It doesn't seem to be working when passed through a WebBrowserTask, and it won't work if it's typed in directly, but it can certainly be a part of a webpage where a phone number is required.

The URI scheme belongs to the standard WAP specification, allowing the invocation of the OS number dialing dialog.

.Net developers: use Highcharts, the industry's leading interactive charting library, without writing a single line of JavaScript.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}