This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
Kony provides GeoLocation API to achieve the same .
For more info, refer http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/Default.htm#kony.location_functions.htm#getCurrentPosition%3FTocPath%3DGeoLocation%2520API%7Ckony.location%2520Namespace%7CFunctions%7C_____2
I tried the same but there is no solution for fetching the current location name. Only we can get latitude, longitude and accuracy kind of things.
You can get Address from lat long using google reverse Geocoding API. More Info https://developers.google.com/maps/documentation/geocoding/intro#ReverseGeocoding
You can configure the same as a service in fabric/ call using kony http request APIs to get the address name.