Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onLocationChanged(final Location newLocation) {
- Log.d(TAG, "(" + newLocation.getLatitude() + "," + newLocation.getLongitude() + ")");
- gpsCount++;
- if(isLogging){
- //locationList.add(newLocation);
- filterAndAddLocation(newLocation);
- }
- Intent intent = new Intent("LocationUpdated");
- intent.putExtra("location", newLocation);
- LocalBroadcastManager.getInstance(this.getApplication()).sendBroadcast(intent);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement