1. Check out our companion app, Forums for Android! Download from Google Play

best way to transmit gps coordinate

Discussion in 'App Inventor' started by kliati, Mar 16, 2017.

  1. kliati

    kliati New Member
    Thread Starter

    Mar 16, 2017

    I have 2 users with their positions (latitude, longitude, altitude, accuracy) and they must meet each other. The first user has a fixed position and the second user has a changing position as he goes to first user.

    I want to display remaining distance between these two users on their devices. But I want to know if I must do multiple requests and queries(for their location) on my remote database, to refresh their displayed location.

    In addition, I want to refresh this coordinate in real time (delay 5 seconds or less, if possible).

    I found 'GCM' with push message but I'm not sure if that will work.

    My worry is to find the best solution (fast and not heavy) to transmit these location changes between 2 users (in first time) and probably between several users (in second time).

    Is it the client or the server that must calculate the remaining distance ? What is the best way to transmit and query this resource ?

    have a good day,


Share This Page