[android-developers] Re: what intent is used for opening mail account?

2012-07-10 Thread SMAK
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

Re: [android-developers] Re: what intent is used for opening mail account?

2012-07-10 Thread Justin Anderson
Except that won't work on devices that don't have that email app... On Jul 10, 2012 11:53 AM, SMAK khadi...@gmail.com 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 =

[android-developers] Re: what intent is used for opening mail account?

2010-10-21 Thread MG
But how would you open the mail client? Not to compose a message but to just call mail or gmail? Is it not possible? On Oct 21, 8:26 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, Oct 21, 2010 at 5:47 AM, MG my.android.a...@gmail.com wrote: I just want to know what intent am I going to

Re: [android-developers] Re: what intent is used for opening mail account?

2010-10-21 Thread Mark Murphy
On Thu, Oct 21, 2010 at 7:30 AM, MG my.android.a...@gmail.com wrote: But how would you open the mail client? Users tap on the icon for whatever mail client (Mail, Gmail, K-9, etc.) they want. Not to compose a message but to just call mail or gmail? Is it not possible? There is no generic