Commit graph

2226 commits

Author SHA1 Message Date
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