07-03-2013 03:39 PM
I've been working on this for about 3 days now. I downloaded the webworks APIs here : https://github.com/blackberry/WebWorks-Community-A
All I want is to use the FileUpload API with my BlackBerry 7.1.0 webworks app. The instructions on the GitHub are wrong, and the instructions for adding a custom extension here:https://developer.blackberry.com/html5/documentati
Right now what I've tried is adding the webworks/io folder and the library.xml to a new folder in my SDK extensions called "blackberry.io.FileUpload". I then try to use the functions like a regular extension by calling webworks.io.FileUpload in my project. The feature IS included in my config.xml. However, every time I get the same error; that it "can't find variable: webworks".
Has anyone successfully pieced together how to add one of these API's to their project?
07-03-2013 03:53 PM
Nevermind, I think I figured it out. For anyone else who wants to know this is a little bit clearer of a tutorial: http://supportforums.blackberry.com/t5/Web-and-Web
The problem with the tutorial on the blackberry site is, I don't think it ever explicitly states that you have to package the library, AND the .java files together into a .jar file, and then have only that .jar in your extension folder. It shows only 1 jar at the very bottom, but the instructions never tell you.
07-05-2013 01:57 PM
Sadly there are some extensions which don't follow the rules
I suggest reporting it to @twindsor (guthib / twitter)
Dropped you in it again Tim (look on the bright side = working again)