I'm working on my first Android application, and am trying to get an Intent
for the QuickContact
panel. Somewhere I had found mention of the method QuickContact.getQuickContactIntent(...)
. But when I try to use it, it tells me that it is undefined for the type QuickContact
. After googling for several days, I find a bunch of pages using it in code, but nothing about how to use it or what imports are necessary or anything. So how do I use this method? I need to get the Intent
used to launch the panel.
I've included the following import in my file:
import android.provider.ContactsContract.QuickContact;
Alternatively, what other method could I use to get a QuickContact
intent for passing to something expecting an intent? I am looking to pass the intent back in the cursor for a LiveFolder provider.
I am developing against the Google APIs Level 9, platform number 2.3.1. Thanks!