Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
samdonly1
Posts: 28
Registered: ‎11-17-2012
My Device: -

A good free/cheap service for XHR2 uploading

My application uses XHR2 uploading of a camera image. I have taken hint from Webworks samples: https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/camera

 

Can anybody suggest a good ready to use XHR2 service which is free/cheap.

Retired
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: A good free/cheap service for XHR2 uploading

We've also published a fileTransfer sample app that shows how to upload a file using XHR2 and how to process it server-side using nodeJS:

 

https://github.com/blackberry/BB10-WebWorks-Samples/tree/master/fileTransfer

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Contributor
samdonly1
Posts: 28
Registered: ‎11-17-2012
My Device: -

Re: A good free/cheap service for XHR2 uploading

The file is sent to the server on the brows, but when i test it on Dev Alpha Simulator, then the file is not sent. Is there any issue with the server configuration, i have used amazon ec2
Contributor
samdonly1
Posts: 28
Registered: ‎11-17-2012
My Device: -

Re: A good free/cheap service for XHR2 uploading

is there any quick way to set up server and test it also. The simulator takes days to respond
BlackBerry Development Advisor
chadtatro
Posts: 620
Registered: ‎10-01-2009
My Device: Z10

Re: A good free/cheap service for XHR2 uploading

There are some free online services where you can send requests to, I've used http://www.posttestserver.com/ in the past and it worked for my basic testing needs.

Chad Tetreault | App Development Consultant | BlackBerry Developer Relations | developer.blackberry.com | @chadtatro