hi any one here help me plz i am beginging in blackberry development i want to calculate distance when i drive my car to stop . my code get latitude , logitude , speed and show map correctly but temporary distance = 0
this is the code
public LocationHandler(LocationMainScreen screen) {
this.screen = screen;
}
public Coordinates[] getCoordinateHistory() {
Coordinates[] coordinates = new Coordinates[coordinateHistory.size()];
coordinateHistory.copyInto(coordinates);
return coordinates;
}
Hi, I suggest you to check out the BlackBerry developer site. There is lots of info and even sample code. https://developer.blackberry.com/
There are some developers here too that might be able to help.