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
New Member
vlast3h
Posts: 1
Registered: ‎10-15-2012
My Device: 9700

Cannot add MapLocation to MapDataModel in BB Components pack 6.0.0.43

[ Edited ]

Hi,

 

(Sorry, i browsed some more time in the forum, and so examples that people are manually casting this to (Mappable) so that the compilation works, apparently the instances in the VM in the phone are derived from this class.. i am going to try this in the evening)

 

 

I wanted to give this example a try:

http://www.blackberry.com/developers/docs/6.0.0api/lbs-summary.html

But then i figured out that in my Eclipse Environment - both MapLocation and MapPoint do not inherit from AbstractMappable (which implements Mappable). I even could not find AbstractMappable as a class, and also on the Javadocs published on

http://www.blackberry.com/developers/docs/6.0.0api/index.html?net/rim/device/api/lbs/maps/model/MapL...

 

What could i be doing wrong?

Thanks, Vladimir