Real-time monitoring with location

2

I'm creating an app on "Android" where I can find moving cars on the map, what would be the correct way to send my location and monitor the moving cars, which map api should I use?     

asked by anonymous 18.08.2015 / 19:43

1 answer

1

First, you need to analyze whether you need real-time information or whether there might be an update time.

If you need your information in real time, you can use Firebase for this. With Firebase you can have real-time information on your client (Android) without difficulty. The problem is that if you reach a certain number of users / requisitions, you will probably need to acquire some plan (here is a table of values).

But if your platform allows an update with a "delay", you can create an endpoint within your API that receives and updates the information. In the part of your client (Android), you can create a Service to update the information with the server.

To get device location information, you can take a look at the official documentation.

Links :

  • Plans and prices of Firebase : link
  • Android documentation for Firebase : link
  • How to get user location: link
18.08.2015 / 20:03