Rodrigo Damazio
abd8a230b4
Moving back to managed dialogs to make them still work cross-activity.
2011-06-28 05:58:54 -03:00
Rodrigo Damazio
862736bba4
Changing service connection to be a non-singleton, and properly handle its state.
2011-06-22 16:35:40 -03:00
Rodrigo Damazio
a41994cb41
Review suggestions
2011-06-01 17:34:44 -03:00
Rodrigo Damazio
7bc72e683b
Merging to head.
2011-06-01 02:45:41 -03:00
Rodrigo Damazio
31e386de44
Optimization: getting rid of some objects when the hub is stopped.
2011-06-01 02:02:49 -03:00
Rodrigo Damazio
31737efd87
And the moment we've been all waiting for....MyTracks is no longer a singleton.
2011-06-01 01:44:07 -03:00
Rodrigo Damazio
3e773ef94b
Making TrackDataHub an application singleton (using the application context to ensure we don't leak MyTracks).
2011-06-01 01:39:51 -03:00
Rodrigo Damazio
ed3ff01c22
Freeing MyTracks from isRecording() calls.
2011-05-31 03:09:08 -03:00
Rodrigo Damazio
73e4af98cc
Cutting service binding and preferences dependencies to the MyTracks singleton.
2011-05-31 02:35:05 -03:00
Rodrigo Damazio
412eed51cd
Removing DialogManager test which is no longer needed.
2011-05-25 21:26:07 -03:00
Rodrigo Damazio
90fe6921e2
Moving track importing out of MyTracks class.
2011-05-25 19:19:21 -03:00
Rodrigo Damazio
eeaa50ddcb
Removing singleton usage: moving all send and save logic out of the MyTracks class.
...
This is a non-trivial step: I decentralized dialog creation (since it made no sense to have a single place creating a lot of completely unrelated dialogs), made invisible activities just for sending/saving, and changed menu handling a bit, all to decentralize those functions from MyTracks.
There's still a TODO to handle GET_LOGIN more nicely instead of returning from the depths of auth management into the current activity.
2011-05-25 04:50:21 -03:00
Rodrigo Damazio
16b0d4eb24
Removing singleton usage: chart settings dialog
2011-05-25 02:13:38 -03:00