Menentukan Jarak Dua Titik Kordinat GPS di Android
{ Posted on Apr 25 2010 by Achmad Fachrie }
Tulisan ini mirip seperti tulisan sebelumnya. Menentukan jarak antara dua titik kordinat di GPS. Hanya saja ini menggunakan fungsi bawaan android. Jadi lebih memudahkan. Langsung saja
double distance;Location locationA = new Location("point A");
locationA.setLatitude(latA);
locationA.setLongitude(lngA);Location locationB = new Location("point B");
locationB.setLatitude(latB);
LocationB.setLongitude(lngB);distance = locationA.distanceTo(locationB);





![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=627e8beb-5fcd-4d04-92b7-253fcbb19fc0)
Just ordinary man, and always want to better person every times. Very like to reading, writing, traveling and try something new. Feel free to leave your comment. - Achmad Fachrie | 
