How to Set Permission to Allow Location Information

public static final String ACCESS_FINE_LOCATION was added in API level 1
Allows an app to access precise location from location sources such as GPS, cell towers, and Wi-Fi.

1. In the AndroidManifest.xml file, and add the following line Add the line between the <uses-sdk../> and the <application> tags.

<uses-permission android:name = "android.permission.ACCESS_FINE_LOCATION" />

2. Compile and run!

Resources:
http://developer.android.com/reference/android/Manifest.permission.html#ACCESS_FINE_LOCATION