I want to implement an automatic call from my android phone. If I set message for a particular number and date as well, then my android phone should call that number automatically. Is it possible without any user interaction to call on any number via my android phone?
Yes it is possible. The code for call is straight forward.
Intent intent = new Intent(Intent.ACTION_CALL);
intent.setData(Uri.parse("tel:09999"));
startActivity(intent);
Use your number in place of 09999
.
Don't forget to specify the permission to call in Android Manifest.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With