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
Issue solved. My bad. The file name must be cache.conf and not cache.config.
Thanks,
V. Sriram