Christopher Eby
f54be18e5b
Call userActionTriggered() in the correct places
2011-08-25 00:10:59 -05:00
Christopher Eby
9224095dba
More detailed time display in IdlePreference
2011-08-24 16:37:55 -05:00
Christopher Eby
025c6e20f8
Include all image resources in app
2011-08-24 10:27:28 -05:00
Christopher Eby
c69f74a482
Rename Song Selector/Choose Songs to Library and change icon
2011-08-24 10:19:59 -05:00
Christopher Eby
17e8e400e4
Add option to disable cover art
2011-08-24 00:53:01 -05:00
Christopher Eby
a9db1f55fb
Use Froyo registerMediaButtonReceiver API
2011-08-24 00:52:51 -05:00
Christopher Eby
a8bf7536ac
Handle media keys in PlaybackActivities
...
Avoids the overhead of the broadcast when the activity has focus
2011-08-23 22:47:28 -05:00
Christopher Eby
e5d3053a44
Remove programming-created media button receiver
...
This was an optimization (since manifest-defined receivers have to be
constructed again for each broadcast) that doesn't seem to help all that much.
I mainly removed it because it makes using the Froyo registerMediaButton API
harder (impossible?) to use.
Also change receiver priority to 999, since apparently >=1000 should only be
used by the system.
2011-08-23 22:38:05 -05:00
Christopher Eby
7715ec7dde
Implement new randomization method to reduce repetition
...
randomSong() now draws from a shuffle list of all songs in the library. Each
time the end of this list is reached, it is shuffled. The list is updated when
the library changes.
2011-08-23 16:55:31 -05:00
Christopher Eby
d456821891
Move media content observer into ContextApplication
2011-08-23 16:55:23 -05:00
David Beswick
3fd61bcafe
Playback is stopped immediately on song change before further
...
processing, so the user has feedback on their input. Some operations in
this method can cause a delay on my phone.
2011-08-23 16:55:17 -05:00
Christopher Eby
b8f3e3819f
Handle corrupt/missing songs better
...
The old behavior would try to skip the song automatically and not tell the user
what was happening. The new behavior shows a Toast and stops playback.
2011-08-23 16:55:11 -05:00
David Beswick
bd0596cd9e
Fixed null pointer exception when no songs are present in the
...
device's library.
2011-08-23 16:54:55 -05:00
David Beswick
fc56df74a4
Fixed null pointer exception when no songs are present in the
...
device's library.
2011-08-20 00:06:03 -05:00
Christopher Eby
cce204e727
Use AUDIO_BECOMING_NOISY event; remove headset only option
...
The AUDIO_BECOMING_NOISY intent seems to be broadcast before the
HEADSET_PLUG intent. In some cases, the HEADSET_PLUG intent fires so
late that audio starts playing through the speaker..
AUDIO_BECOMING_NOISY also handles Bluetooth.
The headset only feature was useful to prevent accidental "noisy" playback,
however it is cumbersome to implement with the Android audio API being the mess
that it is. Thus I've removed it.
2011-08-19 03:01:12 -05:00
Christopher Eby
2f69afc529
Update Android target version to 10
2011-08-19 02:35:29 -05:00
Christopher Eby
199a46a139
Switch to MIT license
2011-08-19 01:28:15 -05:00
Christopher Eby
4169dd05b3
Version 0.1 build 16
2011-01-11 17:06:15 -06:00
Christopher Eby
587dff0a75
Don't crash in CoverView with song ids of -1
2010-07-31 17:14:53 -05:00
Christopher Eby
1423ce773c
Increase shadow radius in widget
2010-07-25 22:06:01 -05:00
Christopher Eby
2a1361b626
Add a new action for notification click: skip to next song
2010-07-25 17:00:51 -05:00
Christopher Eby
332d585961
Populate the widget ImageView initially
2010-07-25 16:22:17 -05:00
Christopher Eby
338974def5
Handle randomization of broken songs correctly
...
The old code didn't update the song in the timeline, which lead to some
interesting issues.
2010-07-25 14:03:00 -05:00
Christopher Eby
7156d11ea1
Increase padding on the long widget buttons
2010-07-25 03:07:25 -05:00
Christopher Eby
03ffdfbaf3
Add a 2x2 widget
2010-07-25 03:07:12 -05:00
Christopher Eby
0cf4e0e097
Tweak 1x4 widget layout
2010-07-25 01:06:05 -05:00
Christopher Eby
2f8679bb54
Tweak one cell widget layout
2010-07-25 00:52:23 -05:00
Christopher Eby
7879aa775a
Run pngcrush on all PNGs
2010-07-25 00:38:21 -05:00
Christopher Eby
a43baab770
Change the appearance of the 1x4 widget
2010-07-25 00:30:29 -05:00
Christopher Eby
5f72dba0e4
Fix some crashers
2010-07-24 22:56:20 -05:00
Christopher Eby
4495daf234
Don't crash for null songs
2010-07-17 19:39:23 -05:00
Christopher Eby
4634dd8ca5
Remove the borders from the long widget
2010-07-17 19:38:28 -05:00
Christopher Eby
e5b5870453
Query random songs in clusters
2010-07-01 01:38:39 -05:00
Christopher Eby
1524225657
Don't crash when moving before a repeating song
2010-07-01 01:18:34 -05:00
Christopher Eby
f6298a07c3
Cache the covers retrieved with getCover
2010-07-01 01:18:23 -05:00
Christopher Eby
435de332b8
Reuse bitmaps in CoverView
2010-07-01 01:18:12 -05:00
Christopher Eby
a85848c246
Refactor bitmap cache into a discrete class
2010-07-01 00:29:47 -05:00
Christopher Eby
4a120630b4
Fallback to offical cover art retrieval api
2010-06-03 21:34:41 -05:00
Christopher Eby
203fadccb4
Update song selector controls on the proper event only
2010-06-02 22:36:27 -05:00
Christopher Eby
5f53a5dbc2
Handle repeat/shuffle toasts in PlaybackService
...
Prevents toasts from being shown multiple times..
2010-06-02 22:33:53 -05:00
Christopher Eby
ae27040cd4
Better force state load
2010-06-02 22:29:06 -05:00
Christopher Eby
f43bb58a65
Only open the activity in certain areas on the widget
2010-06-02 00:30:39 -05:00
Christopher Eby
24f55f76f5
Toggle playback on long click of CoverView
2010-06-02 00:26:31 -05:00
Christopher Eby
d92c8a2638
Give CoverView its own Handler
2010-06-02 00:18:56 -05:00
Christopher Eby
9de092f7fb
Make Song.generateBitmap more clear
2010-05-31 23:12:10 -05:00
Christopher Eby
91b8d627a8
Create tab count constants in SongSelector
2010-05-31 22:33:54 -05:00
Christopher Eby
6234b402f2
Save state in song selector across orientation changes
2010-05-31 21:57:03 -05:00
Christopher Eby
21515a430e
Defer broadcasting
2010-05-26 22:48:07 -05:00
Christopher Eby
3d0aff0d38
Launch the appropriate activity for widget double tap
2010-05-26 22:27:51 -05:00
Christopher Eby
3e186a2307
Add a 1x4 widget
2010-05-26 22:25:00 -05:00