예제 #1
0
 public LocationProviderImpl(Context ctx, LocationService locationService) {
   loc = new Location();
   loc.setProvider(getProviderName());
   loc.setAccurancy(-1);
   this.ctx = ctx;
   locationService.registerProvider(this);
 }
예제 #2
0
 @Override
 public float getLocationY() {
   return loc.getY();
 }