hi all,
I'm using rimui_maps_lib-1.1.0.jar in my application.
I'm able to use the jar in blackberry 5.0 but when trying
to use the same in blackberry 6.0 application, its showing red mark near the project and I got an error as below.
Packaging Projects project_name failed(took 1.798 seconds).
Does rimui_maps_lib-1.1.0.jar supports blackberry 6.0 or not. If supports, how can I consume rimui_maps_lib-1.1.0.jar in my blackberry application.
Please help me, its very urgent for me in my project
It looks like an IDE issue - what IDE to you use : JDE, Eclipse plugin, something else, and which version exactly?
I am also having problems with bb 6 although in my case it may be down to inexperience. I downloaded the HelloMap sample, but had problems with the MapField class so renamed it to MapFieldTouch which seemed OK.
However the project fails to package with the following message
Description Resource Path Location Type
C:\Users\gbiabro\Documents\Blackberry Development\Workspace\HelloMap\rimui_maps_lib-1.1.0.jar(org/json/me/JSONArray.class): Error!: Duplicate definition for 'org.json.me.JSONArray' found in: org.json.me.JSONArray HelloMap line 0 BlackBerry Packaging Problem
I am using Elcipse with BB add-in and recent download of Nititeq library.
Having done a bit more digging it appears that a number of classes shipped in the Netiteq rumui library are also now being shipped as part of the Eclipse 6.0 SDK, particularly package "org.json.me" which is giving the duplicate class error. This package is not present in the 5.0 SDK to the application builds OK under this version.
It is probably possible to fix SDK JAR file manually - just remove org/json directory. This would be temporary workaround.
It is probably possible to fix SDK JAR file manually - just remove org/json directory. This would be temporary workaround.
maybe a stupid question, but how can I do this? I use the blackberry plugin for eclipse and there the option delete is greyed out when I select the org.json.me package.
I would uncompress jar file (it is a zip really), delete subdirectories with file manager and compress it again to a zip. THen use the zip instead of original jar.
I managed to unpack the rimui_maps_lib-1.1.0.jar to the file system, deleted the concerning package and packed a new jar file. This way I can compile it with BlackBerry JRE 6.0. I have two apps that use maps from CloudMade. One that was compiled with BB JRE 5.0 seems to run fine on the BB Bold 9700 that was updated to OS 6. However another more complex application compiled with BB JRE 6.0 crashes when tryin to pikc up the Cloudmade token.
There is now SDK update (beta) for JDK 6 available on http://www.nutiteq.com/beta/lib/ - it has specific build for RIM 6.0. rimui6_maps_lib-1.1.1a.jar file specifically.
It works in my simple sample application.
Try JarPlug with Eclipse to remove org/json folder from library and generate new library. It worked for me. :
http://jar-plug.sourceforge.net/
Thank you for your report. We have not yet validated Nutiteq Lib SDK for BlackBerry 6.0. We will do it with next library release, but we don't have specific ETA for it.
/JaakL