Commit graph

126 commits

Author SHA1 Message Date
tibbi
56deacb805 make a constant static 2016-04-25 23:40:58 +02:00
tibbi
4c85c7e520 prepare Release mode 2016-04-25 23:08:24 +02:00
tibbi
2892615b33 remove the Stop button 2016-04-25 17:14:59 +02:00
tibbi
374dc283b5 update Gradle to 2.0 2016-04-11 19:17:23 +02:00
tibbi
5328f4d97f some formatting 2016-03-27 11:33:02 +02:00
tibbi
f60032b530 play every song just once, clear queue if all were played 2016-03-27 11:31:10 +02:00
tibbi
8fb08a45fb allow the last song be picked at random too 2016-03-27 11:03:43 +02:00
tibbi
5efee23a3e really make sure we do not repeat the same song 2016-03-26 18:06:37 +01:00
tibbi
c251c65d0f make dialog edittexts single line 2016-03-26 16:46:58 +01:00
tibbi
722326e8e6 implement renaming song file name 2016-03-26 16:45:25 +01:00
tibbi
126dbbf921 allow changing the song artist and title 2016-03-24 21:58:54 +01:00
tibbi
4e57796451 do not display a toast when deleting a song 2016-03-24 18:42:22 +01:00
tibbi
cc089ca305 order the songs by song name 2016-03-23 23:12:16 +01:00
tibbi
dd54c29e55 implement deleting songs 2016-03-23 23:09:03 +01:00
tibbi
7b874c9b30 select the song path aswell 2016-03-23 18:32:03 +01:00
tibbi
9daaedfdc1 add some visuals to selected songs 2016-03-22 21:03:27 +01:00
tibbi
59d3c523b8 allow selecting the songs 2016-03-22 20:51:30 +01:00
tibbi
ce7988042a allow only 1 instance of the app running 2016-03-22 19:49:51 +01:00
tibbi
0670780e0a add ripple effect to buttons 2016-03-22 19:43:53 +01:00
tibbi
445e0272eb check for storage permissions at start 2016-03-16 13:44:53 +01:00
tibbi
683b3a282c some change to the Remote Controller for better experience 2016-03-08 18:17:39 +01:00
tibbi
ba30879eb9 change the package name 2016-02-25 21:58:06 +01:00
tibbi
e46e28e8f1 resume song only when the incoming call ends 2016-02-19 20:16:29 +01:00
tibbi
e1fe9734ac remove a variable 2016-02-16 23:03:12 +01:00
tibbi
257aa0ba2b rename some variables 2016-02-16 22:52:32 +01:00
tibbi
c7163ebc26 display a proper notification for lollipop+ 2016-02-14 12:11:31 +01:00
tibbi
24ec4230fc allow resizing the widget vertically 2016-02-14 11:19:47 +01:00
tibbi
0037d32617 use explicit intents 2016-02-14 11:04:01 +01:00
tibbi
1a987168ad do not start the song if the player has been initialized with Stop 2016-02-14 00:10:21 +01:00
tibbi
f59700671b add a notification for controlling the player 2016-02-13 18:44:58 +01:00
tibbi
13c9ca6a5c update the widget only when needed 2016-02-13 13:44:19 +01:00
tibbi
788e9fa52d use a normal service instead of a bound service 2016-02-13 12:23:41 +01:00
tibbi
d35e0ddcd7 disable changing the widget text color alpha 2016-01-31 20:00:44 +01:00
tibbi
84ea403c2a move the widget RESULT_CANCELED a bit up 2016-01-31 17:12:14 +01:00
tibbi
2e7190fb89 change the widget config screen to make the wallpaper visible 2016-01-27 17:25:35 +01:00
tibbi
e4a73b6d6e update the widget only when needed 2016-01-26 20:53:36 +01:00
tibbi
976f1a345c minor Bus edits 2016-01-26 20:35:47 +01:00
tibbi
2f4ffd8c9f couple edits to setup widget buttons and texts properly 2016-01-26 18:01:41 +01:00
tibbi
fd9612058e allow changing the texts and buttons color too 2016-01-25 23:56:08 +01:00
tibbi
a4c753897a rename some variables 2016-01-25 20:47:11 +01:00
tibbi
20618214c8 change the background color of the Save button dynamically 2016-01-24 23:21:28 +01:00
tibbi
02d423f1c2 create a function for initializing the config variables 2016-01-24 21:33:13 +01:00
tibbi
13945ef7b3 write some default song title and artist in the config screen 2016-01-24 21:28:30 +01:00
tibbi
8b19ce3bdf add a color picker to the widget dialog 2016-01-24 21:14:10 +01:00
tibbi
3f98ab868d add a widget config for setting the background transparency 2016-01-24 17:40:25 +01:00
tibbi
a28f8cc53e reset song data on Unbind 2016-01-24 16:04:46 +01:00
tibbi
745dc3cb94 restart the song in a nicer way 2016-01-21 23:09:50 +01:00
tibbi
60a013009e make the widgetId static 2016-01-21 11:36:13 +01:00
tibbi
76770d12bd reuse the same widget controls element in the big and small widget 2016-01-21 11:07:23 +01:00
tibbi
7a4542de3b remove the song artist and title if the widget has only 1 row 2016-01-21 10:56:36 +01:00
tibbi
57e877bdad increase the allowed multiclick timer to 1 sec
- for easier triple click via headset button
2016-01-21 10:10:33 +01:00
tibbi
cdc4de85ed lets catch the occasional exception at unregistering the widget Bus 2016-01-20 23:42:59 +01:00
tibbi
6a6fd45285 clear the songs list before filling it to be prevent duplicating 2016-01-20 23:26:54 +01:00
tibbi
c49612af5a properly update the song info at the activity
- mostly for cases when the song has been changed/paused from the widget
2016-01-19 23:16:36 +01:00
tibbi
c4fb58d76b store the songs list in the service, not activity 2016-01-19 23:11:32 +01:00
tibbi
ac0ccad4f8 play the previous song if we are less than 5 secs into the song, else restart 2016-01-19 22:22:30 +01:00
tibbi
a1a76e58c0 lets listen for clicks from headset buttons too
- 1 click - play/pause, 2 - next, 3 - previous
2016-01-19 22:16:51 +01:00
tibbi
efea77caaf pause the song at incoming call 2016-01-19 21:48:45 +01:00
tibbi
1d8b1eb2e6 pause the song if the headset gets unplugged 2016-01-19 20:45:11 +01:00
tibbi
2f32c67579 properly update play/pause icon on the widget 2016-01-18 23:29:31 +01:00
tibbi
5b8ddee28e update song artist/title info on the widget 2016-01-18 23:25:54 +01:00
tibbi
21c2efed39 implement the widget control functions and add Restart 2016-01-18 23:12:30 +01:00
tibbi
1df441ebed implement Square Bus for widget events 2016-01-18 23:01:14 +01:00
tibbi
d1a3bcb84b setup the button click listeners 2016-01-11 22:39:32 +01:00
tibbi
a4e491e59a add an initial widget 2016-01-11 21:39:51 +01:00
tibbi
8b5221b685 minor edit 2016-01-11 21:04:06 +01:00
tibbi
673fd1c6e6 properly handle app restart while a song is playing 2016-01-11 20:36:01 +01:00
tibbi
1eab76d920 implement the basic functionality 2016-01-11 20:18:28 +01:00
tibbi
a53dc5a462 play the pressed song 2016-01-10 22:31:49 +01:00
tibbi
4d3c066697 warn the user if he presses a button but the playlist is empty 2016-01-10 21:47:01 +01:00
tibbi
44f454f205 update the current song info on song click 2016-01-10 20:23:54 +01:00
tibbi
55a2a66462 populate the songs list with songs from the device
- for now it takes audios from the whole device that are longer than 20 secs
2016-01-10 19:58:18 +01:00
tibbi
280553ba65 create a MusicService 2016-01-10 15:29:09 +01:00
tibbi
3720f9e9c6 force portrait mode 2016-01-10 14:46:28 +01:00
tibbi
9a95124cc6 add some basic controls 2016-01-10 14:42:10 +01:00
tibbi
623b5b6313 adding the project 2016-01-10 13:26:04 +01:00