Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to make a phone call programatically without Intent

I'm new on android and i want make phone call without use the intent.

I know that this code:

Intent intent = new Intent(Intent.ACTION_CALL);

intent.setData(Uri.parse("tel:" + bundle.getString("mobilePhone")));
context.startActivity(intent);

Can i make call in android programmatically without use "Intent"?

Do you have any answer?

Thanks

like image 932
saber Avatar asked Jul 30 '26 20:07

saber


1 Answers

Can i make call in android programmatically without use "Intent"?

Not from an ordinary Android SDK app. A custom ROM mod certainly could.

like image 172
CommonsWare Avatar answered Aug 01 '26 10:08

CommonsWare



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!