Phone Call from app

It may be one of those things that is right in front of my face and just blanking on me but how do you have it so a button will call a specific number so when you click buton X it calls XXX-XXX-XXXX if on a phone? Would you happen to have a sample code to get my mind around it? [import]uid: 131530 topic_id: 34293 reply_id: 334293[/import]

  
 local telString = "tel:" .. this.PhoneText.text   
 print(" --- telString == ", telString)  
 system.openURL( telString)  
  

the part appended after the “tel:” is the actual number, it can include dashes as well ("-"). [import]uid: 79933 topic_id: 34293 reply_id: 136329[/import]

  
 local telString = "tel:" .. this.PhoneText.text   
 print(" --- telString == ", telString)  
 system.openURL( telString)  
  

the part appended after the “tel:” is the actual number, it can include dashes as well ("-"). [import]uid: 79933 topic_id: 34293 reply_id: 136329[/import]