I want to try your API with the tutorial, until Page 6 of http://www.nutiteq.com/system/files/Hello%20Map%20tutorial%20-%20Android_1_0_2.pdf .
The Eclipse shows error on "mapComponent.setMap(new CloudMade", and in the android_maps_lib-1.1.0.jar in the project browser, the "CloudMadeTokenRequest" and "CloudMadeTokenRequest(CloudMade)" in the CloudMade.class show the red error cross.
When double-clicked it, it says "Source not found." for "CloudMade$CloudMadeTokenRequest.class".
But the android_maps_lib-1.1.0.jar actually contains the file with this name in winzip.
Please help. Where can I solve this error? Many thanks.
Gary
The tutorial is a bit outdated. The constructor of CloudMade map requires also user id string, so it should be something like :
map.setMap(new CloudMade(CLOUDMADE_KEY, userId, 256, 1));
User ID string is expected to be unique to the end-user (or device), but in fact single static value works just as well. If you do not have application end-user ID-s (login) then http://android-developers.blogspot.com/2011/03/identifying-app-installations.html might give some hints how to get device IDs.
You can find more up-to-date Android code sample from https://bitbucket.org/nutiteq/android-map-samples project, which has many advanced features.
/JaakL