I am making an as3 AIR app. I want to put phone numbers in the application. On an iPhone, when the user clicks the "phone number" button it calls tel similar to this:
str = "tel:1-415-555-1212";
var urlReq:URLReq = new URLRequest(str);
navigateToURL(urlReq);
This puts the phone number in the users native dialer (on iOS it actually dials it for you and sends also). However, on iPad it does nothing. I want to first check if tel is supported. If it is, do normally. If it is not, show a popup with the phone number. I want to do it pretty much exactly the same for android phones and tablets as well.