How to open location services with corona

Hi all,

i need open location services how can I do that using corona.

(not permission , location services or location settings page )

This forum thread will hopefully answer this for you:

https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/

This is the Intent you need (I think.)

android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS

I’ve not tested this.

Rob

Rob thank you for answer but  I didn’t understand , little bit more you can help ? :slight_smile:

My apologies. Those instructions are to let other apps open your app which is the opposite of what you’re wanting to do. I don’t know of a way to do this from Corona SDK. It would be quite easy to do with Corona Enterprise.

Rob

This forum thread will hopefully answer this for you:

https://forums.coronalabs.com/topic/37105-handling-url-scheme-on-android/

This is the Intent you need (I think.)

android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS

I’ve not tested this.

Rob

Rob thank you for answer but  I didn’t understand , little bit more you can help ? :slight_smile:

My apologies. Those instructions are to let other apps open your app which is the opposite of what you’re wanting to do. I don’t know of a way to do this from Corona SDK. It would be quite easy to do with Corona Enterprise.

Rob