Hi,
I occasionally have the case where my mapComponent is completely filled with red tiles and no matter what I do, for a couple of days, I just can't get the map.
I understand that a red tile is displayed when the library can't get the real one, but what does it imply when I can't get any tiles? I would have thought that if there was a network issue, the app wouldn't get past the license check stage.
We're testing our app on a trial license in South Africa and in Spain - could this have anything to do with it?
Thanks for your help
Just FYI - I get the red tiles when using ClodMade with tiles 128x128. Tiles for 64 or 256 works OK. The log shows following:
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2538.png
Debug > Connection opened in 625
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2538.png
Info > Downloading http://lbs.nutiteq.com/license.php?mykey=a87ff679a2f3e71d9181a67b7542122c4b4ceb9484e453%2E11722161&app=LIST&vendor=Wireless%20Lab&ver=1%2E0%2E2&platform=SunMicrosystems%5Fwtk&locale=en%2DUS&smsc=%2B12345678900
Debug > Connection opened in 344
Info > License: 2: OK, Trial
Debug > Response read in 0
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2537.png
Debug > Connection opened in 515
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2538.png
Debug > Connection opened in 531
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2537.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2538.png
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2537.png
Debug > Connection opened in 531
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2539.png
Debug > Connection opened in 531
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2539.png
Debug > Connection opened in 531
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2538.png
Debug > Connection opened in 563
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2537.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2539.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2539.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2538.png
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2537.png
Debug > Connection opened in 515
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2538.png
Debug > Connection opened in 437
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2537.png
Debug > Connection opened in 531
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2539.png
Debug > Connection opened in 547
Info > Downloading http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2539.png
Debug > Connection opened in 563
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2537.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2538.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2537.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5098/2539.png
Error > Could not retrieve http://tile.cloudmade.com/38089bf5cbe94174bd5868e8244acfa0/1/128/13/5097/2539.png
OK, I see now, my fault - CloudMade supports only 64 and 256 tiles, it's stated in javadoc.
Hi, try to put these:
Log.setShowDebug(true);
Log.setShowError(true);
Log.setShowInfo(true);
in your midlet constructor, and see what errors and log there are and than maybe we can find what is your error.
I think that if there is some License Check error you can't get any map tile from the network. Try check Midlet name and vendor in the jad file They need to be the same that you use for get your license key.