On Wed, Oct 6, 2010 at 3:29 PM, Priyank Maiya <[email protected]> wrote:
> Thanks for your reply. What you said worked. Instead of querying the email
> provider, I directly called the intent:
>
> emailIntent.setClassName("com.android.email",
> "com.android.email.activity.Welcome");
> startActivity(emailIntent);
>
> But my doubt is that, I dont know whether the user has configured his email
> or not.

That is only one possible problem. Others:

-- this app may not be installed
-- this app may be modified by the core Android team
-- this app may be modified by device manufacturers
-- this app may be replaced by device manufacturers
-- this app may not be the one the user is using

> Is there any other way of doing this ?

Use ACTION_SEND with EXTRA_STREAM.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 3.0.1 Available!

-- 
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

Reply via email to