Commit graph

2098 commits

Author SHA1 Message Date
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
fdb360e9aa add SimpleMobileTools to the license 2016-01-10 14:45:59 +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
Tibor Kaputa
120e7731aa Initial commit 2016-01-10 13:21:24 +01:00