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.
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 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.
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 <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 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.
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.
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 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 <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 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.
> 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 <abom...@gmail.com> 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 <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 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.
> On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com> > 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 <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 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.
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" <sunitkat...@gmail.com> wrote:
> > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> > 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 <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 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.
> 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" <sunitkat...@gmail.com> wrote:
>> Thank you. I will try this.
>> On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
>> > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
>> > 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 <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 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.
-- 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."
> 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 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" <sunitkat...@gmail.com> wrote:
> >> Thank you. I will try this.
> >> On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> >> > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> >> > 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 <
> 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 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.
> --
> 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."
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
this) is not a high priority for the platform; actually, I would personally
much prefer that apps go through the mail UI so the user can be aware of and
confirm whatever some non-mail app is sending on their behalf.
On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
> > Thank you. I will try this.
> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> > > 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 <
> 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 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.
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 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 this) is not a high priority for the platform; actually, I would
> personally much prefer that apps go through the mail UI so the user can be
> aware of and confirm whatever some non-mail app is sending on their behalf.
> As a user, wouldn't you prefer this too? :}
> On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
>> > Thank you. I will try this.
>> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
>> > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
>> > > 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 <
>> 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 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.
> 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.
> 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 <hack...@android.com>wrote:
> > 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 this) is not a high priority for the platform; actually, I would
> > personally much prefer that apps go through the mail UI so the user can be
> > aware of and confirm whatever some non-mail app is sending on their behalf.
> > As a user, wouldn't you prefer this too? :}
> > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
> >> > Thank you. I will try this.
> >> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> >> > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> >> > > 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 <
> >> 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 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.
> > 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.
> On Dec 6, 8:32 pm, "Sunit Katkar" <sunitkat...@gmail.com> 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
>> <hack...@android.com>wrote:
>> > 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 this) is not a high priority for the platform; actually, I would
>> > personally much prefer that apps go through the mail UI so the user can
>> > be
>> > aware of and confirm whatever some non-mail app is sending on their
>> > behalf.
>> > As a user, wouldn't you prefer this too? :}
>> > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
>> >> > Thank you. I will try this.
>> >> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com>
>> >> > wrote:
>> >> > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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
>> >> > > > <abom...@gmail.com>
>> >> > > 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 <
>> >> 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 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.
>> > 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.
-- 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."
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 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.
Second, consider the following use cases where this requirement comes
up:
- A salesforce phone app is set up to always send an email to the
sales supervisor when a customer support person updates a customer
ticket. The email is automatic and informational
- A service rep (cable guy) app is set up to automatically email the
service supervisor, when a rep leaves the location of his/her last
service order.
- A game is set up to automatically email the highest score to all
members of a game-group
In all cases, the app would advertise the auto-email as a feature,
that the user can opt into or out of.
thx
jay
On Dec 6, 2:13 pm, "Dianne Hackborn" <hack...@android.com> wrote:
> 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
> this) is not a high priority for the platform; actually, I would personally
> much prefer that apps go through the mail UI so the user can be aware of and
> confirm whatever some non-mail app is sending on their behalf.
> As a user, wouldn't you prefer this too? :}
> On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
> > > Thank you. I will try this.
> > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> > > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> > > > 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 <
> > 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 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.
> 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.
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
core platform work, so I doubt a feature like it would be added without
someone who wants it coming in and making it happen.
On Mon, Dec 8, 2008 at 8:44 PM, Jay-andro <jayan...@gmail.com> wrote:
> 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 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.
> Second, consider the following use cases where this requirement comes
> up:
> - A salesforce phone app is set up to always send an email to the
> sales supervisor when a customer support person updates a customer
> ticket. The email is automatic and informational
> - A service rep (cable guy) app is set up to automatically email the
> service supervisor, when a rep leaves the location of his/her last
> service order.
> - A game is set up to automatically email the highest score to all
> members of a game-group
> In all cases, the app would advertise the auto-email as a feature,
> that the user can opt into or out of.
> thx
> jay
> On Dec 6, 2:13 pm, "Dianne Hackborn" <hack...@android.com> wrote:
> > 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
> > this) is not a high priority for the platform; actually, I would
> personally
> > much prefer that apps go through the mail UI so the user can be aware of
> and
> > confirm whatever some non-mail app is sending on their behalf.
> > As a user, wouldn't you prefer this too? :}
> > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
> > > > Thank you. I will try this.
> > > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com>
> wrote:
> > > > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <
> abom...@gmail.com>
> > > > > 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 <
> > > 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 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.
> > 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.
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.
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 addressed though, such as what to do with multiple e-mail apps with
multiple accounts.
Anyway, the point is that this is an open source project. You aren't
dependent on Google for things, you don't have to sit here begging for
people to give you features you want, if you feel strongly about something
you can make it happen.
On Mon, Dec 8, 2008 at 9:31 PM, Dianne Hackborn <hack...@android.com> wrote:
> 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
> core platform work, so I doubt a feature like it would be added without
> someone who wants it coming in and making it happen.
> On Mon, Dec 8, 2008 at 8:44 PM, Jay-andro <jayan...@gmail.com> wrote:
>> 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 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.
>> Second, consider the following use cases where this requirement comes
>> up:
>> - A salesforce phone app is set up to always send an email to the
>> sales supervisor when a customer support person updates a customer
>> ticket. The email is automatic and informational
>> - A service rep (cable guy) app is set up to automatically email the
>> service supervisor, when a rep leaves the location of his/her last
>> service order.
>> - A game is set up to automatically email the highest score to all
>> members of a game-group
>> In all cases, the app would advertise the auto-email as a feature,
>> that the user can opt into or out of.
>> thx
>> jay
>> On Dec 6, 2:13 pm, "Dianne Hackborn" <hack...@android.com> wrote:
>> > 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
>> > this) is not a high priority for the platform; actually, I would
>> personally
>> > much prefer that apps go through the mail UI so the user can be aware of
>> and
>> > confirm whatever some non-mail app is sending on their behalf.
>> > As a user, wouldn't you prefer this too? :}
>> > On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <jayan...@gmail.com> 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" <sunitkat...@gmail.com> wrote:
>> > > > Thank you. I will try this.
>> > > > On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com>
>> wrote:
>> > > > > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <
>> abom...@gmail.com>
>> > > > > 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 <
>> > > 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 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.
>> > 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.
> 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.
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.
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 this completely unacceptable. But, that's just me.
> Second, consider the following use cases where this requirement comes > up:
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.
I can see the argument that it would be nice to have an option where the user didn't have to configure that email information again. However, please understand that under no circumstances you should be assuming that the user *wants* you to use the pre-configured account for any of these situations. Hence, you're going to need to support allowing the user to specify alternative SMTP credentials, anyway.
Long term, I can definitely see where Android might evolve a general-purpose email service, where the user can create multiple accounts, and it is easy for applications to allow the user to choose which of those accounts to use (or launch an activity to define a new account, etc.). However, as with any open source project, how long the "long" in "long term" is depends on who all has itches and decides to scratch them.
-- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
I don't think having the user enter their email information one time for each app that needs it a big deal.
Does android have a standardized email settings dialog box we can invoke? Or do we have to roll our own?
If there isn't one already that would be a great little project for someone that wants to make a contribution to the community. I'll do it myself when I get to that part of my application if it's not already done.
[mailto:android-developers@googlegroups.com] 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 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 this completely unacceptable. But, that's just me.
> Second, consider the following use cases where this requirement comes > up:
On Tue, Dec 9, 2008 at 10:47 AM, Brad Gies <rbg...@gmail.com> 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 don't think it makes sense to try to come up with a general-purpose UI for this as part of the platform, though of course making one that others can re-use embedded in their apps would be great.
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.
On Dec 9, 12:47 pm, "Dianne Hackborn" <hack...@android.com> 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
> of course making one that others can re-use embedded in their apps would be
> great.
I don't think a general-purpose UI for sending email sounds useful,
but a general-purpose API for email definitely sounds useful.
Obviously, it would have to be a privilege you grant an application
("access your email" and "send email on your behalf" seem like
good candidates), but given that the phone is so connected to my
gmail account, I was really surprised to not be allowed to take
advantage of it from my own apps. For example, one of the first
apps I wanted to write was something that would hook into an
"incoming mail" notification and play custom notification sounds
based on simple message-matching rules. I don't think it's doable
unless I want to duplicate IMAP client functionality and force the
user to provide/manage duplicate credentials. Pretty lame from
a platform standpoint.
> 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 want an app sending mail on my behalf, ever --- especially if it's through my account!
But I *would* like an API that allows an app to launch the email application of my choice, with subject, recipient and body filled in, so that I can inspect it and press SEND if I choose. This has another advantage that it ought to be really easy to implement, requiring only a standardised intent with the data packed into it --- e.g. mailto:/...@cowlark.com?subject=Subject&body=Body, which is not only how the web does it, but is also a standard:
Am I right in thinking that the only thing this needs to work is that email apps declare themselves as supporting the mailto: data scheme? Do any Android email apps do this already?
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 data -- it is the generic action you can use on * a piece of data to get the most reasonable thing to occur. For example, * when used on a contacts entry it will view the entry; when used on a * mailto: URI it will bring up a compose window filled with the information * supplied by the URI; when used with a tel: URI it will invoke the * dialer. * <p>Input: {@link #getData} is URI from which to retrieve data. * <p>Output: nothing. */
So all you have to do is create an intent with the ACTION_VIEW action, a "mailto:" scheme in the Uri, and send it.
This mailto URL works nicely in Firefox (Linux and WinXP) and Internet Explorer (WinXP), and android.net.MailTo parses it just fine. In the case of the browsers, it pops open a message in the default mail program with the addressee, subject, and body populated.
This pops up the mail app chooser (Email vs. Google Mail), as expected. However, neither parse out the subject or the body, leaving those blank. Heck, Mail doesn't even seem to parse out the addressee, leaving that blank; Google Mail has the addressee as "f...@gmail.com".
Now, if I use java.net.URLEncoder on the component parts, I get the same mailto: URL, except %20 is replaced by +. If I try that URL, Mail slams the whole mailto: (minus the scheme) in the To: field, and Google Mail behaves as before. Since the use of + signs seems to violate RFC 2368 for mailto: URLs, and since Firefox seemed to like %20 better, I figure that's the better answer.
Issue 978 reports the same behavior. I have added these comments there as well.
But, if you think this is supposed to work, I feel like I'm missing something.
-- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.9 Published!
> 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 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" <sunitkat...@gmail.com> wrote:
> > >> Thank you. I will try this.
> > >> On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> > >> > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> > >> > 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 <
> > 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 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.
> > --
> > 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."
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:
> > 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 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" <sunitkat...@gmail.com> wrote:
> > > >> Thank you. I will try this.
> > > >> On Wed, Nov 12, 2008 at 12:44 AM, Peli <peli0...@googlemail.com> wrote:
> > > >> > On Nov 12, 8:52 am, "Sunit Katkar" <sunitkat...@gmail.com> 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 <abom...@gmail.com>
> > > >> > 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 <
> > > sunitkat...@gmail.com
> > > >> > >wrote:
> > > >> > > >> Any ideas? Any pointers to some examples?
> > > >> > > >>> 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.
> > > --
> > > 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."