Log.v("importVCardActivity", "Prepare to review the imported contact");
// get contact_id of this raw_contact
- Log.v("importVCardActivity", "RawContactUri: " + createdUri);
final long rawContactId = ContentUris.parseId(createdUri);
- Log.v("importVCardActivity", "RawContactId: " + rawContactId);
Uri contactUri = RawContacts.getContactLookupUri(getContentResolver(),
- ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId));
- Log.v("importVCardActivity", "Contact Uri: " + contactUri);
+ ContentUris.withAppendedId(RawContacts.CONTENT_URI,
+ rawContactId));
Intent viewIntent = new Intent(Intent.ACTION_VIEW, contactUri);
startActivity(viewIntent);