I need to make a call to make a call using the PhoneGap app on the iPhone. Here is the code I'm using that doesn't work <a href="tel:+1-800-275-2273" style="width:300px;height:67px;margin-bottom:20px;"><img src="image.png" alt="" /></a>
<a href="tel:+1-800-275-2273" style="width:300px;height:67px;margin-bottom:20px;"><img src="image.png" alt="" /></a>
I also use the childbrowser plugin and mapkit in the application. Can someone tell me how to call me using Phonegap in Iphone app?
Thanks in advance.
I just tried (copy and paste) without an image, but only with text, he tried to dial a number to make it work. Something else must be wrong.
This just worked for me:
window.location.href='tel:800-123-4567';
Try this if you have problems with iOS 5. This allows you to make phone calls through javascript. https://github.com/j-mcnally/PhoneGap-ios-PhoneDialer
After tel:try to use only numbers, i.e.
tel:
<a href = "tel: 18002752273"> <img src = "image.png" alt = "" /> </a>