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 appearing eventhough from emulator I can send email .
On Thu, Dec 18, 2008 at 4:43 AM, Sunit Katkar <[email protected]> wrote: > 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 <[email protected]> wrote: > >> >> 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 here and I >> thought it opened the email client (haven't tried it yet as I'm still >> on the emulator). >> >> On Dec 17, 1:39 pm, "Sunit Katkar" <[email protected]> wrote: >> > Okay I got this to work finally. Here is the code. >> http://sunitkatkar.blogspot.com/2008/12/sendmail-send-email-programma... >> > >> > - Sunit Katkarhttp://sunitkatkar.blogspot.com/- Android OS Tutorials >> > >> > On Wed, Dec 17, 2008 at 6:51 AM, friedger <[email protected]> >> wrote: >> > >> > > 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 <[email protected]> wrote: >> > > > 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 <[email protected]> wrote: >> > >> > > > > 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.setType("message/rfc822"); >> > > > > startActivity(Intent.createChooser(sendIntent, "Title:")); >> > >> > > > > Peliwww.openintents.orgwww.openintents.biz<http://peliwww.openintents.orgwww.openintents.biz/> >> > >> > > > > On Dec 6, 7:36 pm, "Sunit Katkar" <[email protected]> wrote: >> > >> > > > > >www.openintents.orgseemstobedown. I got to this thread after a >> long >> > > time >> > > > > > and now that site is down :-( >> > > > > > - Sunit Katkarhttp:// >> sunitkatkar.blogspot.com/-AndroidOSTutorials >> > >> > > > > > On Mon, Dec 1, 2008 at 6:06 PM, Xavier Mathews < >> > > [email protected]>wrote: >> > >> > > > > > > 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 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" <[email protected]> >> > > wrote: >> > > > > > > >> 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 >> > >> > > > > > > >> > On Nov 12, 8:52 am, "Sunit Katkar" < >> [email protected]> >> > > wrote: >> > > > > > > >> > > 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 >> > > > > > > >> > OS >> > > > > > > >> > > ver3.0. Hope there is a way to do it on Android. >> > >> > > > > > > >> > > - Sunit >> > >> > > > > > > >> > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess < >> > > [email protected]> >> > > > > > > >> > wrote: >> > > > > > > >> > > > 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 protected] >> > > > > > > >> > >wrote: >> > >> > > > > > > >> > > >> 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 >> > > > > > > >> > send >> > > > > > > >> > > >>> the text in the textfields via email to a >> predetermined >> > > email >> > > > > > > >> > address. >> > > > > > > >> > > >>> How can I achieve this? >> > >> > > > > > > >> > > >>> Sorry for being lazy and not looking up the SDK >> docs :) >> > >> > > > > > > >> > > >>> PS: I have configured the EMAIL app on G1 using the >> > > Email setup >> > > > > > > >> > steps, so >> > > > > > > >> > > >>> it can receive and send email from my email >> account. >> > >> > > > > > > >> > > >>> -- >> > > > > > > >> > > >>> - Sunit Katkar >> > > > > > > >> > > >>>http://sunitkatkar.blogspot.com/-AndroidOSTutorials >> > >> > > > > > > >> > > >> -- >> > > > > > > >> > > >> - Sunit Katkar >> > > > > > > >> > > >>http://sunitkatkar.blogspot.com/-AndroidOSTutorials >> > >> > > > > > > >> > > > -- >> > > > > > > >> > > > Andrew Burgess >> > >> > > > > > > >> > > -- >> > > > > > > >> > > - Sunit Katkarhttp:// >> > > sunitkatkar.blogspot.com/-AndroidOSTutorials >> > >> > > > > > > >> -- >> > > > > > > >> - Sunit Katkarhttp:// >> > > sunitkatkar.blogspot.com/-AndroidOSTutorials >> > >> > > > > > > -- >> > > > > > > Xavier A. Mathews >> > > > > > > Student/Browser Specialist/Developer/Web-Master >> > > > > > > Google Group Client Based Tech Support Specialist >> > > > > > > Hazel Crest Illinois >> > > > > > > [email protected]¥[email protected]¥ >> > > [email protected] >> > > > > > > "Fear of a name, only increases fear of the thing itself." >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

