Android Intent Create makeCall(Activity activity, String telNumber)

Here you can find the source of makeCall(Activity activity, String telNumber)

Description

make Call

License

Open Source License

Declaration

public static void makeCall(Activity activity, String telNumber) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import android.app.Activity;
import android.content.Intent;
import android.net.Uri;

public class Main {
    public static void makeCall(Activity activity, String telNumber) {
        activity.startActivity(new Intent(Intent.ACTION_CALL, Uri
                .parse("tel:" + telNumber)));
    }/*from   w  ww. jav a2s  .  c om*/
}

Related

  1. newXdiPlayIntent()
  2. shareImages(Activity activity, String imagePath)
  3. pickNcapture(Activity activity, Uri outputFileUri)
  4. organizeAndStart(Activity activity, Class classes, Map paramMap)
  5. onKeyBackGoHome(Activity activity, int keyCode, KeyEvent event)
  6. PhotoIntent(Activity activity)
  7. VideoIntent(Activity activity)
  8. call(String aPhoneNumber, Activity aActivity)
  9. intentSysDefault(Activity activity, Class classes, Map paramMap)