We need a simple Android application that uses Bluetooth to record attendance.
The App Home page is a list of nearby Bluetooth Peripherals, where known peripherals information will show name of the person by fetching them from server using UUID.
The App will need to be able to scanning for peripherals in the background, and use GPS in background too. When Peripheral is detected, the App sends the UUID to the server in order to know who this person is, as well as GPS to record place and time on the server. If the Bluetooth Peripheral disconnected or is out of sight for over 10 seconds, the App will send to the server last known GPS telling the server that the person is out.
This is what we want. Here is an example of existing App, that you can do similar with some variation. Make an App list this [url removed, login to view]
This is the github for source if you need it [url removed, login to view]
Now this App will display All this information about nearby devices https://lh4.ggpht.com/311dX1sTkYpvlhockmc2o8OBLI9WWak4M-Q5EYzhJvGefSXrqoJE85_Mx2VNTGQflNTx=h900
We want you to use the UUID, send it to Server, The server will give you a Name of that person holding that UUID. Instead of displaying all devices information, display List of Person Name.
Also you keep the list of known nearby devices, then when the transmit device is lost / person go far award. You need to send to server, UUID, GPS and tell server person left. all this needs to run in background.