HOW TO CALL A NUMBER FROM OUR APPLICATION?

Barbara Jones

Total Post:13

Points:91
Posted by  Barbara Jones
 765  View(s)
Ratings:
Rate this:
call a number from our application
  1. David Miller

    Post:30

    Points:210
    Re: How to call a number from our application?

    Intent callIntent = new Intent(Intent.ACTION_CALL);

    callIntent.setData(Uri.parse("tel:123456789"));

    startActivity(callIntent);

    And remember add this CALL_PHONE permission to your Manifest:


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

      Modified On Apr-05-2016 04:12:53 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!