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
Developer
Posts: 124
Registered: ‎09-06-2010
My Device: Not Specified

Re: Upload file from widget

Here's an example of how to upload from a JavaScript Extension (native Java).

 

https://github.com/phonegap/phonegap-blackberry-webworks/tree/master/framework/ext/src/com/phonegap/...

 

It's not perfect (would be better to break up the file due to BIS limit of 2MB per connection), but it works. 

 

I've uploaded 2+ MB files via http and https.

 

New Contributor
Posts: 3
Registered: ‎02-07-2011
My Device: 9000
My Carrier: AT&T

Re: Upload file from widget

hi, can everybody this java source code translated in a webworks extension? the functions is really important for everyone or Smiley Happy ?

 

cu

WWFan

Developer
Posts: 124
Registered: ‎09-06-2010
My Device: Not Specified

Re: Upload file from widget

It is unclear what you're asking.

 

If you don't see what you need in the WebWorks API(s), you need an extension.

 

WebWorks Extensions == Java on BB OS 5.0 and 6.0.

 

WebWorks Extensions don't exist for PlayBook yet.

 

 

Highlighted
New Contributor
Posts: 3
Registered: ‎02-07-2011
My Device: 9000
My Carrier: AT&T

Re: Upload file from widget

sorry, that was my fault. I meant of course a Javascript extension.

 

cu

WWF