Skip to content
TomasJ1993 edited this page Jan 7, 2019 · 4 revisions

Overview of the Houtan project

Goals of the Project

  • Be able to collect the nearby WiFi data with an Android phone.
  • Notify the user if the desired location has been reached.

Experience of the user

The app's flow of Collecting data

  • The user can choose a "collect" section in the app and set a name for the location where data is recorded.
  • Button "Collect the data" is pressed which will start recording the WiFi data.
  • Stable access point collection: If the top three strongest access points' signals do not change the order for multiple sampling , app will stop storing the data and notify the user that the collection is done.

Notification for approaching the location

  • The client has a text with dropdown to type in/search for the destination.
  • If the user is close to the desired location, phone will vibrate and give a notification.

Implementation of the project

Data collection

  • Create a new "Collect data" section where the surrounding WiFi data is being constantly updated.
  • In that section, app will have an EditText where the location name/file is typed and a Button below it, that starts recording the data.
  • When the data is being stored to the .csv file, a progress bar is present.
  • We implement an algorithm that checks if the same records are not being stored.
  • Every 15 seconds the app reads the file and checks if any new data was recorded. If not, the data collection process is done and we come back to the main page with a notification which says that data has been successfully recorded.

Notification about approaching the destination

  • Make a text with dropdown where the user types in/searches for the destination. The dropdown gives hints of the locations that we have stored.
  • The app constantly scans the nearby WiFi data and checks if there is a match with the location data that we have.
  • To confirm the location, the detected data and stored data should have a signal strength and MAC address match of at least three Wifi signal records.
  • If it matches, the phone will vibrate and give a notification that the destination has been arrived.