Hi All,
I am working on map and i want to show current location name so anyone suggest me how i achieve this task.
ps. showing current location is now also in https://bitbucket.org/nutiteq/blackberry-map-samples. Or do you want to get placename for the location? There is no built-in API in Nutiteq SDK for this, but there are other options. Maybe you can use Blackberry own API (http://docs.blackberry.com/en/developers/deliverables/11944/Reverse_geocode_API_example_869857_11.jsp) . There are also some online web services which can do it, I would try for example free MapQuest open API http://developer.mapquest.com/web/products/open/nominatim service. Check out Reverse Geocoding there. Sample request which gives JSON response: http://open.mapquestapi.com/nominatim/v1/reverse?format=json&json_callback=renderExampleThreeResults&lat=51.521435&lon=-0.162714
Hello jaak,
I want the current location address so can you provide your suggestion ASAP.
Did you see my second comment above?
Thanks jaak,
but blackberry doesn't provide Asian country map so we can't get the location name of Asian country by using BB function
if any other suggestion please provide me
Hello jaak
I want to change the image of "/person.png" in class PersonPlacemark.java with the stored image in phone gallery or capture by using camera
i done everything but when i use gallery or camera it return image in byte
FileConnection file = (FileConnection)Connector.open(filename);
InputStream is = file.openInputStream();
byte[] imageData = IOUtilities.streamToBytes(is);
so please provide your suggestion ASAP how i change image
There is guide how to get location on BlackBerry: http://supportforums.blackberry.com/t5/Java-Development/Location-APIs-Start-to-finish/ta-p/571949 . You can then add a Place to given location, but you need to remove it for new location, and add again. Nutiteq SDK has also location API based on JSR-179 standard, but it is not so flexible as BlackBerry API directly, with all criterias etc, so it may or may not work for your device/case.
/JaakL