Click here to Skip to main content
15,887,464 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I'm trying to design an application using a launcher that can dial USSD codes. When i run the application from the device, i get an error message stating that service codes can only be dialed from the device's keypad.

Im using this code:

PhoneCallTask ussd = new PhoneCallTask();   
ussd.PhoneNumber = "*111#";   
ussd.DisplayName = "Service Info";   
ussd.Show();


What this should be doing it dialing the ussd number and then returning a menu. But it wont dial.

Does anyone know a solution for this?

The odd thing is that you are able to save a USSD (for example *111#) in your contacts and then dial from there without having to type the number using the keypad.
Posted

you can't dial service codes from your application with the current version of windows phone...
that's to prevent some developers from getting the mac address of windows phone and the SN of it
So this is not possible without a third party library that cannot be trusted
 
Share this answer
 
We can develop such application for you
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900