Getting user selected contact

Pops

Member
Licensed User
Longtime User
Can I get a contact that the user selected from this?

code:
Dim i As Intent
i.Initialize(i.ACTION_PICK, "")
i.SetType("vnd.android.cursor.dir/contact")
StartActivity(i)

For example, put contact number/name/photo on label/button/text box.
Thanks for any help. I have already done this another way, but the code seems more clunky than it may need to be.
I arrived here from about 6 months on App Inventor, which makes very large, slow apps.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…