I was writing an android app and I was wondering if there is any API that helps to plugin a latitude and longitude obtained from the GPS and also plugin a radius R, find the new latitude and longitude with a very high precision. Preferably a Java code. So say for example the current location is curX and curY now within 200 meter radius of this location can be maxX and maxY. So if I have a list of entries, I will print only the entries within the max Range. So for comparison to be right, the precision should be high. Is there any API that can do this? Any formula? (in Java)
So the function is
findNewLatitude(curLat,curLong,oldList,radius)
{
do bla bla bla; //Find a newList with respect to current Geo points on MAP and considering the radius
}
output: newList such that distance between (lat,long) in newList and
(curLat,curLong) is equal to radius