B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

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

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to open Dialer to a call number?

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?

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

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

Please help..
Thanks a lot in advance

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to open Dialer to a call number?

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.

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

its not working ..

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

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

please help...

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

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

just want to update ..

trying to use iOS codes ..

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

and it works .. strange ..

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

How to open Dialer to a call number?

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.

B510
Posts: 0
Joined: Wed Jun 04, 2014 2:17 pm

How to open Dialer to a call number?

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' ;

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How to open Dialer to a call number?

Hello,

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

Return to “Issues”