Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (32 sloc) 1.76 KB
* Cache album art's Drawable from Activity#onRetainNonConfigurationInstance()
so it doesn't need to be re-retrieved from the network.
* Deal with orientation change. Include widescreen layout xml.
* Browsing music & all that.
* Pandora like/dislike buttons.
* Pandora disable back button when in Pandora mode.
* Wait for Wifi when connection fails & try again. (auto-kick
Wifi too...?)
* Auto-connect when Wifi state becomes available.
* screen/sleep lock option? "party remote mode"
* use NIO for parsing input and allocate less big Strings objects in
the service.
Currently, every few seconds:
D/dalvikvm( 1162): GC freed 10472 objects / 470048 bytes in 213ms
D/dalvikvm( 1162): GC freed 12934 objects / 576488 bytes in 222ms
D/dalvikvm( 1162): GC freed 12095 objects / 524416 bytes in 207ms
D/dalvikvm( 1162): GC freed 12094 objects / 524496 bytes in 464ms
D/dalvikvm( 567): GC freed 20179 objects / 810328 bytes in 297ms
D/dalvikvm( 1162): GC freed 12113 objects / 524216 bytes in 222ms
D/dalvikvm( 1162): GC freed 12104 objects / 524696 bytes in 240ms
* When switching from SqueezerActivity to settings, we disconnect from
the service, so the service unsubscribes from the server, which
means we don't get song position updates anymore. Then when switching
back to the SqueezerActivity, the time is behind for a second.
Possible Solutions:
-- dead-reckoning calculation by service?
-- easier: have SqueezerActivity tell Service not to unsubscribe
for 'n' seconds?
* When pressing pause, an in-flight "playing" status update can come in
and then the status flip-flops between playing & paused a couple times.
We should keep track of our own pause events and suppress any play
events from the network for 1-2 seconds.