Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8759443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:48:24+00:00 2026-06-13T14:48:24+00:00

I want make an application in android in which user can input two geo

  • 0

I want make an application in android in which user can input two geo points(lat and long) and with these two points i want to make query in database table(mysql) where already peoples information stored with their gps location(lat and long) where by using the above query i want to search people between inputted starting and ending point.

For example : User A has inputted starting point : Delhi and Ending point : Mumbai and now he will click on the search button and all peoples comes whose gps location between mumbai and delhi. If is it posible. All peole will displays as listview.

hope i have explained well as you understand..
Please somebody tell me the way how can i achieve this ? i m using php mysql as backend.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T14:48:26+00:00Added an answer on June 13, 2026 at 2:48 pm

    If you want to know who is in the square area delimited by two points you must check whether the position of the people is between both points’ latitude and longitude. Example:

    //Delimiting points:
        Dehli:    28°36′36″N 77°13′48″E
        Mumbai:   18°58′30″N 72°49′33″E
    
    //People:
        Person A: 28°40′52″N 73°21′47″E
        Person B: 22°03′44″N 75°56′11″E
    
    Person A is OUTSIDE the square area between Dehli and Mumbai because the latitude
    he is on is greater than the greatest latitude of both points:
        Mumbai lat. < Dehli lat. < Person A lat.
    
    Person B is INSIDE the square area between Dehli and Mumbai because the latitude
    and longitude he is on is between both points latitude and longitude:
        Mumbai lat. < Person B lat. < Dehli lat.
        Mumbai lon. < Person B lon. < Dehli lon.
    

    If you want to calculate distances, you can rely on the Great Circle Formula. This could be used in order to find people in an X-miles radius or so.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to make address book application in android which can have Name,phone No,
I want to make an android application which has two tap in one view
I want make interactive application where user launches it and can do various task
i'm building an android application which i want all the user of the application
I'm learning Android programming, and I want to make an application which has to
I want to make an application in android. In this app user have to
I want to make an android application that shows a listing of applications (downloaded
i want to make a splash screen on my android application, i use phonegap.
I want to make some changes to the stock Mms Android application and install
We are designing a new application for Android and we want to make it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.