Geocoder geocoder = new Geocoder(this, Locale.getDefault());
try {
List<Address> addresses = geocoder.getFromLocation(location.getLatitude(), location.getLongitude(), 1);
saleAgent.setLocation(addresses.get(0).getLocality());
} catch (IOException e) {
}
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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear- users