Titanium Community Questions & Answer Archive

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

Titanium.Platform.openURL stopped working

Just testing my app and my "make a call button" has just stopped working.

Has anything changed?

var tel = Titanium.UI.createAlertDialog(
        {
        title:'Make a call',
        message:'would you like to call now?',
        buttonNames: ['No thank you','Yes please'],
        });

        tel.addEventListener('click', function(e){
            if (e.index == 1){
                        var telNum = telephone.url;
                         var telNumClean = telNum.split(' ').join('');
                        Titanium.Platform.openURL('tel:'+telNumClean);
                        Ti.API.info('tel:'+telNumClean);
                    }
        });
— asked October 22nd 2010 by Mark Pierce
  • iphone4
  • plateform.openurl
0 Comments

1 Answer

  • school boy error! accidentally misspelt a variable….. doh!

    — answered October 23rd 2010 by Mark Pierce
    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.