Android Studio Search for gps devices

0

I am developing an application that shows on the map different types of information, such as points of locomotion stops and lines (polyline) of the route of these same and I must also create a functionality that allows me to know in what position of the map is some gps device (which in my case I want to emulate with an intelligent cell phone), how should I do it ?, I searched the internet, but I'm still not sure how it should be done. If anyone has knowledge about this, you can help me out please.

PS: All the information I'm going to look for in a database with which I have. PD2: The location of the device that I consult should be updated every so often to know where it is going.

    
asked by Mauricio Albrechtt 19.11.2018 в 02:20
source

1 answer

0

I solved it by creating another application (let's call it app 1), which uploads its position to my database, and in the client that I have (where I see its location on the map, app 2) I rescue the data of its position from the same database. The issue of updating the position I solve by creating a loop in app 1, and in app 2 I should create a similar loop (I have not done it yet).

    
answered by 26.11.2018 / 01:27
source