How to get state of GPS is enable or disable

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.

Hi,

I have an scenario to get the state of GPS is enable or disable .

May I know in which version of Visualizer you are ???

Hi,

In Android, use kony.application.getSettingValue() API to achieve your requirement.

http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/content/kony.application_functions.htm

Note : It is supported from Kony Visualizer 8.3 onwards.

Regards

Thank you

Hi @Antoninv Hvney​! Did the response help you to a resolution? If yes, click [Select as Best] under the response. Thanks!