Gets the users current latitudes and longitudes, and displays them on Main Activity. It gets updated when the user's location changes by atleast 1m..
SampleGPS is hosted in the following web site
https://github.com/ayushhgoyal/SampleGPS
If you think the Android project SampleGPS 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 SampleGPS.
Item | Value |
---|---|
Java File Count | 6 |
Supported screen sizes | [mdpi, hdpi, xhdpi] |
Target SDK Version | 15 |
Minimum SDK Version | 15 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
Required Permissions | android.permission.ACCESS_COARSE_LOCATION android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.WAKE_LOCK android.permission.WRITE_EXTERNAL_STORAGE com.click4tab.samplegps.permission.MAPS_RECEIVE com.google.android.providers.gsf.permission.READ_GSERVICES |
There are 1 image files in SampleGPS. The names of the image files are listed as follows.
ic_action_search.png
The following screenshort is generated from the image listed above.
SampleGPS has the following Java source files.
com.click4tab.samplegps.AlarmManagerBroadcastReceiver.java com.click4tab.samplegps.GPSservice.java com.click4tab.samplegps.GPSstatusReceiver.java com.click4tab.samplegps.ProximityIntentReceiver.java com.click4tab.samplegps.SamplGPS.java com.click4tab.samplegps.Variables.java