This is an enhancement of the Mock Location Provider Sample from Android..
AndroidMockLocationProvider is hosted in the following web site
https://github.com/kevinskrei/AndroidMockLocationProvider
If you think the Android project AndroidMockLocationProvider 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 AndroidMockLocationProvider.
Item | Value |
---|---|
Java File Count | 6 |
Supported screen sizes | [mdpiv11, mdpi, hdpi, hdpiv9, xhdpi, mdpiv9, xhdpiv9, hdpiv11, xhdpiv11] |
Target SDK Version | 18 |
Minimum SDK Version | 11 |
Activity Count | 1 |
Fragment Count | 1 |
Required Permissions | android.permission.ACCESS_COARSE_LOCATION android.permission.ACCESS_FINE_LOCATION android.permission.ACCESS_MOCK_LOCATION android.permission.ACCESS_NETWORK_STATE android.permission.INTERNET android.permission.MAPS_RECEIVE android.permission.WRITE_EXTERNAL_STORAGE com.google.android.providers.gsf.permission.READ_GSERVICES |
Asset File Names | assets\jsonroute.json assets\route1.gpx |
There are 1 image files in AndroidMockLocationProvider. The names of the image files are listed as follows.
ic_notify.png
The following screenshort is generated from the image listed above.
AndroidMockLocationProvider has the following Java source files.
com.example.android.mocklocation.JsonWaypointParser.java com.example.android.mocklocation.LocationUtils.java com.example.android.mocklocation.MainActivity.java com.example.android.mocklocation.SendMockLocationService.java com.example.android.mocklocation.TestLocation.java com.example.android.mocklocation.Waypoint.java