Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to track position of an Android device in a building?

I want to develop an application in which I need to know the position of my device within a building (the room in which the device currently is). GPS is not working in the building. Is there any way to find the position of the device in building? If yes how? Can i use position or motion sensors or combination of these for this purpose?

like image 603
sajith Avatar asked Oct 08 '22 08:10

sajith


1 Answers

There is no general solution. In case you can place WiFi hotspots/repeaters in the building (preferably in every room), you can triangulate the position from the WiFi signal strengths. But that's also not straightforward, because of different signal losses through the walls and floors. You'll need to survey the building and make a signal strength map in advance and then, based on the signals you receive, look up your location on the map.

Motion sensors are also not precise enough and compass, if you are inside a steel construction, is inaccurate, too.

like image 118
Igor F. Avatar answered Oct 13 '22 11:10

Igor F.