In the above after assigning value to the
String phoneNumber = phoneCursor .getString(phoneCursor .getColumnIndex(ContactsContract.CommonDataKinds.Phone.NUMBER));
store the same value in the INTENT object i.e
Intent data
like data.putExtra("phoneNumber",phoneNumber);
and after the start the new activity which you want to invoke like below
startActivity(new Intent(Intent.ACTION_VIEW, data));
in the new activity get the above value from intent
Intent intentWithPhoneNumbers = getIntent(); if(null!=intentWithPhoneNumbers.getExtras()){ String phoneNumber= intentWithPhoneNumbers.getExtras().getString("phoneNumber"); }