Example to get current location in Android with google maps api v2 and GPS.
Android-getcurrentlocation is hosted in the following web site
https://github.com/TommyR22/Android-getcurrentlocation
If you think the Android project Android-getcurrentlocation listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of Android-getcurrentlocation.
Item | Value |
---|---|
Java File Count | 1 |
Target SDK Version | 17 |
Minimum SDK Version | 14 |
Activity Count | 1 |
Fragment Count | 1 |
Required Permissions | android.permission.ACCESS_COARSE_LOCATION android.permission.ACCESS_FINE_LOCATION android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE com.google.android.providers.gsf.permission.READ_GSERVICES |
Android-getcurrentlocation has the following Java source files.
com.example.projectname.MainActivity.java