Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, all!
I'm developing an application using API PhoneMakeCall. Now I want to dial *#06# to get the IMSI. Can I realize this by PhoneMakeCall? I had try to dial this number by PhoneMakeCall. But the system tell me that the number is wrong.:confused: So how to implement this? Pls help me! Thx!

To Christian Graus:
All right! In fact, I am first time use this. So I don't know the rule. :-O

Best regards!

WhilteClouds
Posted
Updated 18-Mar-10 22:07pm
v2

Does it work if you just dial a number ? If so, then perhaps you can't dial such a number. If not, then the issue is elsewhere.

I'd guess that your system may require a pause between some of the keys you're dialing.
 
Share this answer
 
I had test this API by dial my phone. It's ok. So maybe I should insert a pause when dialing? But how to do?
 
Share this answer
 
Perhaps if you use this API to dial the *, then Sleep for a bit, then use it to dial #, then sleep, then dial 06, etc. I am just guessing here.
 
Share this answer
 
This can't work. When I add a sleep(100) between *, #, 06, #. The phone will dial them one by one. So no one will be completed.
 
Share this answer
 
Well, then you're probably screwed. But, using the magical power of the googles, I did find this[^], which seems to make calls with pauses.

Also, don't push 'answer' unless you're posting an answer. Edit your post.
 
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