views:

314

answers:

3

1) hi i have user's latitude n longitude available with me who is in new york,USA.

2) i have an address of a shop in new york ,USA

now how can i generate a route map from my location to that shop's location

How can i fetch shop's latitude,longitude...

3) i m working on Bold-9000 simulator

kindly help!!!!!!!

+2  A: 

Hi! Will this help? http://docs.blackberry.com/en/developers/deliverables/8106/Start_a_BB_device_app_from_BB_Maps_467982_11.jsp

User Friendly
It sounds like they want to go the other way, that is from their app they's like to open the BlackBerry Maps app with the specified coordinates mapping a route.
Marc Novakowski
User Friendly this link is very good but Marc is right i have to open BB maps and get route when specific coordinates are passed..
SWATI
+1  A: 

Take a look at this KnowledgeBase article for details on how to launch the BlackBerry Maps application from your own, passing it various types of data (including GPS coordinates for mapping directions).

To get the lat/long for an address there is no RIM API available, however you could use a webservice such as the one provided by Google: http://code.google.com/apis/maps/documentation/services.html

Marc Novakowski
Marc i visited that site earlier also but i couldn't find how to get the latitude , longitude of a shop corresponding to its address....
SWATI
Edited my answer to include a link to a Google webservice to convert an address to lat/long coordinates.
Marc Novakowski
hey Marc thanks for the help ,i got my answer!!
SWATI
+1  A: 

i haven't tried but i think this link will help you.

Vivart
Vivart this link works with google mapsi want to use BB mapsmoreover i dont have the latitude n longitude of the shop whose route i have to find,how to get that is also a question
SWATI