rodrigojmlourenco / TrackerProto

Prototype for the TRACE Tracker App
0 stars 0 forks source link

Tracks are not created #5

Closed rodrigojmlourenco closed 8 years ago

rodrigojmlourenco commented 8 years ago

Locations retrieved are not being stored and therefore, neither is the track being created.

rodrigojmlourenco commented 8 years ago

O Tracker estava à escuta apenas da ACTION correspondente ao broadcast de actividades:

@TRACETracker

IntentFilter listenerFilter = new `IntentFilter();
listenerFilter.addAction(ActivityConstants.COLLECT_ACTION);
listenerFilter.addAction(TrackingConstants.tracker.COLLECT_LOCATIONS_ACTION);

LocalBroadcastManager.getInstance(this).registerReceiver(mTracker,` listenerFilter);