Skip to main content
November 20, 2011
Question

Click to call function.

  • November 20, 2011
  • 1 reply
  • 495 views

Hi All

I am curretly creating an iPhone app and I want to make a button link to a phone number so when they click it it will talk them from the app to the phone and the call will go though.

If this is not possible I was wondering if you can make a number clickable, I have seen this done when you click on a number in a website it askes you if you want to call it.

Any help you can offer would be great.

Cheers

Phil

This topic has been closed for replies.

1 reply

Inspiring
November 20, 2011

the early documentation of packager for iphone make reference to navigate to url :

str = "tel:1-415-555-1212"; var urlReq:URLReq = new URLRequest(str); navigateToURL(urlReq)

i didn't test it

the mailto function (witch i use) works on the same base.

str = "mailto:test@example.com"; var urlReq:URLReq = new URLRequest(str); navigateToURL(urlReq);

make a test