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
it seems they support the SEND intent only for "image/*" MIME types,
but they also support the SENDTO and VIEW intents with a "mailto:";
address.

One could write to the K9mail group and suggest to support the SEND
intent for other MIME types as well.

I've written to the K9-mail team here:
http://groups.google.com/group/k-9-mail/browse_frm/thread/2621f0a54b0bf03e

Please add your comments and wishes there as well!

Peli
www.openintents.org

On Dec 17, 12:41 pm, "dileep singh" <discover.dile...@gmail.com>
wrote:
> 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 client is
> dere.Do we need to add something xtra in manifestfile or what?
> Thanks
>
> On Wed, Dec 17, 2008 at 4:56 PM, Peli <peli0...@googlemail.com> wrote:
>
> > 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
>
> > On Dec 17, 2:49 am, "Dianne Hackborn" <hack...@android.com> wrote:
> > > There is a lot of stuff missing from that doc.
>
> >  > On Tue, Dec 16, 2008 at 2:26 PM, filbert <filbert...@gmail.com> 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.  That is a possible explanation but my
> > > > attempts to use mailto: in a URL result in errors..  unfortunately I
> > > > cannot list the exact error here b/c I already switched to Peli's
> > > > suggested method of emailing.
>
> > > > Siva, for your "no application" error my guess is that the android
> > > > emulator does not have an e-mail application since it doesn't actually
> > > > know who you are (you'll notice there is no email or gmail app in the
> > > > emulator's app list).  I don't know if a developer phone would work
> > > > either.  You may want to consider testing on a real phone and seeing
> > > > if it works... that is what I plan to do once i get my app to a stable
> > > > state.
>
> > > > On Dec 13, 10:31 pm, Siva G <sivarama...@gmail.com> 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 <peli0...@googlemail.com> 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, "emailtext");
> > > > > > 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" <sunitkat...@gmail.com> 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 <
> > > > xavieruni...@gmail.com>wrote:
>
> > > > > > > > Would They Be Using Gmail? If So You Could Have It Programed
> > With
> > > > IMAP!
>
> > > > > > > > On 12/01/2008, Jay-andro <jayan...@gmail.com> wrote:
>
> > > > > > > > > I too want tosendemailprogrammtaically (i.e without
> > asendform).
> > > > > > > > > I've got it working with my hardcoded credentials, but I want
> > my
> > > > app
> > > > > > > > > to use the user's account tosendtheemailfrom the user's
> > account
> > > > > > > > > and receive replies to his account. How do I do this?
>
> > > > > > > > > On Nov 12, 10:51 am, "Sunit Katkar" <sunitkat...@gmail.com>
> > > > wrote:
> > > > > > > > >> Thank you. I will try this.
>
> > > > > > > > >> On Wed, Nov 12, 2008 at 12:44 AM, Peli <
> > peli0...@googlemail.com>
> > > > 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" <sunitkat...@gmail.com
>
> > > > wrote:
> > > > > > > > >> > > Ok how would I implement the 'sendform'. 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 theEmailOutbox. How can I put a
> > simple
> > > > text
> > > > > > > > >> > message
> > > > > > > > >> > > as anemailin 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 <
> > > > abom...@gmail.com>
> > > > > > > > >> > wrote:
> > > > > > > > >> > > > If you don't want to direct the user to the
> > > > typicalsendform,
> > > > > > > > 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 <
> > > > > > > > sunitkat...@gmail.com
> > > > > > > > >> > >wrote:
>
> > > > > > > > >> > > >> Any ideas? Any pointers to some examples?
>
> > > > > > > > >> > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar
> > > > > > > > >> > > >> <sunitkat...@gmail.com
> > > > > > > > >> > >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 viaemailto a
> > > > predeterminedemail
> > > > > > > > >> > address.
> > > > > > > > >> > > >>> How can I achieve this?
>
> > > > > > > > >> > > >>> Sorry for being lazy and not looking up the SDK docs
> > :)
>
> > > > > > > > >> > > >>> PS: I have configured theEMAILapp on G1 using
> > > > theEmailsetup
> > > > > > > > >> > steps, so
> > > > > > > > >> > > >>> it can receive andsendemailfrom myemailaccount.
>
> > > > > > > > >> > > >>> --
> > > > > > > > >> > > >>> - 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
> > > > > > > > xavieruni...@gmail.com¥xavieruni...@hotmail.com¥
> > > > truestar...@yahoo.com
> > > > > > > > "Fear of a name, only increases fear of the thing itself."
>
> > > --
> > > Dianne Hackborn
> > > Android framework engineer
> > > hack...@android.com
>
> > > Note: please don't send private questions to me, as I don't have time to
> > > provide private support.  All such questions should be posted on public
> > > forums, where I and others can see and answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to