I have just joined this meetup - seems very interesting group.
Sorry for so many technical information, but I think it would be difficult to understand the issue without it :).
We are currently trying to get SUP to work on blackberry using the blackberry webworks 2.2 and phonegap 1.1.
What we have successfully managed to this point:
-We got the SUP101 tutorial to run on Simulator and device.
-We can run Phonegap projects.
-We created and called from phonegap our own jar files
-We were able to add other third party jars to a project and call it.
What we are not able to do:
We have been pursuing 2 methods to get SUP to work with webworks:
1)Adding sup_client_rim, UltraLiteJ, CommonClient inside the phonegap plugin.
This method works fine for other Jar files (that we created ourselves or that downloaded such as the twitter libraries).
The project compiles correctly with BlackBerry Web Packer and the project get uploaded to the device.
Unfortunately when we try to launch the application we get an error:
Error starting MyApp: Module 'MyApp' has verification error 1691 at offset 0ed9 (code file version 79).
Our understanding of this error is that the sup jar do not follow the blackberry code recommendations and when passed through BlackBerry Webworks Packager, it generate some invalid code that prevent the application form launching.
2)The second method we tried is to do like for the SUP101 tutorial: compile the code without uploading the SUP jar inside the application, and then pushing the SUP libraries onto the device separately.
However when we try run our code, we get a class not found exception that indicates that the application doesn’t find the SUP libraries in the same way as the native application does.
Our research into this problem led us to the to the 2 following questions :
1)Why does the sup jar files create a verification error in blackberry webworks?
2)How can we configure a webworks project so that it can access the sup libraries in the same way that the blackberry eclipse plugin native project does?