399 Commits

Author SHA1 Message Date
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
jfim
fc7aae9d81 Use the private MediaScanner API to load cover art 2010-04-20 22:56:33 -05:00
Christopher Eby
05e4abed9c Don't automatically hide the controls in the main view
Let's just try it out. It's more like the iPod/iPhone..?
2010-04-20 18:37:07 -05:00
Christopher Eby
f1142c894f Fix CoverView rendering in horizontal separated mode 2010-04-20 18:20:24 -05:00
Christopher Eby
0d625e0851 Cpoy the albumId into the parcel 2010-04-20 18:20:19 -05:00
Christopher Eby
3dfb6e6b6e Add a fallback for cover art fetching 2010-04-19 00:32:41 -05:00
Christopher Eby
ec1de12818 Shorten some long preference descriptions 2010-04-15 22:37:53 -05:00
Christopher Eby
0409d707b4 Swap library / display mode menu items
Makes position consistent with those in song selector
2010-04-15 22:31:58 -05:00
Christopher Eby
d4b38f4491 Search button toggles song selector on/off 2010-04-15 22:31:08 -05:00
Christopher Eby
fe335aa90a Don't dismiss the dialog on back press in selector-on-startup mode 2010-04-15 22:29:59 -05:00
Christopher Eby
1c4c65890c Use an alternative method to fetch cover art
This seems to allow the MediaStore to generate the thumbnails for cover art if
they do not exist yet.

Is this documented anywhere..?
2010-04-13 23:26:18 -05:00
Christopher Eby
78122cc4c2 Remove some unused imports 2010-04-13 22:38:36 -05:00