Location Provider from http://developer.android.com/training/location/location-testing.html adapted for android studio 0.8x with gradle..
LocationProviderSample is hosted in the following web site
https://github.com/LucioC/LocationProviderSample
If you think the Android project LocationProviderSample 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 LocationProviderSample.
Item | Value |
---|---|
Java File Count | 4 |
Supported screen sizes | [mdpiv11, mdpi, hdpiv9, hdpi, mdpiv9, xhdpi, hdpiv11, xhdpiv9, xhdpiv11] |
Target SDK Version | 18 |
Minimum SDK Version | 8 |
Activity Count | 1 |
Fragment Count | 1 |
Required Permissions | android.permission.ACCESS_MOCK_LOCATION |
There are 1 image files in LocationProviderSample. The names of the image files are listed as follows.
ic_notify.png
The following screenshort is generated from the image listed above.
LocationProviderSample has the following Java source files.
com.example.android.mocklocation.LocationUtils.java com.example.android.mocklocation.MainActivity.java com.example.android.mocklocation.SendMockLocationService.java com.example.android.mocklocation.TestLocation.java