loCation pROof techniqueS for consumer mobile applicationS
This is the repository that contains the main contribution of my (@RicardoGrade) dissertation -- CROSS City Mobile Application: Gamified Peer-Based Location Certification, the code for my P2P Witnessing strategy can be found here, and the code for user-user communication via Bluetooth Low Energy can be found here. In addition to this repository, I also contributed to 3 more, which together make up the CROSS City system:
- Create a Firebase project and add it to the Android app (you can follow the setup instructions here up to step 3 phase 1), export the credentials, put them in the server resources folder and replace this line with the credentials path name.
- Run the server.
- Edit the IP of the
CROSS_SERVER_BASE_URL
property to that of your private network if you intend to run the application on a physical device or 10.0.2.2 if you intend to run it on an emulator. - Open the project in Android Studio and run the application on a device that has Google Play Store (required to enable location services) and that the API level is >= 26 (Android 8.0).
This mobile application is an extended re-implementation of the CROSS City app prototype previously developed by @gbl08ma. This new version of the app was developed from scratch, because: the project dependencies were already quite outdated; the server communication API has been completely rebuilt with a new messaging specification, protocol-buffers; the app logic could be simplified; and finally, for these reasons and the need to understand the source code in detail, we decided to perform an incremental development, studying the existing app source code as we were developing it.
Name | University | More info |
---|---|---|
Ricardo Grade | Instituto Superior Técnico |
Grade, R.; Eisa, S. & Pardal, M. L.
Bluetooth Peer-to-Peer Location Certification with a Gamified Mobile Application
21st IEEE International Symposium on Network Computing and Applications (NCA), 2022
@InProceedings{Grade_2022_NCA_P2P-Witnessing,
author = {Ricardo Grade and Samih Eisa and Miguel L. Pardal},
booktitle = {21st IEEE International Symposium on Network Computing and Applications (NCA)},
title = {{Bluetooth Peer-to-Peer Location Certification with a Gamified Mobile Application}},
year = {2022},
month = dec,
abstract = {Nowadays, tourists turn to digital platforms to discover new places to explore. CROSS City is a smart tourism mobile application that enhances the user experience of tourists visiting points of interest in a route by rewarding them in the end, if they actually visited all locations. From a technical standpoint, the user location is certified resorting to strategies that take advantage of both the diversity of the existing Wi-Fi network infrastructure throughout the city, as well as the presence of other users at the same site using Bluetooth. This work developed a new, peer-to-peer location certification strategy and added gamification elements to encourage users to keep the wireless radios turned on and use the app more. This work was evaluated both in laboratory experiments and with users in a real-world scenario which demonstrated that the new Bluetooth peer-based strategy is both feasible and resistant to collusion attacks.},
keywords = {Location Certification, Location Spoofing Prevention, Peer-to-Peer Communication, Bluetooth, Internet of Things, Gamification, User Experience},
}