Hi…my application is reflecting current city and country dynamically so I need to verify if its correct. I require to get current location city and country.
created
Jun '18
last reply
Jun '18
- 5
replies
- 229
views
- 2
users
- 3
links
Hi…my application is reflecting current city and country dynamically so I need to verify if its correct. I require to get current location city and country.
Have you looked at get-geolocation?
http://appium.io/docs/en/commands/session/geolocation/get-geolocation/3
Plenty of scripts in there. That Stack Overflow link shows several very thorough examples.
There’s no reason that you can’t type ‘java’ on the end of the search:
https://www.google.com/search?ei=E1sfW4DdJIrd0gK56IfoDA&q=how+to+get+city+from+latitude+and+longitude+java&oq=how+to+get+city+from+latitude+and+longitude+java&gs_l=psy-ab.3..0i22i30k1l2.2518.3429.0.4005.5.5.0.0.0.0.91.394.5.5.02…0…1c.1.64.psy-ab…0.5.394…0.0.vg7kjfJ2czc