Phone call from app

Is it possible to invoke the phone functionality by tapping on a phone number that is listed in an iOSTable?

Cheers.
Bobby

Use the ShowURL declare sample in conjunction with a tel:x-xxx-xxx-xxxx url.
[Example Projects/iOS/Declares/ShowURL.xojo_binary_project]

1 Like

Thanks for the response, Tim.

That is what I am trying, but for some reason it doesn’t work.

Emails work, as well as web pages.

I’ll keep playing.

(Note: I am testing on a phone, not the simulator.)

Cheers.

[quote=166621:@Tim Parnell]Use the ShowURL declare sample in conjunction with a tel:x-xxx-xxx-xxxx url.
[Example Projects/iOS/Declares/ShowURL.xojo_binary_project][/quote]
I’d try that without the hyphens.

You might also want to refer to Apple docs about phone links.

i am using ShowURL with “callto:”

this works cross-platform on both win and mac (depends on URI Handler) even on desktops with SIP or Skype Software.

I actually got it to work late yesterday, by taking out all the spaces in the number. (Here in Australia people tend to not use hyphens but rather spaces in phone numbers.)

To complicate things, the numbers were in the cell detail text, which seems to not be persistent. I changed it to be stored in part of the cell text, then was able to invoke both mail & phone, as appropriate.

Just by way of follow-up, today the cell detail text is persistent, as one would expect. Gotta love computers!

Thanks for all the suggestions.

Cheers.
Bobby