@Override
    protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        if (requestCode == REQUEST_CODE_PICK) {
            if (resultCode == RESULT_OK) {
                mCallerNumber.setText(data.getExtras()
                        .getString(ContactsActivity.KEY_PHONE_NUMBER));
            }
        }
    }
Simple Dialer Activity which shows an {@link EditText} field to enter a phone number. Upon
pressing the call button the number entered in the input field is send to the native Android
Dialer app via {@link Intent#ACTION_CALL}.

<p>
Furthermore this Activity contains a pick number button to starts dummy contacts activity to
demonstrate Intent stubbing.
ui/espresso/IntentsBasicSample/app/src/main/java/com/example/android/testing/espresso/IntentsBasicSample/DialerActivity.java