+ 1

Tell me how call some one in android by creating apk that only call a sertain number like 1234567890

8th Aug 2019, 4:49 PM
Ermias Alemayehu
2 Respostas
+ 8
Save your phone number in string int number = 123456789; String num = "tel:"+number; Intent intent = new Intent(Intent.ACTION_CALL,Uri.parse(num)); startActivity(intent); And you are done Note : in android marshmallow and above you want to get runtime permission befor using this method
8th Aug 2019, 6:42 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 1
i did not understand it
8th Aug 2019, 5:18 PM
Ermias Alemayehu