Call external URL from PhoneGap App

112 views
Skip to first unread message

SCGrant327

unread,
Jun 7, 2011, 1:55:05 PM6/7/11
to phonegap
I want to be able to upload data to a website from withing my phonegap
app...can someone point me in the right direction?

Thanks,
Sam

Simon MacDonald

unread,
Jun 7, 2011, 3:18:56 PM6/7/11
to phon...@googlegroups.com

or just use AJAX to send data to your web server.

Simon Mac Donald
http://hi.im/simonmacdonald


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

SCGrant327

unread,
Jun 8, 2011, 9:11:47 AM6/8/11
to phonegap
Simon,

Thanks for the info. My app will be uploading via a PHP call to a
server...

--Sam

On Jun 7, 2:18 pm, Simon MacDonald <simon.macdon...@gmail.com> wrote:
> File upload:http://docs.phonegap.com/phonegap_file_file.md.html#FileTransfer
>
> or just use AJAX to send data to your web server.
>
> Simon Mac Donaldhttp://hi.im/simonmacdonald
>
>
>
> On Tue, Jun 7, 2011 at 1:55 PM, SCGrant327 <samuelgrant...@gmail.com> wrote:
> > I want to be able to upload data to a website from withing my phonegap
> > app...can someone point me in the right direction?
>
> > Thanks,
> > Sam
>
> > --
> > 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 towww.phonegap.com- Hide quoted text -
>
> - Show quoted text -

SCGrant327

unread,
Jun 8, 2011, 9:22:08 AM6/8/11
to phonegap
After looking through teh FileTransfer docs, It appears to be
useful...

How do you go about doing the AJAX calls with PhoneGap? I don't see
any 'web' related topics in the API.

On Jun 7, 2:18 pm, Simon MacDonald <simon.macdon...@gmail.com> wrote:
> File upload:http://docs.phonegap.com/phonegap_file_file.md.html#FileTransfer
>
> or just use AJAX to send data to your web server.
>
> Simon Mac Donaldhttp://hi.im/simonmacdonald
>
>
>
> On Tue, Jun 7, 2011 at 1:55 PM, SCGrant327 <samuelgrant...@gmail.com> wrote:
> > I want to be able to upload data to a website from withing my phonegap
> > app...can someone point me in the right direction?
>
> > Thanks,
> > Sam
>
> > --
> > 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
>

Nick McCloud

unread,
Jun 8, 2011, 11:49:05 AM6/8/11
to phonegap
Just use AJAX as normal - the only thing special about PhoneGap is it
can talk to any url as its base url is a file.
> > > For more info on PhoneGap or to download the code go towww.phonegap.com-Hide quoted text -
Reply all
Reply to author
Forward
0 new messages