I have written following code to get location name
package demo.gps.locname;
import java.io.IOException;
import java.util.List;
import java.util.Locale;
/
Hey you just use this code Android Location based services
In this code you change LocationManager.GPS_PROVIDER
to LocationManager.Network_PROVIDER.
all the best
The
<uses-library android:name="com.google.android.maps" />
should be contained in the <application>
node and not the <activity>
node. That should fix the problem because as of now, you are not requesting for the maps permission.