in this my gps application i want to draw circle around my current location i did it …but now i find out other users which are come in cirle range so i want popoup in my application screen so can anyboby help me…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
you have just to compute the distance between each point and the center of the circle.
This can be done with something like this:
and then
if (distance < CIRCLE_RADIUS)
//The point is inside circle.