WiFiPS

WiFi Based Indoor Positioning System, A MVP android Application

Github星跟蹤圖

WiFi Based Indoor Positioning System

A MVP android application which is able to estimate the position of a user within a building using WiFi technology. For better understanding this project, we recommend you to go through the docs folder of this repository.

Setting up

  • Install Android Studio
  • Clone or Download project from this url http://github.com/ajnas/wifips
  • From Android Studio, click on Open project and select the android-client folder inside the downloaded project.

Testing the App

  • Download Demo App to your android phone or run the imported code from Android Studio to your device.
  • Turn on WiFi
  • Go to some building were at least 3 wifi access points are available.

Learn/Calibrate

  • Choose the 'Learn' option from the first screen.
  • Enter a name for the new building and press Add
  • Select wifi access points that are permanent inside the building using the 'Friendly Wifis' button. Do not forget to save changes after adding all such access points.
  • Now you need to find different distinguishable positions inside the building. For better results, choose different rooms inside the building as different positions.
  • Name the position and press calibrate button.
  • The scanning starts after you press start button. Time for scanning is set as 30 seconds.
  • Once the scanning of one position is complete, go to another position and repeat the procedure
  • Swipe left/right on a position name to remove a position from the list.
  • You can re-calibrate a position by clicking on a position again.
  • Once you have added enough positions inside the building, press the update button to sync this readings to server, so that this data can be used from other devices as well.

Locate

  • Choose the 'Locate' option from the first screen.
  • Choose the building where you want to locate your position.
  • Press start button and complete the scanning process.
  • Your position obtained from the calculations are displayed in the screen.

Syncing data to server [OPTIONAL]

  • Create MYSQL database with tables to store readings and list of access points. Please refer this file for necessary schema details
  • Setup a php server with backend code included in this project and host it on your own server. It uses Slim framework.
  • Change the BASE_URL in android code to your server url in Config.java file
  • Run app to your Android device from Android Studio
  • Use the 'Sync' button in the first screen to load the buildings from the server. The readings taken from other devices are also displayed.

How to Contribute

  • Fork the repo
  • Commit changes to a branch in your fork
  • Pull request with your changes

Developers

Ajnas and Jazeem. Feel free to contact us in case of any issue while setting up/testing.

主要指標

概覽
名稱與所有者ajnas/WiFiPS
主編程語言Java
編程語言Java (語言數: 2)
平台
許可證
所有者活动
創建於2015-04-16 11:24:45
推送於2021-04-29 21:56:53
最后一次提交2019-05-25 16:00:40
發布數0
用户参与
星數130
關注者數15
派生數72
提交數46
已啟用問題?
問題數2
打開的問題數1
拉請求數5
打開的拉請求數1
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?