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
Christopher Eby
af2b7244c9
Try to re-retrieve the songs when we should
2010-02-20 00:29:18 -06:00
Christopher Eby
331add9d22
Don't hide controls when paused
2010-02-19 22:32:36 -06:00
Christopher Eby
23d1b1fab9
Postpone play/pause work
2010-02-19 22:28:57 -06:00
Christopher Eby
4945c9c47b
Disable seek bar when paused
2010-02-19 22:23:38 -06:00
Christopher Eby
6123a81dfa
Query duration on startup
2010-02-19 22:19:56 -06:00
Christopher Eby
52013ce482
Simplify song change handling
...
This fixes some issues with thread safety
2010-02-19 22:14:38 -06:00
Christopher Eby
ee5f907d3f
Don't call setState on startup
...
There is no advantage to doing so right now
2010-02-19 21:09:38 -06:00
Christopher Eby
e82b167485
Add horizontal margin to the outer edges of the lower controls
2010-02-19 20:59:19 -06:00
Christopher Eby
458c1e29cd
Always show the play/pause button when paused
2010-02-19 20:54:56 -06:00
Christopher Eby
6261a07479
Set a solid background on the error message
2010-02-19 20:50:06 -06:00
Christopher Eby
229f220eef
Don't restart playback when the headset is plugged in
...
This matches the behavior of other music players for Android.
2010-02-19 20:38:33 -06:00
Christopher Eby
429aa68350
Make the position code work
...
Now we just request position from the service each time we update it.
This is somewhat more reliable and simple. The optimization the old
method provided was not worthwhile.
2010-02-19 20:36:22 -06:00
Christopher Eby
b56fc0eeb0
Don't delay initialization of current song
2010-02-19 19:55:54 -06:00
Christopher Eby
3220ee32be
Remove windows line-endings
2010-02-19 19:37:33 -06:00
Christopher Eby
41dc843dcc
Update the duration even when paused
...
This gets a little hacky. It might be worthwhile to look into a different
solution.
2010-02-19 18:58:16 -06:00