[Aerogear-users] Aerodoc sales agent location string updated?

Julio Cesar Sanchez Hernandez jusanche at redhat.com
Thu Mar 9 12:28:28 EST 2017


The Android app is not updating the location string, but it can be done.

You can add this to the updateLocation method on MainActivity.java

Geocoder geocoder = new Geocoder(this, Locale.getDefault());
try {
    List<Address> addresses =
location.getLongitude(), 1);
} catch (IOException e) {


On Thu, Mar 9, 2017 at 5:40 PM, columfoskin <columfoskin at gmail.com> wrote:

> Hey all,
> I am working on building a node.js version of the backend aerodoc demo
> system and I am wondering if anybody knows if the location string for a
> sales agent is updated at all?
> I know that the lat/longs are updated when the agent signs into the client
> android app.
> I am trying to replicate functionality and I think that the agents location
> string is never updated and is just hardcoded on startup.
> Does anybody know if this is the case?
> Thanks,
> Colum.
> --
> View this message in context: http://aerogear-users.1116366.
> n5.nabble.com/Aerodoc-sales-agent-location-string-updated-tp1063.html
> Sent from the aerogear-users mailing list archive at Nabble.com.
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20170309/747a9b51/attachment.html 

More information about the Aerogear-users mailing list