Page 1 of 2

How to open Dialer to a call number?

Posted: Mon Oct 20, 2014 11:15 am
by B510

Hello,

How to open Dialer to a call number?

I tried codes below

window.location.href = 'tel:+6281712345' + phone;

and set the Android permission to as below in android manifest file:

but not working..

please help


How to open Dialer to a call number?

Posted: Mon Oct 20, 2014 1:32 pm
by Evgene Karachevtsev

Hello,

Could you please clarify, do you test it in the tester or as installed .apk file? What version of Android do you use in this case?


How to open Dialer to a call number?

Posted: Mon Oct 20, 2014 10:26 pm
by B510

I test it on installed .apk on my android 4.4 2

Please help..
Thanks a lot in advance


How to open Dialer to a call number?

Posted: Tue Oct 21, 2014 2:22 am
by Yurii Orishchuk

Hi B510,

It seems you have wrong code:

See details here: http://blog.appery.io/2014/03/dialing...

Details: http://prntscr.com/4y70un/direct

So please start use given code:

pre

window.location.href = “tel:+375292771265′′;

/pre

Then you can modify if it works.

Regards.


How to open Dialer to a call number?

Posted: Tue Oct 21, 2014 4:19 am
by B510

its not working ..

window.location.href = 'tel:+6281712345' ;


How to open Dialer to a call number?

Posted: Tue Oct 21, 2014 4:46 am
by B510

please help...

could you try it on real device?... it's not working..


How to open Dialer to a call number?

Posted: Tue Oct 21, 2014 6:25 am
by B510

just want to update ..

trying to use iOS codes ..

window.open('tel:6281712345', '_system');

and it works .. strange ..


How to open Dialer to a call number?

Posted: Wed Oct 22, 2014 2:20 am
by Yurii Orishchuk

Hi B510,

Yes, for IOS correct code should be:

pre

window.open('tel:6281712345', '_system');

/pre

for android is:

pre

window.location.href = 'tel:+6281712345' ;

/pre

Regards.


How to open Dialer to a call number?

Posted: Wed Oct 22, 2014 6:04 am
by B510

but I ran iOS's code in Android .. and it works properly
and
tried codes below in Android .. and not working..
window.location.href = 'tel:+6281712345' ;


How to open Dialer to a call number?

Posted: Wed Oct 22, 2014 8:28 am
by Evgene Karachevtsev

Hello,

Hope, this link should help you: https://getsatisfaction.com/apperyio/...