360 Commits

Author SHA1 Message Date
Christopher Eby
cc33825cfb Target 2.2 and allow SD card installation 2010-05-20 17:43:53 -05:00
Christopher Eby
1f2f9d5d86 Rename Song.populate to Song.query 2010-05-18 22:16:33 -05:00
Christopher Eby
b878e1aebe Use BITMAP_OPTIONS 2010-05-18 22:16:30 -05:00
Christopher Eby
e989d397fe Remove Song.equals
Seems to be unused
2010-05-18 22:16:27 -05:00
Christopher Eby
8459c71b4e Split utility functions from Song into Playlist and MediaUtils 2010-05-18 22:16:21 -05:00
Christopher Eby
7c082f4856 Implement the ability to add media to playlists. 2010-05-18 22:14:42 -05:00
Christopher Eby
0e7bfd8ad3 Clarify the docs for MediaAdapter.getDefaultSelection 2010-05-16 23:15:45 -05:00
Christopher Eby
3388f4bbef Document PreferencesActivity and VolumePreference 2010-05-16 14:37:13 -05:00
Christopher Eby
c829534c74 Document SongNotification 2010-05-16 14:20:49 -05:00
Christopher Eby
a518bcd109 Clarify MiniPlaybackActivity description 2010-05-16 14:14:41 -05:00
Christopher Eby
80aa7dd9b7 Flesh out the MediaAdapter documentation 2010-05-16 14:10:57 -05:00
Christopher Eby
a1adfeb278 Fix the build
Bad news
2010-05-16 12:54:19 -05:00
Christopher Eby
8ecd6e27e6 Add licenses to the xml drawable resources 2010-05-16 11:53:41 -05:00
Christopher Eby
9dc8baea64 Rename tab icons to their default android names 2010-05-16 11:50:20 -05:00
Christopher Eby
fad3b1160b Add support for playlist playback
No support for creation or editing yet
2010-05-16 11:46:04 -05:00
Christopher Eby
7090c468aa Improve the constructor API in MediaAdapter 2010-05-15 23:25:21 -05:00
Christopher Eby
5b69fcfc3c Update chooseSongs documentation 2010-05-11 22:56:28 -05:00
Christopher Eby
9bc750b564 Better document getSong 2010-05-11 22:48:17 -05:00
Christopher Eby
8d13993613 Fix problems when selector constraint includes 'the', 'a', etc 2010-05-09 21:28:15 -05:00
Christopher Eby
4de4f8a31e Split out song timeline code 2010-05-09 21:02:10 -05:00
Christopher Eby
daafda3c75 Don't crash when song selector content changes
Run requery code on the main thread
2010-05-08 16:16:55 -05:00
Christopher Eby
56d8b31f7f Fix some comments that were meant to be javadocs 2010-05-08 16:06:16 -05:00
Christopher Eby
753af4fa11 Bump existing ids in the CoverView bitmap timeline 2010-04-27 22:39:25 -05:00
Christopher Eby
f92c7348c6 Move DO_ITEM startService handling into separate intents 2010-04-26 20:01:03 -05:00
Christopher Eby
618c364f72 Prepend ACTION_ to PlaybackService actions 2010-04-26 19:18:04 -05:00
Christopher Eby
58c53567bf Open the application by means of a launcher activity
This allows the history to be better handled when the song selector is opened
on launch. Pressing back will leave the application, etc.
2010-04-26 18:10:40 -05:00
Christopher Eby
fe2ec0f975 Handle non-running PlaybackService better
Add a method to retrieve the PlaybackService instance that will start the
service if it is not running
2010-04-26 17:45:54 -05:00
Christopher Eby
80ebbafb6d Document ControlButton and add missing license header 2010-04-25 23:54:58 -05:00
Christopher Eby
a9a8083e89 Store generated cover art views in a cache in CoverView
This isolates the worker thread from the UI thread
2010-04-25 23:54:33 -05:00
Christopher Eby
38b8e3ef9f Split bitmap generation code out of CoverView 2010-04-25 23:54:27 -05:00
Christopher Eby
f33eaa5ba6 Don't prevent flinging in CoverView either 2010-04-25 23:54:23 -05:00
Christopher Eby
44b78811b3 Add license headers to XML files 2010-04-25 23:54:20 -05:00
Christopher Eby
4e9d541dfb Document ContextApplication 2010-04-25 23:54:14 -05:00
Christopher Eby
bcceeb6b9d Document most of Song 2010-04-25 23:51:27 -05:00
Christopher Eby
6cd2b5c7a2 Don't prevent scrolling in CoverView when an bitmap has not yet been loaded 2010-04-25 23:51:24 -05:00
Christopher Eby
88784789ca Move bitmap generation and service interaction into a background thread 2010-04-25 23:51:20 -05:00
Christopher Eby
69ea872f75 Don't use binders or broadcasts to communicate within the application 2010-04-25 23:51:13 -05:00
Christopher Eby
2ca9c39f1c Make SongSelector an Activity again 2010-04-23 22:14:35 -05:00
Christopher Eby
c7e10009c2 Make the external output only preference work again 2010-04-23 13:03:25 -05:00
Christopher Eby
e49fde46cd Move all of the media button handling code into PlaybackService
Also disable MediaButtonReceiver when it is not needed
2010-04-23 12:13:15 -05:00
Christopher Eby
53eb34ec84 Make scrobbling work with the official Last.FM client 2010-04-23 11:20:08 -05:00
Christopher Eby
1ac82fd16b Don't update the seek bar when the activity is paused 2010-04-23 11:18:10 -05:00
Christopher Eby
669ecb4dd3 Don't update the seek bar position when not playing 2010-04-23 11:06:37 -05:00
Christopher Eby
3eec11e821 Fix broken logic in headset_plug receiver 2010-04-23 00:57:27 -05:00
Christopher Eby
f2763c9eb3 Don't broadcast a change to a null song on service shutdown
Removes a workaround for now-defunct behavior
2010-04-22 21:49:32 -05:00
Christopher Eby
d0a88387af Don't show the search box in the selector by default 2010-04-22 20:54:24 -05:00
Christopher Eby
adee2c36aa Do some preemptive updating of the widget when the next button is pressed 2010-04-21 20:16:02 -05:00
Christopher Eby
aeeeaab238 Use the application icon as the widget fallback background in all cases 2010-04-21 17:58:24 -05:00
Christopher Eby
966a02f5c6 Remove the double-press-launches-activity functionality in the widget
This feature causes a delay after pressing either of the buttons and is not
really obvious to begin with
2010-04-21 10:24:42 -05:00
Christopher Eby
846b1aad76 Remove reliance on MediaStore cover cache
Cover art retrieval now relies completely on undocumented APIs, but it _is_ a
little faster
2010-04-20 23:12:16 -05:00