Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • How to make a call from your android application

    • 0
    • 3
    • 0
    • 1
    • 0
    • 0
    • 0
    • 1
    • 542
    Comment on it

    This tutorial describe you how to make a call from your android application. To make a call you just need to call Implicit intent like this:-

    // call implicit intent with phone number to make a call
    Intent callIntent = new Intent(Intent.ACTION_CALL);
    callIntent.setData(Uri.parse("tel:9897123456"));
    startActivity(callIntent);
    

    Also you need to add the following permission in your manifest file:-

    <uses-permission android:name="android.permission.CALL_PHONE"/>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: