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
Asked
Active
Viewed 684 times
-1
-
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 Answers
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
-
http://stackoverflow.com/questions/27125922/check-if-user-devices-gps-is-on/33582805#33582805 – Nair Nov 07 '15 at 13:21
-
-
-
-
-
Hmm that's odd... at least we can close it as a duplicate, and I hope that your solution gets upvoted there – Kaiido Nov 07 '15 at 13:30
-