Making a Call...
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Making a Call...
Hey…
I must be missing something obvious here. I'd like to have a button that places a call to a specific number, but I can't seem to locate the command that does this. And, ideally a function for determining if the device can make calls, similar to "mobileCanSendMail()".
Thanks!
I must be missing something obvious here. I'd like to have a button that places a call to a specific number, but I can't seem to locate the command that does this. And, ideally a function for determining if the device can make calls, similar to "mobileCanSendMail()".
Thanks!
Re: Making a Call...
Hi rrBUSS9EE,
...
## OK, this is not too intuitive
launch url "your Phone number here"
...
Look for "URL launching support" in the "iOS Release Notes" (Menu: Help).
Best
Klaus
...
## OK, this is not too intuitive

launch url "your Phone number here"
...
Look for "URL launching support" in the "iOS Release Notes" (Menu: Help).
Best
Klaus
Re: Making a Call...
Thank you.
I have tested the following example from the dictionary: launch url "tel:44 7818 8822"
In the SIM it does nothing and returns the result "No Association". Is this expected behavior from the SIM?
Also, is there a way to detect if the device is capable of making a call before hand? I would like to modify the interface on devices such as iPods that can not make calls.
I have tested the following example from the dictionary: launch url "tel:44 7818 8822"
In the SIM it does nothing and returns the result "No Association". Is this expected behavior from the SIM?
Also, is there a way to detect if the device is capable of making a call before hand? I would like to modify the interface on devices such as iPods that can not make calls.
Re: Making a Call...
Hi,
sorry, do not have an iOS license nor an iPhone
But how would you PHONE with the simulator (if it worked)?
So I guess this simply does not work in the simulator.
You can check "the machine" to see if you are on "iPhone" or something else!
Check "machine" in the dictionary to see the different "machines".
And see also "environment" and "platform".
Best
Klaus
sorry, do not have an iOS license nor an iPhone

But how would you PHONE with the simulator (if it worked)?

So I guess this simply does not work in the simulator.
You can check "the machine" to see if you are on "iPhone" or something else!
Check "machine" in the dictionary to see the different "machines".
And see also "environment" and "platform".
Best
Klaus
Re: Making a Call...
cMon Klaus.... get with the program. no i-phone? R U Amish? You guys still plow fields with cows out der? ha ha.. couldn't resist making fun...
Dave
Dave
Re: Making a Call...
I guess I just assumed it would "simulate it".Klaus wrote:But how would you PHONE with the simulator (if it worked)?
It appears that is indeed the case.So I guess this simply does not work in the simulator.
Thanks so much. Odd that function returns "unknown" here in MacOS. Guess that's a glitch.You can check "the machine" to see if you are on "iPhone" or something else!
Re: Making a Call...
HI Dave,
No, really don't need any cellphone
Best
Klaus
not Amish, but Hutterer!FireWorx wrote:cMon Klaus.... get with the program. no i-phone? R U Amish? You guys still plow fields with cows out der? ha ha.. couldn't resist making fun...
Dave



No, really don't need any cellphone

Best
Klaus