02-09-2012 07:24 AM
I want to show a map with number of location using maker pins. After clicking on any pin, control should go to some page say info. From this we Can again navigate wherever we want. Can anyone please help. I'm using blackberry sdk 6.0 and device is torch 9800.
02-10-2012 11:32 AM
I would start by opening the samples programs that ship with the BB SDK.
IIRC, there is a sample called MapfieldDemo that basically does what you are asking.
02-13-2012 12:24 AM
I already saw the samples programs for MapField, but it's of no use to me.
This samples shows, how to open/invoke the blackberry map from my application.
Since it is invoking, there is no control of my application on Blackberry Map.
I want to show Map from my BB application. And On click of any position on BB Map, my application screen should come with some data.
I hope you understand my problem.
Please help me.
Thanks a lot in advance.
02-13-2012 01:10 AM
i think you should make a custom MapField.
override paint(Graphics) method to add/draw pin/marker
override navigationMovement() to define how you move the focus from a pin to another
override touchEvent() for TouchScreen device to handle clicking and moving the map