OnkarDhane OnkarDhane - 2 months ago 7
Android Question

Can I implement automatic call to someone in Android?

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?

Answer

Yes it is possible. The code for call is straight forward.

Intent intent = new Intent(Intent.CALL_ACTION);   
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