Software Archive
Read-only legacy content
17061 Discussions

Send mail, visit site, call us

Simone_M_
Beginner
477 Views

Hi, I have 3 buttons, "visit" "send us an email" and "call", with the emulator  works fine, but when i download it to play store these buttons do not work, I need to enable something?

I put mailto: *, http: // *, on the whitelist, how can I fix?

I use this very basic html code

<a href="mailto:annamariacianchetti@tiscali.it" ><img style="width: 74px; height: 38px;" alt="logo" src="files/mail.png"></a>
<a href="http://www.centroesteticoamoha.it" ><img style="width: 74px; height: 38px;" alt="logo" src="files/web.png"></a>
<a href="tel:08119255723" ><img style="width: 74px; height: 38px;" alt="logo" src="files/chiama.png"></a>

0 Kudos
2 Replies
Hamilton_Tenório_da_
Valued Contributor I
477 Views

You can use a plugin to handle this: cordova-plugin-inappbrowser

After that, use cordova.InAppBrowser.open(URL, '_blank', 'location=yes');

URL can be http://xxxxxxx, mailto:yyy@kkkkk, etc.

 

0 Kudos
Elroy_A_Intel
Employee
477 Views

I recommend adding mailto: * to the Intent text field as this field corresponds with the intent request such as launching the Mail composer.

0 Kudos
Reply