{"id":22096414,"url":"https://github.com/hwvs/androidbluetoothwificollector","last_synced_at":"2026-05-19T06:01:43.811Z","repository":{"id":178711742,"uuid":"662258819","full_name":"hwvs/AndroidBluetoothWifiCollector","owner":"hwvs","description":"A small Android app/Library to collect Bluetooth and Wifi data. Sent to Apache Kafka/RedPanda as JSON, and consumed into a Neo4j DB (server not included)","archived":false,"fork":false,"pushed_at":"2023-07-06T06:50:08.000Z","size":148,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-22T13:44:17.162Z","etag":null,"topics":["android","android-app","android-library","java","scanresults"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hwvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-04T17:59:06.000Z","updated_at":"2024-03-27T11:22:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"c12d897f-9374-47f9-bded-1b27ac4df602","html_url":"https://github.com/hwvs/AndroidBluetoothWifiCollector","commit_stats":null,"previous_names":["hwvs/androidbluetoothwificollector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hwvs/AndroidBluetoothWifiCollector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwvs%2FAndroidBluetoothWifiCollector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwvs%2FAndroidBluetoothWifiCollector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwvs%2FAndroidBluetoothWifiCollector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwvs%2FAndroidBluetoothWifiCollector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hwvs","download_url":"https://codeload.github.com/hwvs/AndroidBluetoothWifiCollector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hwvs%2FAndroidBluetoothWifiCollector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33203996,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"online","status_checked_at":"2026-05-19T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-app","android-library","java","scanresults"],"created_at":"2024-12-01T04:10:46.451Z","updated_at":"2026-05-19T06:01:43.790Z","avatar_url":"https://github.com/hwvs.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android - Bluetooth \u0026 Wifi Data Collector\n\n## Author\nHunter Watson, 2023\n[Mozilla Public License 2.0](https://www.mozilla.org/en-US/MPL/2.0/)\n\n## Abstract\nThis is an Android application that collects Bluetooth and Wifi data. It is intended to be used for research purposes.\n\nThe data can be serialized to JSON and sent to a server. (*The server is not included in this repository*)\n\nThe server is an Apache Kafka or RedPanda instance. The data is sent to the server using the [Kafka REST Proxy](https://docs.confluent.io/platform/current/kafka-rest/index.html). This data is then consumed and stored in a [Neo4j](https://neo4j.com/) database.\n\n## Classes\n* `MainActivity` - The main activity of the application. It contains the UI and the logic for collecting data.\n* `BeaconScanner` - A class that scans for Bluetooth and Wifi data. Uses [WifiManager](https://developer.android.com/reference/android/net/wifi/WifiManager) to scan for Wifi data, and [BluetoothAdapter](https://developer.android.com/reference/android/bluetooth/BluetoothAdapter) to scan for Bluetooth data.\n* `TaggedBeaconPairCollection` - A class that stores a collection of `TaggedBeaconPair` objects. It also contains methods for serializing the data to JSON.\n* `WifiBeacon` / `BluetoothBeacon` - Classes that store the data for a single Wifi or Bluetooth beacon. Parent class is `BeaconBase`.\n\n## Tests (Unit)\n* `BeaconScannerTest` - Tests the `BeaconScanner` class. (TODO) Uses [Mockito](https://site.mockito.org/) to mock the `WifiManager` and `BluetoothAdapter` classes.\n* `TaggedBeaconPairUnitTests` - Tests the `TaggedBeaconPair` class using mock data.\n* *(More that are not documented in this README)*\n\n## Docker\n*(To be added)*\n\n## Resources\nView the [Main Library Source](https://github.com/hwvs/AndroidBluetoothWifiCollector/tree/main/app/src/main/java/net/hunterwatson/wifidatacollector/beacon)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwvs%2Fandroidbluetoothwificollector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhwvs%2Fandroidbluetoothwificollector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhwvs%2Fandroidbluetoothwificollector/lists"}