Posts

Showing posts from March, 2018

Android Studio - how to make phone call

Image
Hello Everyone, Today, we are going to see how to make phone calls from your android application. Just an EditText and a Button. In the EditText you can give any phone number and click the Button, it will make the call to that number. Let's see, Output Just copy and paste the below code, run it and enjoy it activity_main.xml               < ? xml version = "1.0" encoding = "utf-8" ? > < android . support . constraint . ConstraintLayout xmlns:android = "http://schemas.android.com/apk/res/android" xmlns:app = "http://schemas.android.com/apk/res-auto" xmlns:tools = "http://schemas.android.com/tools" android:layout_width = "match_parent" android:layout_height = "match_parent" tools:context = "com.example.dhevendhiran.phonecall.MainActivity" > < Button android: id = "@+id/buttonCall" android:layout_wid