Parent Directory | Revision Log | Patch
revision 289 by torben, Fri Aug 28 13:56:12 2009 UTC | revision 310 by torben, Thu Sep 10 19:09:09 2009 UTC | |
---|---|---|
# | Line 139 public class StationLocator implements L | Line 139 public class StationLocator implements L |
139 | if (lm.getProvider("gps2") == null) | if (lm.getProvider("gps2") == null) |
140 | lm.addTestProvider("gps2", false, true, true, false, false, false, false, 0, Criteria.ACCURACY_FINE ); | lm.addTestProvider("gps2", false, true, true, false, false, false, false, 0, Criteria.ACCURACY_FINE ); |
141 | lm.setTestProviderEnabled("gps2", true); | lm.setTestProviderEnabled("gps2", true); |
142 | lm.setTestProviderLocation("gps2", aarhus); | lm.setTestProviderLocation("gps2", kbh); |
143 | } | } |
144 | ||
145 | public static void removeMockLocation(Context cntx) { | public static void removeMockLocation(Context cntx) { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |