I have a user current location and a radius which I send to server. I want server to return only locations inside a given radius. (I am not sure how many locations I will have in server's DB)
Application written in Java for android platform and server written in Java.
Edited: Spatial MySQL DB ,Found this very helpful after seeing the answer below.