Except that won't work on devices that don't have that email app...
On Jul 10, 2012 11:53 AM, "SMAK" <[email protected]> wrote:
> Following will do the trick. This is a reply to old thread. Just to make
> sure people searching answer to this question find answer.
>
>> PackageManager pm = getPackageManager();
>> Intent intent = pm.getLaunchIntentForPackage("com.android.email");
>> startActivity(intent);
>
>
> On Thursday, 21 October 2010 15:17:53 UTC+5:30, MG wrote:
>>
>> Hi all.
>>
>> I just want to know what intent am I going to use to open a mail
>> client.
>> I can open the "compose view" of the mail client but I cant find an
>> intent to open
>> the "inbox view" of the mail client.
>>
>> The same thing for opening the "mail" application from android device.
>> For example, from my application, I want to call "mail" application.
>> What intent should I use for it?
>>
>> Thank you in advance.
>
> --
> 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
--
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