How to check whether location is enabled on windows phone device?

Windows Phone users can enable or disable location on their device. If your app uses some location specific feature then its recommended that you check whether location is enabled on user’s device. Here’s a code snippet showing how this can be done.

Vivek Maskara

I am pursuing BTech in Software Engineering from Delhi Technological University. I develop apps, create websites and blog about my app experiences.

Read more:
How to create your first Windows Phone app
How to change the App name and Tile name of your Windows phone app
Data binding in Windows Phone app – One way binding