Using Android Studio, what things are needed when trying to compare a user's specific location with every other user. For example, if there are 1000 concurrent users, and I want to find the closest (or farthest) for any given user, what calculations should be performed?
If each userβs location has been saved in the database, where to start? Is it necessary to compare one location with 1000 (or more) users to find the closest one, or would it be more appropriate to make some type of cutoff (i.e. Compare only users who are within 50 km).
It seems overwhelming, and I'm new to android, so I'm not sure where to start. Parse.com and Pubnub are used in this project.
source
share