[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
Ok.No prob.But whenever u get time please check this issue,coz a lot of guys are having this prob.But anyway u hav done a great job.Thanks a lot.I also appreciate that u have started echarcha.com.Today only i saw that. Thanks Dileep On Thu, Dec 18, 2008 at 12:22 PM, Sunit Katkar wrote: > Sorry Di

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread Sunit Katkar
Sorry Dileep, I have not tried with the emulator and I really dont know what the issue could be. I will dabble with it and let you know, but dont wait for my answer as I will be busy for a couple of days and over the weekend. - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
Thanks a lot Sunit.U have done a good job.But in my emulator(ver1.0,r2) email client is dere.But then also when I am trying to send email message is appearing "no application can perform this action." Please tell whats the prob.?I am wondering that email client is dere,but still why this message is

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread Sunit Katkar
The example code will open an Email client. In my case, it opens the Gmail application to send email.I will fix the code snippet. - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Wed, Dec 17, 2008 at 12:48 PM, filbert wrote: > > Sunit, thanks for your writeups, they'v

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread filbert
Sunit, thanks for your writeups, they've been helpful. Your Code Snippet 1 for this new tutorial has some formatting issues, the last few lines are not in the code box. Also, does your code open the email client to send or does it send automatically? your code looks similar to what's posted her

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread Sunit Katkar
Okay I got this to work finally. Here is the code. http://sunitkatkar.blogspot.com/2008/12/sendmail-send-email-programmatically.html - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Wed, Dec 17, 2008 at 6:51 AM, friedger wrote: > > Are you working on a device or the

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread friedger
Are you working on a device or the emulator? On the emulator there is no email apps installed by default. Install Email or K9 and the code should work. Friedger openintents.org openintents.biz On 14 Dez., 05:31, Siva G wrote: > Hi, > > When I try this snippet I get a message saying "No Applicat

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
Thanks peli.I will check that . On Wed, Dec 17, 2008 at 6:32 PM, Peli wrote: > > Currently there is no application installed on the emulator by default > that can handle this intent. > On the 'real' device G1 there are Google Mail and MMS available to > handle this intent. > > Looking at the K9m

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread Peli
Currently there is no application installed on the emulator by default that can handle this intent. On the 'real' device G1 there are Google Mail and MMS available to handle this intent. Looking at the K9mail Manifest http://code.google.com/p/k9mail/source/browse/k9mail/trunk/AndroidManifest.xml

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread dileep singh
Hi Peli, Is sending email stuff is supporting in android emulator sdk1.0 r2?:"Email application is dere but when i am executing that code , message is appearing that "no application can perform this action".A lot of people are having this problem.So,please tell whats the reason ,eventhough email c

[android-developers] Re: How to send email programmatically?

2008-12-17 Thread Peli
Currently, the OpenIntents table seems to be more complete :-) http://www.openintents.org/en/intentstable (although there are still more intents that can be found in the original documentation: e.g. http://code.google.com/android/reference/android/content/Intent.html ) Peli www.openintents.org

[android-developers] Re: How to send email programmatically?

2008-12-16 Thread Dianne Hackborn
There is a lot of stuff missing from that doc. On Tue, Dec 16, 2008 at 2:26 PM, filbert wrote: > > According to this page > http://code.google.com/android/reference/available-intents.html > the mailto: url is not supported by an intent... unless it was simply > left off the list by accident. T

[android-developers] Re: How to send email programmatically?

2008-12-16 Thread filbert
According to this page http://code.google.com/android/reference/available-intents.html the mailto: url is not supported by an intent... unless it was simply left off the list by accident. That is a possible explanation but my attempts to use mailto: in a URL result in errors.. unfortunately I

[android-developers] Re: How to send email programmatically?

2008-12-15 Thread Mark Murphy
Siva G wrote: > When I try this snippet I get a message saying "No Applications can > perform this action." Is there something else I should take care of > like in the manifest file? An application needs to be on the device or emulator that knows how to handle ACTION_SEND of MIME type "message/r

[android-developers] Re: How to send email programmatically?

2008-12-15 Thread Siva G
Hi, When I try this snippet I get a message saying "No Applications can perform this action." Is there something else I should take care of like in the manifest file? Thanks, Siva G On Dec 12, 5:32 am, Peli wrote: > Ok, the site is accessible now, but for future reference I copy the > code fro

[android-developers] Re: How to send email programmatically?

2008-12-12 Thread Peli
Ok, the site is accessible now, but for future reference I copy the code from there: http://www.openintents.org/en/node/121 Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.putExtra(Intent.EXTRA_TEXT, "email text"); sendIntent.putExtra(Intent.EXTRA_SUBJECT, "Subject"); sendIntent.se

[android-developers] Re: How to send email programmatically?

2008-12-11 Thread Mark Murphy
Andrew Stadler wrote: > This is already supported in both the Email and Gmail apps. U...are you sure about that? String url="mailto:f...@bar.com?subject=this%20is%20the%20subject&body=This%20is%20the%20body";; This mailto URL works nicely in Firefox (Linux and WinXP) and Internet Explorer

[android-developers] Re: How to send email programmatically?

2008-12-10 Thread Andrew Stadler
David- This is already supported in both the Email and Gmail apps. Is there a reason that you believed that it wasn't? Here is the raw Javadoc straight from Intent.ACTION_VIEW: /** * Activity Action: Display the data to the user. This is the most common * action performed on dat

[android-developers] Re: How to send email programmatically?

2008-12-10 Thread David Given
Mark Murphy wrote: [...] > Those cases all require you to send emails. You can do this today. You > need to get yourself a Java JAR that supports SMTP, ask the user for > SMTP credentials (server, from address, SMTP authentication settings, > etc.), and you're set. Speaking as a user, I don't

[android-developers] Re: How to send email programmatically?

2008-12-10 Thread nt94043
On Dec 9, 12:47 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > There is no standard settings dialog, we already have to e-mail apps that > are very different: gmail and email. I don't think it makes sense to try to > come up with a general-purpose UI for this as part of the platform, though >

[android-developers] Re: How to send email programmatically?

2008-12-09 Thread Dianne Hackborn
On Tue, Dec 9, 2008 at 10:47 AM, Brad Gies <[EMAIL PROTECTED]> wrote: > Does android have a standardized email settings dialog box we can invoke? > Or > do we have to roll our own? There is no standard settings dialog, we already have to e-mail apps that are very different: gmail and email. I d

[android-developers] Re: How to send email programmatically?

2008-12-09 Thread Brad Gies
D] On Behalf Of Mark Murphy Sent: Tuesday, December 09, 2008 8:17 AM To: android-developers@googlegroups.com Subject: [android-developers] Re: How to send email programmatically? Jay-andro wrote: > I would ideally like an > android api that protects this info and just allows my app to invok

[android-developers] Re: How to send email programmatically?

2008-12-09 Thread Mark Murphy
Jay-andro wrote: > I would ideally like an > android api that protects this info and just allows my app to invoke a > sendmail method with subject, body etc. Under the covers the api would > access the personal account credentials of so it can connect to the > smtp server. As a user, I would find

[android-developers] Re: How to send email programmatically?

2008-12-08 Thread Dianne Hackborn
Btw, you can probably get away with doing this with little to no platform changes at all, by defining an intent protocol that is similar to the existing one but doesn't require presenting a UI. There are still some important security, user interaction, and management issues that would need to be a

[android-developers] Re: How to send email programmatically?

2008-12-08 Thread Dianne Hackborn
If you want a feature like this, feel free to look at submitting a patch to the platform. You'll want to talk with people in the platform group about the security implications of doing so, so we can have a patch that we are comfortable with. This is probably way down on the priority list for the

[android-developers] Re: How to send email programmatically?

2008-12-08 Thread Jay-andro
Diane I accept (with a heavy heart :-( that Google is not interested in providing for this, but I do believe it is a valid requirement. First let me clarify that I have no interest in accessing the user's personal account information from my app. I would ideally like an android api that protects

[android-developers] Re: How to send email programmatically?

2008-12-07 Thread Xavier Mathews
Java Mail? On 12/07/2008, Christine <[EMAIL PROTECTED]> wrote: > > I use Javamail, works fine. > > On Dec 6, 8:32 pm, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: >> Yes I would prefer this. However, can you please post a code example of >> how >> to do this?Thanks, >> >> - Sunit Katkar >> >> On Sa

[android-developers] Re: How to send email programmatically?

2008-12-07 Thread Christine
I use Javamail, works fine. On Dec 6, 8:32 pm, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > Yes I would prefer this. However, can you please post a code example of how > to do this?Thanks, > > - Sunit Katkar > > On Sat, Dec 6, 2008 at 11:13 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote: > > > You

[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Sunit Katkar
Yes I would prefer this. However, can you please post a code example of how to do this?Thanks, - Sunit Katkar On Sat, Dec 6, 2008 at 11:13 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote: > You need to go through the UI of the mailer activity, so the user can > select which app to use etc. Addin

[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Dianne Hackborn
You need to go through the UI of the mailer activity, so the user can select which app to use etc. Adding support for allowing applications to get at the user's personal e-mail information and send on their behalf without their interaction (but some other way to inform them that the app is doing t

[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Sunit Katkar
www.openintents.org seems to be down. I got to this thread after a long time and now that site is down :-( - Sunit Katkar http://sunitkatkar.blogspot.com/ - Android OS Tutorials On Mon, Dec 1, 2008 at 6:06 PM, Xavier Mathews <[EMAIL PROTECTED]>wrote: > > Would They Be Using Gmail? If So You Cou

[android-developers] Re: How to send email programmatically?

2008-12-01 Thread Xavier Mathews
Would They Be Using Gmail? If So You Could Have It Programed With IMAP! On 12/01/2008, Jay-andro <[EMAIL PROTECTED]> wrote: > > I too want to send email programmtaically (i.e without a send form). > I've got it working with my hardcoded credentials, but I want my app > to use the user's account t

[android-developers] Re: How to send email programmatically?

2008-12-01 Thread Jay-andro
I too want to send email programmtaically (i.e without a send form). I've got it working with my hardcoded credentials, but I want my app to use the user's account to send the email from the user's account and receive replies to his account. How do I do this? On Nov 12, 10:51 am, "Sunit Katkar" <

[android-developers] Re: How to send email programmatically?

2008-11-12 Thread Sunit Katkar
Thank you. I will try this. On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> wrote: > > You can find a code snippet here: > http://www.openintents.org/en/node/121 > > There is also a related SENDTO action which you can look up in the > documentation. > > Peli > www.openintents.org > > O

[android-developers] Re: How to send email programmatically?

2008-11-12 Thread Peli
You can find a code snippet here: http://www.openintents.org/en/node/121 There is also a related SENDTO action which you can look up in the documentation. Peli www.openintents.org On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote: > Ok how would I implement the 'send form'. Do you me

[android-developers] Re: How to send email programmatically?

2008-11-11 Thread Sunit Katkar
Ok how would I implement the 'send form'. Do you mean that I should launch a web browser and use some webmail type of application hosted on a server? I was thinking about the Email Outbox. How can I put a simple text message as an email in the Outbox? I know I could do this long long ago with Palm

[android-developers] Re: How to send email programmatically?

2008-11-11 Thread Andrew Burgess
If you don't want to direct the user to the typical send form, then you're going to have to either try and adapt an existing java based mailer to android or write an SMTP client from scratch. The SMTP standard isn't too hard to implement. On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar <[EMAIL PROT

[android-developers] Re: How to send email programmatically?

2008-11-11 Thread Sunit Katkar
Any ideas? Any pointers to some examples? On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar <[EMAIL PROTECTED]> wrote: > Suppose I have an Activity which has couple of text fields - one for the > subject and one for body text. > And there is a simple Button. When user clicks the button, I wish to sen