View Single Post
Old 08-10-2008, 10:53 AM   #2 (permalink)
BlackBerry Extraordinaire
Join Date: Jan 2006
Model: LEZ10
OS: 10.0.10
Carrier: Rogers CA
Posts: 1,704
Post Thanks: 20
Thanked 77 Times in 68 Posts

Made the same mistake when I started. The Location API is giving you a reference to an internal object. You need to make a new one to store the values:

loc1 = new QualifiedCoordinates(currentLocation.getQualifiedC oordinates().getLatitude(), ...);

Tedious but it works. If someone has a better way I would like to see it as well.
Offline   Reply With Quote