Android Question How to Geolocate indoors?

Discussion in 'Android Questions' started by wonder, Mar 7, 2015.

Similar threads

Share My Creation The 500,000+ Downloads Club
B4A Question The 100,000+ Downloads Club
B4A Library GeoLocation
B4A Library Firebase Realtimedatabase
B4A Library DJI Drones
  1. wonder

    wonder Expert Licensed User

    Hey guys,

    Does anyone has an idea on how to geolocate someone indoors? For example, how to know if person A is in a specific club or restaurant? How do the social networks do it?

    I'm not looking for code or tutorials, just ideas or an explanation on how this works. :)
  2. TheJinJ

    TheJinJ Active Member Licensed User

    WiFi triangulation?
    Data from the provider? I think location manager library has something along the lines of provider data.
    Use last known location, speed, direction to estimate...just an idea
    wonder likes this.
  3. mark35at

    mark35at Well-Known Member Licensed User

    Indoors is not that easy. GPS will not work. Wifi will only work if there is a wifi connection in the club to log into. I have had a similar problem but outside where I didn't want to use GPS due to battery drain. What seems to work well is GSM triangulation. Also in the location manager library. It gives an accuracy to 20m which might not be enough for you. On the other hand, if you think you know where the person is and gsm pinpoints the street and roughly the number, this is probably okay.

    If I understand you correctly you will need a service on the persons phone, to either send their location or intercept an sms and then send. Have done all this. Unfortunately not that easy, especially if they have whatsapp installed.

    Having said all this, the library will still only give you the long and lat values. These you can send to google for example to get an address or use the geocode library from warwound.
    wonder likes this.
  4. wonder

    wonder Expert Licensed User

    Thanks a lot guys, this gives me a rough idea on how to apply some of the concepts discussed here. :)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice