How to start 'View Contact' Activity on android?
Posted
by Phuc Phan Nguyen Truong
on Stack Overflow
See other posts from Stack Overflow
or by Phuc Phan Nguyen Truong
Published on 2010-05-20T09:02:09Z
Indexed on
2010/05/20
17:20 UTC
Read the original article
Hit count: 277
Hi all, I want to create a tab which contains a tab for viewing contact detail. Here is what i did:
intent = new Intent(Intent.ACTION_VIEW, Uri.withAppendedPath(ContactsContract.Contacts.CONTENT_URI, ""+contactId));
nativeInfo = tabHost.newTabSpec("native info").setIndicator("N Info").setContent(intent);
It throw security exception.
I appreciate your help.
Thanks.
© Stack Overflow or respective owner