Our objective was clear:
- Transmit location data from an android device to a server
- Display these coordinates on a map in a web browser
The challenge we faced was the need for a bridge between the server handling android data and the client displaying Google Maps.
Despite attempting to implement ActiveMQ initially, we encountered difficulties and had to pivot due to time constraints. The solution we ultimately arrived at may not be elegant, but it gets the job done.
Our current setup involves a FIFO queue on the server where coordinates are stored. The same server hosts the web page with the map. When a button is clicked, an HTTP request is sent to the server. In response, a coordinate is dequeued and returned, which is then plotted on the map using the Google Maps API.
If you would like more information or have any questions, feel free to ask...