Christopher Eby
3cb3bcf300
Synchronize on mSongTimeline instead of a dedicated object
2010-02-28 19:48:52 -06:00
Christopher Eby
38a2c43e73
Update cover earlier in CoverView shiftCover
...
Now that the RemoteException is handled properly we can reorganize this method
to provide a nice boost to responsiveness
2010-02-28 19:46:25 -06:00
Christopher Eby
772df6acc6
Handle dead service in CoverView
2010-02-28 19:43:08 -06:00
Christopher Eby
079221eafb
Unify next/previous in CoverView
2010-02-28 19:38:37 -06:00
Christopher Eby
67dc10a84b
Simplify Handler in CoverView
2010-02-28 19:00:04 -06:00
Christopher Eby
cf62a8ebc4
Avoid calling getDuration/getPosition when MediaPlayer doesn't want us to
2010-02-28 18:54:58 -06:00
Christopher Eby
fad23d11bc
Switch songs synchronously in PlaybackService
...
Async was causing CoverView to receive the wrong covers in some cases.
2010-02-28 18:42:36 -06:00
Christopher Eby
94ede3a73b
Version 0.1 build 6
2010-02-28 17:36:29 -06:00
Christopher Eby
7b217004bb
Save state across service instances
2010-02-28 17:16:19 -06:00
Christopher Eby
2a31946f67
Safer thread synchronization for song timeline
2010-02-28 16:48:29 -06:00
Christopher Eby
093da1c9e7
Initialize mQueuePos to 0
2010-02-28 16:45:42 -06:00
Christopher Eby
bccc23c59b
Update CoverViews sooner
...
So it feels faster
2010-02-27 23:11:55 -06:00
Christopher Eby
27f69927db
Make PlaybackService's Handler non-anonymous
2010-02-27 22:39:11 -06:00
Christopher Eby
24f850e539
Organize preferences
2010-02-27 22:35:54 -06:00
Christopher Eby
a857fad462
Add a setting to control headset unplug detection
2010-02-27 22:29:33 -06:00
Christopher Eby
cddfb03627
Expand and improve headset detection
...
Modify it to mean play through anything but the internal speaker. Should now detect bluetooth and other sinks.
I have not tested this on Android 2.0+. I hope it works...
2010-02-27 22:20:43 -06:00
Christopher Eby
a456aa8c04
Allow the widget to start the music service
2010-02-26 23:55:03 -06:00
Christopher Eby
1a259e714a
Add a copy of the GPL
...
This was left out of the license commit
2010-02-26 23:44:34 -06:00
Christopher Eby
9db1789e3d
Generate tinted control buttons on-the-fly
2010-02-26 23:43:49 -06:00
Christopher Eby
dc0639784e
Add a 1x1 cell widget
...
Larger sizes are to come
2010-02-26 23:21:46 -06:00
Christopher Eby
21d5fafa74
Fix crash with no songs on device
2010-02-25 23:15:55 -06:00
Christopher Eby
9530cffaa6
Add a readme
2010-02-25 21:59:21 -06:00
Christopher Eby
7646c1c326
License under GPLv3+
2010-02-25 20:46:27 -06:00
Christopher Eby
5fa74e1f18
Better defer cover loading
2010-02-24 23:16:50 -06:00
Christopher Eby
2403f39664
Rename notification setting
2010-02-22 19:07:41 -06:00
Christopher Eby
5e3cbfbb1a
Heed to phone calls
2010-02-22 19:06:20 -06:00
Christopher Eby
447634de8c
Make scrobbler configurable
2010-02-22 18:41:28 -06:00
Christopher Eby
c82087c81f
Broadcast Scrobble Droid API intents
2010-02-22 18:24:50 -06:00
Christopher Eby
f91dcca666
Expose MediaStore id in Song
2010-02-22 18:22:31 -06:00
Christopher Eby
41b2925eee
Make the notification work on Android 2.0+
2010-02-22 18:13:59 -06:00
Christopher Eby
3aed9a73b8
Add a preference to disable the constant notification
2010-02-22 18:11:13 -06:00
Christopher Eby
21bbd3844e
Clarify if the music is paused in the notification text
2010-02-22 17:11:28 -06:00
Christopher Eby
f01348fc01
Update the notification for new songs even when paused
2010-02-22 17:07:55 -06:00
Christopher Eby
b62050a869
Fix bottom control visibility in setState
2010-02-21 21:39:26 -06:00
Christopher Eby
6796763a47
Clean up song filter parsing
2010-02-21 21:29:48 -06:00
Christopher Eby
45b581de3c
Make the notification intent work
2010-02-21 20:24:35 -06:00
Christopher Eby
32be8b09ef
Try to handle MediaPlayer errors
2010-02-21 19:57:54 -06:00
Christopher Eby
44ebddbc14
Rename to Vanilla Music
2010-02-21 19:44:29 -06:00
Christopher Eby
009c5d54e4
Rename a couple layouts
2010-02-21 17:23:44 -06:00
Christopher Eby
7b1a3b5902
Make user-visible strings localizable
2010-02-21 17:08:24 -06:00
Christopher Eby
0a95320bce
Merge MusicPlayer back into PlaybackService
2010-02-21 16:55:19 -06:00
Christopher Eby
40ebd4ec1b
Allow NowPlayingActivity to stop the playback service
2010-02-21 16:34:13 -06:00
Christopher Eby
197d529fe6
Ensure the MusicPlayer cleans up properly
2010-02-21 16:32:02 -06:00
Christopher Eby
824a6b4806
Don't leak mReceiver
2010-02-21 00:38:04 -06:00
Christopher Eby
69251f2aa6
Keep the notification around even after pausing
2010-02-21 00:29:10 -06:00
Christopher Eby
d1be1d80cc
Add a mini-player
...
This will open in response to clicks on the notification. It provides
a quick way to change a song or pause music. (Mainly it just looks legit)
2010-02-21 00:08:47 -06:00
Christopher Eby
ddb0193d65
Only make the CoverView bitmaps as large as they need to be
2010-02-20 14:42:39 -06:00
Christopher Eby
377984afaf
Omit a bogus paramter to drawBitmap
...
It is unnecessary, wrong and causes problems if the bitmap needs to be scaled down
2010-02-20 14:08:31 -06:00
Christopher Eby
d7f3eaa442
Allow STATE_NO_MEDIA to be unset
2010-02-20 01:52:52 -06:00
Christopher Eby
8c499cdff2
Don't pause playback when the headset is plugged in
2010-02-20 00:31:08 -06:00