Following the Android Gmail API instructions, with hints from a StackOverflow answer, I tried to query the content://com.google.android.gm/example@gmail.com/labels URI on the emulator. The emulator can’t find the com.google.android.gm provider, even though I’m running AVD with the Google APIs and even though I’ve went into the “Email” app and added my Gmail account.
How do I get the Gmail content provider on the emulator? I’m using API Level 16.
You don’t. Gmail is a commercial application, distributed on devices, not the emulator. You are welcome to test this app on a device that has Gmail on it, though.