-1

I am developing an app in tizen which displays the nearby gas stations in a given radius.I want to check if the tizen mobile device has it's location turned on or not.If not,tell the user to turn the location on.How can I achieve this?Thank you

Nair
  • 71
  • 1
  • 14
  • Possible duplicate of [Check if user device's GPS is on](http://stackoverflow.com/questions/27125922/check-if-user-devices-gps-is-on) – Kaiido Nov 07 '15 at 13:30

1 Answers1

1

Never mind,A simple if-else loop sufficed.Added an alert on the error method for not recieving the co ordinates

Nair
  • 71
  • 1
  • 14