Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
saravanakumaran
Posts: 139
Registered: ‎05-25-2009
My Device: Not Specified

How to find the route using MapField?

Dear Friends,

 

             I want to find the route between two place using MapField.Can anyone tell me how to do this?

 

regards,

s.kumaran.

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to find the route using MapField?

you can't.
the bb uses a server based service for this, you can see the debug messages in the simulator if you use the maps application.
maybe it is possible to send own queries, but i don't know a way to do it using the API
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
saravanakumaran
Posts: 139
Registered: ‎05-25-2009
My Device: Not Specified

Re: How to find the route using MapField?

Hi simon , thanks for information.This is my first application in gps, i dont know how to proceed so,If u provide some more information about how to use server based service to find route information,then it will be very helpful to me..

 

 regards,

s.kumaran.

 

Developer
simon_hain
Posts: 16,282
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport

Re: How to find the route using MapField?

there is no api for the rim services. you can use google maps api or something similar, but you need an api key which can be costly for commercial apps. read their online documentation for further info.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How to find the route using MapField?

I dn't knw will this suite your requirement or not.. but you can invoke Balackberry maps and display the route between two given distinations.

 

Go thru this Developer Doc.

 

http://docs.blackberry.com/en/developers/deliverables/8105/BlackBerry_Java_Development_Environment-4...


Use Search. "Accept Solution" If the problem is resolved.
Developer
saravanakumaran
Posts: 139
Registered: ‎05-25-2009
My Device: Not Specified

Re: How to find the route using MapField?

I tried Blackberry maps but i cant able customize blackberry map.I try to change the pinpoint image of blackberry mapto my own image to locate a particular place but its not possible,that's y i plan to use MapField.
Developer
BBDeveloper
Posts: 3,951
Registered: ‎07-15-2008
My Device: Not Specified

Re: How to find the route using MapField?

Yeah true. That was the reason I said it may not fit into your requirements.

Use Search. "Accept Solution" If the problem is resolved.
Developer
saravanakumaran
Posts: 139
Registered: ‎05-25-2009
My Device: Not Specified

Re: How to find the route using MapField?

thanks for ur information simon.In IPhone & Android we can able to use google map likewise is it possible to use google map in our blackberry application.