Mihai Das
Posts: 0
Joined: Thu May 07, 2015 7:30 pm

skip android dialer to make a direct call

hi,

how to skip dialer and make direct call?
to make a direct call, not to open dialer and than to make the call.

I need in android.
i find a code in andoid studio but i need in appery.io code.

Intent out = new Intent(); out.setAction(Intent.ACTION_CALL); out.setData(Uri.parse("tel:" + Uri.encode("+456"))); startActivity(out);

thank you
mihai

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

skip android dialer to make a direct call

Hi -

Appery.io helps you build hybrid apps so you can use any JavaScript, HTML or CSS code (there is no special Appery.io code).

If you want to bypass the native dialer, you can use an API to make a phone call. For example, Twilio (http://twilio.com) offers API to make phone calls .

Mihai Das
Posts: 0
Joined: Thu May 07, 2015 7:30 pm

skip android dialer to make a direct call

Hi,
I found only API for sms with Twilio .
works even for call?
thank you
mihai

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

skip android dialer to make a direct call

Yes, Twilio also offers API to make calls. Contact their support if you are not able to find it.

Return to “Issues”