java - How can I open the user's profile contact using an Intent? -


i'd build intent opens user's profile contact in "contacts" application. i've read profile/me contact @ position 0 doesn't work snippet i've built:

new intent(intent.action_view).setdata(uri.withappendedpath(contactscontract.contacts.content_uri, "0")) 

could of tell me how can resolve this?

try use contactscontract.profile.content_uri instead.


Comments

Popular posts from this blog

android - Inheriting from Theme.AppCompat* -

broadcastreceiver - android BOOT_COMPLETED not received if not activity intent-filter -

basic authentication with http post params android -