I have the fisrt point in From variable (location type) and the second in To variable. Both varibles works fine when I use it to write the Latitude & Longitude
Using java Syntax Highlighting
- float[] results = null;
- Location.distanceBetween(From.getLatitude(), From.getLongitude(), To.getLatitude(), To.getLongitude(), results);
Parsed in 0.034 seconds, using GeSHi 1.0.8.4
Whats wrong with my code?
And ... Soppose we can fix it... How I read the result Array to display it?
Thanks!!!

