ling chiao wrote:
> Hi:
> I got exception trying to read email
>
> Uri uri = Uri.parse("content://com.android.provider/EmailProvider/");
> Intent intent = new Intent(Intent.ACTION_VIEW, uri);
> startActivity(intent);
>
> "No Activity found to handle Intent { act=android.intent.action.VIEW
> dat=content://com.android.provider/EmailProvider/ }"
> Is this doable from my app? What is the right URI?
That content provider is not part of the SDK and may not exist on some
devices. Please bear in mind that there are many possible email clients,
including ones from device manufacturers or ones installed by end users.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy
Warescription: Three Android Books, Plus Updates, One Low Price!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en