I want to get the name of the contact, but I canβt. After looking at this answer , I tried to get the name using family, data and mapping, but nothing worked
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == PICK_CONTACT && resultCode == RESULT_OK) { Uri contactUri = data.getData(); Cursor cursor = getContentResolver().query(contactUri, null, null, null, null); cursor.moveToFirst();
/
public void addContact(View v){
java android database xml android-intent
Ruchir Baronia Jan 30 '16 at 4:04 on 2016-01-30 04:04
source share