1. Are you ready for the Galaxy S20? Here is everything we know so far!

Phone location app solutions

Discussion in 'Android Development' started by Daddyo5423, Jul 23, 2019.

  1. Daddyo5423

    Daddyo5423 Lurker
    Thread Starter

    I am currently having an app being built for my company that we use to manage our clients repair request. The app will be used in the field by our field technicians. Often times we will get a client call us to see if we have anyone close to a property for an emergency situation. Currently the only way we can handle this is by blowing up phones and seeing who is where. That is very difficult to do with 50+ workers. We are wanting to add a feature to our mobile app that we use to see about where our field techs are at in the world. We know there is some very expensive options that give real time feedback, but we don't really need it in actual real time. Even if we could get a ping location back to our website every 30 minutes or so it would be helpful enough to at least narrow down who is most likely closest. Any suggestions are greatly appreciated on how to accomplish this.
     


  2. 23tony

    23tony Well-Known Member

    Based on what you're describing, the approach I would take is this:

    • Set up a server with a database for all your employees and their locations, and your clients & locations too
    • Create a REST API for that server to accept location updates
    • On the app running on your employee's phones, add code to get their current location and send it to the REST API every 30 minutes.
    • On the server, correlate the employee locations with the client making the request, and provide a list in order of distance
     
  3. Daddyo5423

    Daddyo5423 Lurker
    Thread Starter

    I really appreciate your advice on this. Do you know if the same kind of technique could be used for messaging inside of our app? We would need the message to stick to the property we are working on.
     
  4. Deleted User

    Deleted User Guest

    Firebase Cloud Messaging may be of use to you:

    https://firebase.google.com/docs/cloud-messaging/
     
  5. 23tony

    23tony Well-Known Member

    I was going to say it could be, but if @LV426 is suggesting Firebase I would look into that first.
     
    Deleted User likes this.
Loading...

Share This Page

Loading...