Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

IPhone - Titanium.Platform.openURL - tel: event

Hi,

I'm trying to trigger a phone call from a tableView, i have this basic code :

tableView.addEventListener('click', function(e)
{
    Ti.API.notice('launched');
    Titanium.Platform.openURL('tel:0606060606');
});

the notice appears, but nothing happened in the simulator, i have done something similar with the SDK 8 project, it worked perfectly.

If i change to Titanium.Platform.openURL('http://google.fr');
it works. I'm a bit lost. thanks for your help, how can i launch the phone call ?

— asked April 24th 2010 by Stephane Pelamourgues
  • iphone
  • openurl
  • tel
0 Comments

2 Answers

  • Accepted Answer

    The tel: does not function in the simulator.

    — answered April 24th 2010 by Sj Singh
    permalink
    1 Comment
    • So do not sms: and mailto: ?

      — commented October 5th 2011 by Wolfgang Loske
  • is possible to open calendar or something that allows you to record an event, in simulator or device,in iphone or android?

    — answered February 14th 2012 by André Silva
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.