I have a problem related to the Location API.
I tried the following code:
LocationManager lm = (LocationManager)getSystemService(Context.LOCATION_SER
Have you set the permissions in your AndroidManifest.xml? You need these permissions in order to access the user's location with an application: