phonegap and email, sms

33 views
Skip to first unread message

robert_t

unread,
Apr 28, 2009, 4:05:47 PM4/28/09
to phonegap
Phonegap looks really interesting. I haven't read through much yet but
was wondering if it's possible to send email or sms from a phonegap
application?

Thanks
Robert

davidroe

unread,
Apr 28, 2009, 7:17:28 PM4/28/09
to phonegap
email, yes, you can prepare recipient, subject and body and present
the message to the user.
sms, don't think so, but would love to hear otherwise.

/dave

PanMan

unread,
Apr 28, 2009, 7:33:04 PM4/28/09
to phonegap
From what I understand sofar you can fire the SMS editor with the
number. Unfortunately you can't pre-set the message for SMS (as you
can with Email). This is quite a disappointing limitation, but AFAIK
it's a limit on the iPhone platform, not phonegap.
Just my 2 cents,
PanMan.

Ron Braithwaite

unread,
Apr 28, 2009, 8:32:26 PM4/28/09
to phon...@googlegroups.com
On Apr 28, 2009, at 4:17 PM, davidroe wrote:
>
> email, yes, you can prepare recipient, subject and body and present
> the message to the user.

Do you have a link to some example code?

> sms, don't think so, but would love to hear otherwise.

Yes, that would be good!

Jeremy Wadsack

unread,
Apr 28, 2009, 8:51:08 PM4/28/09
to phon...@googlegroups.com

<a href="mailto:fri...@example.com?Subject=check this out">send mail</a>

- Jeremy

On Apr 28, 2009 5:32 PM, "Ron Braithwaite" <r...@braithwaites.net> wrote:

On Apr 28, 2009, at 4:17 PM, davidroe wrote: > > email, yes, you can prepare recipient, subject and...

Do you have a link to some example code?

> sms, don't think so, but would love to hear otherwise.

Yes, that would be good!

--~--~---------~--~----~------------~-------~--~----~ You received this message because you are su...

Ron Braithwaite

unread,
Apr 28, 2009, 9:09:21 PM4/28/09
to phon...@googlegroups.com
On Apr 28, 2009, at 5:51 PM, Jeremy Wadsack wrote:

<a href="mailto:fri...@example.com?Subject=check this out">send mail</a>

- Jeremy

Ah, yes, a basic misunderstanding. 

What I meant was that I would like to send generate an HTML email body (and possibly not even showing it to the user, although that's optional), squirting it out using JavaScript and not leaving the program for Mail.

Got any example code for that?

-Ron

Peter Robinett

unread,
Apr 29, 2009, 1:23:14 AM4/29/09
to phonegap
Using Apple's Mail system to send an email from within your app will
only be possible in OS 3.0, which is currently in beta.

Peter Robinett

Robert Turrall

unread,
Apr 29, 2009, 3:46:31 AM4/29/09
to phon...@googlegroups.com
This is what I was really asking. Thanks for the answers!

OK, another question: Is it possible to send data to a URL without user intervention or user knowledge?

Thanks
Robert
turrall consulting
internet | new media

Postfach 151 | CH-8802 Kilchberg | +41 44 586 5691 | www.turrall.ch

CONFIDENTIALITY NOTICE. This email, together with any attachments, is for the exclusive and confidential use of the addressee(s).
Any other distribution, use or reproduction without the sender's prior consent is unauthorized and strictly prohibited. If you have received
this message in error, please notify the sender by email immediately and delete the message from your computer without making any copies.

Please consider the environment before printing out this email.



Peter Robinett wrote:
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com
-~----------~----~----~----~------~----~------~--~---


  

PanMan

unread,
Apr 29, 2009, 7:01:39 AM4/29/09
to phonegap
Yes. You can do AJAX calls...

PanMan.

On Apr 29, 9:46 am, Robert Turrall <rob...@turrall.net> wrote:
> This is what I was really asking. Thanks for the answers!
>
> OK, another question: Is it possible to send data to a URL without user
> intervention or user knowledge?
>
> Thanks
> Robert
> turrall consulting
> internet | new media
>
> Postfach 151 | CH-8802 Kilchberg | +41 44 586 5691 |www.turrall.ch
> <http://www.turrall.ch>

Robert Turrall

unread,
Apr 29, 2009, 7:12:08 AM4/29/09
to phon...@googlegroups.com
After I posted the question, I thought...surely, AJAX..... ;-)

Thanks for the confirmation PanMan!!

Rolling my sleeves up to get coding :-)

Rob Ellis

unread,
Apr 29, 2009, 11:28:58 AM4/29/09
to phon...@googlegroups.com
This happens all the time on the web. Use an XHR request on a simple event like onload.

Rob E
Phonegap
Nitobi.com
 
Sent from my iPhone

On 29-Apr-09, at 12:46 AM, Robert Turrall <rob...@turrall.net> wrote:

This is what I was really asking. Thanks for the answers!

OK, another question: Is it possible to send data to a URL without user intervention or user knowledge?

Thanks
Robert
<turrallconsulting_logo_blog.gif>

internet | new media

Postfach 151 | CH-8802 Kilchberg | +41 44 586 5691 | www.turrall.ch

CONFIDENTIALITY NOTICE. This email, together with any attachments, is for the exclusive and confidential use of the addressee(s).
Any other distribution, use or reproduction without the sender's prior consent is unauthorized and strictly prohibited. If you have received
this message in error, please notify the sender by email immediately and delete the message from your computer without making any copies.

Please consider the environment before printing out this email.

Reply all
Reply to author
Forward
0 new messages