Windows Phone 7 - Make a call without user notification
Is there开发者_StackOverflow中文版 any way from which i can call to any phone number from my contact list without showing user a notification?
No, that capability is not in the Windows Phone API. (And it's a good thing, IMO. Why would you legitimately need this ?).
Despite the popular misconception that this is completely impossible on Windows Phone, I must say that it is possible, but with a bit more work than you would expect. The key here are AT commands - the ATD
command, to be specific (most Motorola commands work as well).
Windows Phone devices offer you access to AT commands through native libraries shipped as a part of the OS or as a part of OEM applications.
So to say, you find yourself behind these barriers:
Your application will not get approved in the Marketplace. This means that the user has to sideload it, and not a lot of non-devs will be comfortable with performing this operation.
Since a lot of devices are now becoming Mango-phones (updated to Windows Phone OS 7.5), you will not be able to invoke system interop calls from within a non-signed third-party application. That leaves you with a NoDo requirement at least to install the application.
I worked with similar stuff on a Dell Venue Pro to send SMS messages and was quite successful with it. But it's not officially supported, so that cuts it.
精彩评论