Call to the external applications like(tel: , sms: , mailto:) is not working on Intel xdk

149 Views Asked by At

I am a newbie and want to build a hybrid application using Intel xdk with cordova 6.2.0. For some reasons I am not able to make a call to external applications like tel: or mailto: My settings are as follows Screenshot of the intent settings

Please help.

Edit: Whenever I click on <a href="tel:xxxxxxx">0000000</a> it prompts only once when I load the whole project again but does not respond in the later try.

1

There are 1 best solutions below

1
Shreeya Chhatrala On

For Working with External Intents you have to write javascript code like this in your html page:

<script type="text/javascript">
    $( document ).ready(function(){
        $("#page_content a").click(function(e){
  e.preventDefault();
  window.open($(e.currentTarget).attr('href'), '_system', 'location=yes');
});
    });
    </script>