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

Latest news

Last at Tue, 3 Apr 2012 23:31:42
Topic: MapXT SDK evaluation
See more news »

StoredMaps not displaying. Error > Error in task runner: null

1 reply [Last post]
vsriram_i
User offline. Last seen 38 weeks 14 hours ago. Offline
Joined: 08/17/2011

Hi,
Iam using the "maps-lib-blackberry_1_1_0_0.zip" for BlackBerry 6.0.
I have been able to download a tile and store to the SD Card. Iam now trying to set a StoredMap to mapcomponent to display the tile. Iam getting a blank white screen and error message:
"Debug > Loading file:///SDCard/MGMapsCache/cache.conf
Error > Error in task runner: null
No stack trace".

I have generated a config.cache file in file:///SDCard/MGMapsCache/ location and the map tile generated in "C:\SDCard\MGMapsCache\CloudMade_15"(map type-cloudmade and zoom 15) and file name "17598_10749.mgm".

Iam using the following code for setting the stored map:

StoredMap storedMaps = new StoredMap("CloudMade", "/SDCard/MGMapsCache", true);

JSR75FileSystem fs = new JSR75FileSystem();
_map.setFileSystem(fs);
_map.setMap(storedMaps);
(_map properly intitialized)

Can you please let me know what am I doing wrong?

Thanks in advance.
V. Sriram

vsriram_i
User offline. Last seen 38 weeks 14 hours ago. Offline
Joined: 08/17/2011

Issue solved. My bad. The file name must be cache.conf and not cache.config.

Thanks,
V. Sriram