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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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 <[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/-AndroidOS Tutorials
>> >
>> > > > > > >> --
>> > > > > > >> - Sunit Katkar
>> > > > > > >>http://sunitkatkar.blogspot.com/-AndroidOS Tutorials
>> >
>> > > > > > > --
>> > > > > > > Andrew Burgess
>> >
>> > > > > > --
>> > > > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-AndroidOSTutorials
>> >
>> > > > --
>> > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-Android OS Tutorials
>> >
>> > --
>> > Dianne Hackborn
>> > Android framework engineer
>> > [EMAIL PROTECTED]
>> >
>> > 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.
>> >>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [EMAIL PROTECTED]
>
>
> 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.
>
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to