Map API

Nutiteq Maps Lib SDK enables developing advanced mobile mapping applications.
Platforms: Android, RIM BlackBerry, Java ME (J2ME)
Download maps API SDK »
Untitled Document

Products

» View demos
» Downloads

Uudised

Viimane: Thu, 15 Mar 2012 14:51:08
Teema: Vabad töökohad pakkuda
Veel uudiseid »

rimui_maps_lib-1.1.0.jar not working on bb 6.0

11 replies [Last post]
saranmywork
User offline. Last seen 1 year 13 weeks ago. Offline
Joined: 01/27/2011

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

jaak
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 06/19/2008

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

jaak
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 06/19/2008

It looks like an IDE issue - what IDE to you use : JDE, Eclipse plugin, something else, and which version exactly?

/JaakL

Iain Brownlie
User offline. Last seen 1 year 13 weeks ago. Offline
Joined: 02/03/2011

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.

I G Brownlie

Iain Brownlie
User offline. Last seen 1 year 13 weeks ago. Offline
Joined: 02/03/2011

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.

I G Brownlie

jaak
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 06/19/2008

It is probably possible to fix SDK JAR file manually - just remove org/json directory. This would be temporary workaround.

/JaakL

navad
User offline. Last seen 52 weeks 19 hours ago. Offline
Joined: 11/03/2010

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.

jaak
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 06/19/2008

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.

/JaakL

navad
User offline. Last seen 52 weeks 19 hours ago. Offline
Joined: 11/03/2010

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.

jaak
User offline. Last seen 4 days 20 hours ago. Offline
Joined: 06/19/2008

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.

/JaakL

Nishant Modi
User offline. Last seen 43 weeks 4 days ago. Offline
Joined: 10/17/2008

Try JarPlug with Eclipse to remove org/json folder from library and generate new library. It worked for me. :
http://jar-plug.sourceforge.net/