views:

172

answers:

2

Hi Everyone:

I am wondering if there is some way to find people that are near you using data supplied by the Core Location Framework. If you can get the other person's CLLocation's description attribute, I assume there must be some way to compare this in terms of location to your location.

Thanks for any help.

+1  A: 

Core Location can only gather location data from the device it is running on, so it won't be able to get location information from other devices. Instead you want to implement some centralized server to handle the location data of all devices using an app, and let individual devices talk to the server for this information.

Simon
Hi LokiSnake: Thanks for your help. So, would I store CLLocation's description attribute in the database, or something else? And then once I get this data from the database, how can I see if it is within x meters of the current user?
PF1
I see it working this way:You'd put all the info into some data format on a server. A client would submit its location to the server, and the server can also return the closest n neighbors. This can be done with some computational geometry algorithms.Hope this helps.
Simon
A: 

Hi. the NearPeople application can give you some information, but you should write your location. soon will be more location possibilities. Please find NearPeople at f : http://www.facebook.com/#/apps/application.php?id=30133473221&ref=search&sid=748592933.3291624188..1

zeev zi