Commit graph

1882 commits

Author SHA1 Message Date
tibbi
26c444c9f8 use some cursor helper functions 2017-01-07 20:24:20 +01:00
tibbi
c042b81a4d use a helper function for checking storage permission 2017-01-07 20:20:51 +01:00
tibbi
245f48a93a taking some strings from Commons 2017-01-07 00:24:07 +01:00
tibbi
18dede3901 reuse some common dimens 2017-01-06 23:45:10 +01:00
tibbi
20bae65e97 move images in drawables folder 2017-01-06 23:39:39 +01:00
tibbi
c67696bc3b use the commons colors 2017-01-06 23:30:08 +01:00
tibbi
d2cd7b687e remove some styles 2017-01-06 23:28:03 +01:00
tibbi
f387b7b4ab add a black splash screen 2017-01-06 23:24:48 +01:00
tibbi
f4957d43cd add Commons lib 2017-01-06 23:22:49 +01:00
Sérgio Marques
eaf444a6da Portuguese update 2016-12-13 22:18:11 +00:00
tibbi
b07270a257 update version to 1.24 2016-12-11 23:24:30 +01:00
tibbi
71e3e955c6 update sdk to 25 2016-12-11 23:23:20 +01:00
tibbi
2722e31866 adding some About adjustments 2016-12-11 23:22:22 +01:00
tibbi
594f720b7e adding a couple strings 2016-12-11 23:20:34 +01:00
tibbi
63462bbb4d use the same divider for all android versions 2016-12-11 12:24:55 +01:00
tibbi
90b55ac389 rename edit to rename 2016-12-11 12:23:54 +01:00
Sérgio Marques
e8b7f40429 Portuguese update 2016-12-05 22:21:08 +00:00
tibbi
19f17dc874 update filepicker and fileproperties 2016-12-04 15:11:15 +01:00
tibbi
85364f55b4 make sure the dialogs are cancelable by clicking outside 2016-12-04 14:59:21 +01:00
tibbi
2b8fb10b0e update version to 1.23 2016-12-03 20:51:11 +01:00
tibbi
66b7743807 make Change sorting dialog scrollable 2016-12-03 20:51:07 +01:00
tibbi
027a4eb7b4 removing butterknife 2016-12-03 20:45:11 +01:00
tibbi
16d85d6d6e couple RTL fixes, but still keep is disabled 2016-12-03 20:40:27 +01:00
tibbi
bbbb0994a6 show the currently played song info at widget config, if any 2016-12-03 20:18:27 +01:00
tibbi
1a8ca23148 properly update the widget song info and state at initialization 2016-12-03 20:16:25 +01:00
tibbi
46010a5eeb show a toast at toggling shuffle or song repetition 2016-12-03 20:10:17 +01:00
tibbi
51abdba855 update the way restart song works 2016-12-03 19:59:48 +01:00
tibbi
ab0a256321 add temporary icons for repeat and shuffle 2016-12-03 19:51:24 +01:00
tibbi
b1570e101b make sure the initial notification can be swiped away 2016-12-03 19:46:44 +01:00
tibbi
2f0778f3a4 merge song repetition items into one 2016-12-03 19:39:48 +01:00
tibbi
f285ecc6e6 move Shuffle into the actionbar, no icon yet 2016-12-03 19:35:57 +01:00
tibbi
ffafc4ae28 move sorting option from Settings to an actionbar item 2016-12-03 18:46:44 +01:00
tibbi
7fe129bff0 makr sure we mark the current song on resume 2016-12-03 18:26:18 +01:00
tibbi
011c7c54c0 add the sorting dialog layout 2016-12-03 18:11:46 +01:00
tibbi
891fa89ef9 make Song class sortable 2016-12-03 17:50:59 +01:00
tibbi
0b0f7a2ac7 add some sorting related things 2016-12-03 17:46:03 +01:00
tibbi
86448068d4 fix #14, add an indicator for the currently played song1 2016-12-03 17:36:42 +01:00
tibbi
02f85b2054 add an icon for the currently played song 2016-12-03 16:25:21 +01:00
tibbi
2abfdb43f6 fix an issue at renaming file 2016-12-03 13:19:00 +01:00
tibbi
bbf25b50b8 properly handle currently played song edit 2016-12-03 11:40:54 +01:00
tibbi
0836c2bafd make sure only the proper songs are selected by long click 2016-12-03 11:11:33 +01:00
tibbi
ca717eb6b3 just update the adapter at editing a song, dont recreate it 2016-12-02 23:54:10 +01:00
tibbi
bd96ca9b89 style update at songadapter 2016-12-02 23:13:28 +01:00
tibbi
8068f66306 implement editing songs + cleanup 2016-12-02 23:12:05 +01:00
tibbi
3e163932dd remove the leftovers of Undo action, we delete directly with confirmation dialog 2016-12-02 22:18:33 +01:00
tibbi
c82e078be7 add song deleting 2016-12-02 22:14:43 +01:00
tibbi
9fcc3a7018 add song properties 2016-12-02 18:55:44 +01:00
Tibor Kaputa
d842a7e0be remove some unneeded code 2016-12-02 11:17:12 +01:00
Tibor Kaputa
d26e9d379c add a divider between songs 2016-12-02 11:06:16 +01:00
Tibor Kaputa
65173fe4be add long pressing 2016-12-02 10:47:45 +01:00
Tibor Kaputa
a346b21c01 allow clicking on songs 2016-12-02 10:44:54 +01:00
Tibor Kaputa
f56192145d update the song items selectable state 2016-12-02 10:40:56 +01:00
Tibor Kaputa
75c9e74227 replace the songs listview with a recyclerview 2016-12-02 10:36:48 +01:00
Tibor Kaputa
341118fff7 convert constants to kotlin 2016-12-02 10:01:09 +01:00
tibbi
9146e25db2 replace Utils class with extensions 2016-12-01 23:29:21 +01:00
tibbi
b9019502db convert musicservice to kotlin 2016-12-01 23:24:59 +01:00
tibbi
1cd59c6c13 converting MainActivity to kotlin + some cleanup along the way 2016-12-01 22:51:15 +01:00
tibbi
3b02ad0daf convert widgetconfigureactivity to kotlin 2016-12-01 22:27:36 +01:00
tibbi
32f4a00a7b move song editing in a standalone dialog 2016-12-01 22:17:11 +01:00
tibbi
3bd2acff9b allow scrolling at the Edit song dialog 2016-12-01 21:15:29 +01:00
tibbi
9676c5981f move MyWidgetProvider to kotlin 2016-12-01 19:43:30 +01:00
tibbi
25634e428d yep, converting receivers to kotlin 2016-12-01 19:28:07 +01:00
tibbi
99966d7ff4 convert songAdapter to kotlin 2016-12-01 19:17:59 +01:00
tibbi
ae5f660d7d convert Song to kotlin 2016-12-01 19:05:23 +01:00
tibbi
deb6f6d36c small About us update 2016-12-01 18:56:59 +01:00
tibbi
9cdef049e1 move Events to kotlin 2016-12-01 18:55:50 +01:00
tibbi
202974db69 more kotlin migrating 2016-12-01 18:49:24 +01:00
tibbi
cf270744e5 convert Settings to kotlin 2016-12-01 18:38:15 +01:00
tibbi
8fbbab85b7 add some missing licences 2016-12-01 18:25:18 +01:00
tibbi
dc3b8b7b16 convert some activities to kotlin 2016-12-01 18:25:04 +01:00
tibbi
ea30e813cd convert Config to kotlin 2016-12-01 18:13:34 +01:00
tibbi
61e5c97732 update target sdk to 24 2016-11-30 23:58:26 +01:00
tibbi
6974dc42df add filepicker 2016-11-30 23:56:41 +01:00
tibbi
fe4b000e9e escaping some quotes 2016-11-30 21:55:28 +01:00
naofum
a7aba902af Updated Japanese 2016-11-30 23:35:16 +09:00
Sérgio Marques
0ba0e21a3b Portuguese update 2016-11-26 16:13:01 +00:00
tibbi
f2318e2855 adding playstore strings 2016-11-25 00:00:35 +01:00
tibbi
d7fecb41b6 adding Spanish translation 2016-11-20 18:10:32 +01:00
tibbi
a0cb48e4e6 removing some testing related things 2016-11-20 18:09:37 +01:00
Sérgio Marques
584e711620 Update strings.xml 2016-11-13 18:12:59 +00:00
Sérgio Marques
5e2db6b7b6 Portuguese update 2016-11-09 23:52:19 +00:00
tibbi
684e0c74c2 update version to 22 (1.22) to resolve some conflicts 2016-11-03 22:56:08 +01:00
tibbi
3f81a156b5 update version to 21 (1.21) 2016-11-03 22:47:31 +01:00
tibbi
15c070d371 add kotlin 2016-11-03 22:46:37 +01:00
tibbi
64816393fd add a properties dialog implementation 2016-11-03 22:44:06 +01:00
tibbi
d6045f6b49 add a Properties cab item 2016-11-03 22:11:11 +01:00
mueller-ma
c08dff71d7 Update strings.xml 2016-10-25 11:30:02 +02:00
mueller-ma
076d40397f Update strings.xml 2016-10-25 11:15:48 +02:00
mueller-ma
d95d38477e Translated some strings to german 2016-10-25 11:12:20 +02:00
tibbi
bfcf67fbe1 update version to 20 (1.20) 2016-10-12 18:31:24 +02:00
tibbi
0ebcb60083 add back the READ_PHONE_STATE permission for pausing the music at ringing 2016-10-12 18:15:00 +02:00
tibbi
04bb390277 update version to 19 (1.19) 2016-10-09 18:19:56 +02:00
tibbi
fe4efa1836 do not reset the play buttons icon on resume 2016-10-09 18:18:36 +02:00
tibbi
8df3cc5956 add the actual song repetition function 2016-10-09 18:16:22 +02:00
tibbi
96b5c6f49b add a menu button for repeating the current song 2016-10-09 18:10:35 +02:00
YSmhXQDd6Z
419cbbce92 Create strings.xml 2016-10-02 21:50:50 +00:00
tibbi
ee7744085a update gradle to 2.2.0 2016-09-24 22:07:44 +02:00
tibbi
3848d0ec7e set the initial button of the play button 2016-09-20 19:11:02 +02:00
tibbi
9682c3cf91 removing READ_PHONE_STATE permission, not sure what was it added for 2016-09-20 18:57:56 +02:00
Tibor Kaputa
ccf5a70f68 Merge pull request #19 from vanitasvitae/master
Fixed typo
2016-09-09 00:19:53 +02:00
vanitasvitae
49689df962 Fixed typo 2016-09-08 10:06:48 +02:00
tibbi
245f5463f7 update version to 18 (1.18) 2016-09-07 22:51:27 +02:00
tibbi
720baf19a8 small change to selectable item background 2016-09-07 22:51:09 +02:00
tibbi
b52c99e21c mark some strings translatable 2016-09-07 22:01:17 +02:00
Tibor Kaputa
40963075d5 Merge pull request #18 from vanitasvitae/master
Added german translation
2016-09-07 22:00:19 +02:00
Tibor Kaputa
3240f8b72d lets make some notification strings translatable 2016-09-06 14:00:57 +02:00
vanitasvitae
b1d19a8227 Added german translation 2016-09-06 13:25:52 +02:00
tibbi
92014c8914 rename a variable 2016-08-31 23:31:39 +02:00
tibbi
49284f6a39 update version to 17 (1.17) 2016-08-29 22:30:01 +02:00
tibbi
546d796ca1 change launcher name to Music Player 2016-08-29 22:29:37 +02:00
tibbi
61d3079004 update the launcher icons 2016-08-29 22:28:40 +02:00
tibbi
31f2d9671b update version to 16 (1.16) 2016-08-22 21:12:27 +02:00
tibbi
8e53366615 fix #15, restart the notification ticker when restarting the song 2016-08-22 20:32:14 +02:00
tibbi
24df68059a add an Invite friends button 2016-08-22 20:31:30 +02:00
tibbi
0aca1f53af use our own strings for OK and Cancel 2016-08-21 20:35:04 +02:00
tibbi
f37ad3addb make the buttons in About section easier to click 2016-08-21 20:13:52 +02:00
tibbi
83376c800c update version to 15 (1.15) 2016-07-27 23:20:29 +02:00
tibbi
1618cf068b do not kill the player at pause on Android 4 2016-07-27 23:20:22 +02:00
tibbi
baf30bbfff update version to 14 (1.14) 2016-07-26 22:56:31 +02:00
tibbi
748d4dfec5 make the dark theme really dark 2016-07-26 22:56:23 +02:00
tibbi
78ae98af5f use localized buttons at dialogs 2016-07-24 18:15:21 +02:00
tibbi
b54d8b5d05 update version to 13 (1.13) 2016-07-24 09:36:30 +02:00
tibbi
0c218a4489 remove a non translatable string 2016-07-24 09:35:44 +02:00
tibbi
3607d29de3 show a Next button on the lockscreen widget 2016-07-22 18:53:56 +02:00
tibbi
cb26d866dc dismiss the notification on pause at Android 4 2016-07-22 18:53:38 +02:00
tibbi
bfbd4d66ae use white icons by default 2016-07-21 22:54:49 +02:00
tibbi
f42f9bf147 use the built in mediastyle for notifications
- so it appears on the lock screen
2016-07-21 22:27:21 +02:00
tibbi
31fb1d3f81 lower some spacing and use the default font 2016-07-21 19:48:33 +02:00
tibbi
61796c1557 add a Dark theme 2016-07-21 00:06:49 +02:00
tibbi
4f6b825ede use Caps Words at renaming song dialog 2016-07-20 23:39:39 +02:00
tibbi
b1e3943dce move the Settings btn to the main screen 2016-07-18 19:02:13 +02:00
tibbi
0e2845312c remove some non translatable strings 2016-07-17 23:25:17 +02:00
Sopor
83a2b7e99a swedish translation 2016-07-16 21:06:05 +02:00
tibbi
b07f5e7eff update version to 12 (1.12) 2016-07-15 22:34:31 +02:00
tibbi
936781ce15 remove the non translated strings from the localized files 2016-07-15 22:34:20 +02:00
tibbi
9249da8b17 mark some strings as not to be translated 2016-07-15 22:20:58 +02:00
tibbi
d4519f430e try enabling lockscreen widget on some devices 2016-07-15 22:13:50 +02:00
tibbi
39e0fad86b escape some apostrophes 2016-07-15 21:52:01 +02:00
Tibor Kaputa
ce7018349d Merge pull request #5 from anthologist/master
Add italian translation
2016-07-15 21:44:38 +02:00
Tibor Kaputa
05fe3bd059 Merge pull request #7 from naofum/master
Added Japanese translation
2016-07-15 21:44:29 +02:00
tibbi
b1e00214df add some padding to the setting spinner items 2016-07-15 21:43:42 +02:00
tibbi
a7e9223464 secure the other usePreset too 2016-07-15 21:42:39 +02:00
tibbi
e417336c95 wrap the usePreset function with a try/catch block just to be sure 2016-07-15 21:34:57 +02:00
tibbi
e4743cc1b3 release the equalizer at player destroy 2016-07-15 21:30:10 +02:00
naofum
9817fa2019 Added Japanese translation 2016-07-16 00:21:29 +09:00
anthologist
fb0af434ec Create strings.xml 2016-07-15 10:55:56 +02:00
tibbi
ee090ea41f use a bit lighter selection color 2016-07-14 11:49:25 +02:00
tibbi
180875759f make the overscroll effect occupy whole width 2016-07-14 10:05:53 +02:00
tibbi
7cef40de34 update version to 11 (1.11) 2016-07-12 15:37:11 +02:00
tibbi
e54b8a8d4d set volume stream to STREAM_MUSIC 2016-07-12 15:36:32 +02:00
tibbi
6061acd911 allow rotating the device 2016-07-11 20:51:58 +02:00
tibbi
6b2fceb820 some english fixes 2016-07-11 20:22:54 +02:00
tibbi
b17d5a5c9c update the version to 10 (1.10) 2016-07-09 19:34:59 +02:00
tibbi
306fa6b632 add an Equalizer with some presets 2016-07-08 19:46:35 +02:00
tibbi
26e6065203 allow sorting the songs by artist 2016-07-08 15:34:14 +02:00
tibbi
0b5e8ed922 update version to 9 (1.9) 2016-07-07 17:17:59 +02:00
tibbi
9e382a2502 disable numeric progress by default 2016-07-07 17:17:31 +02:00
tibbi
fa51915c57 display song progress with numbers too 2016-07-07 17:10:08 +02:00
tibbi
e1b466deeb reset the song at init 2016-07-07 16:52:18 +02:00
tibbi
827986a7df allow disabling shuffle 2016-07-07 16:20:45 +02:00
tibbi
64de206976 add a Settings screen 2016-07-07 15:13:59 +02:00
tibbi
8af374bbe7 use the proper widget preview image 2016-07-07 12:00:11 +02:00
tibbi
c14230ff31 update version to 8 (1.8) 2016-07-05 21:48:49 +02:00
tibbi
1c86aea4fe use the new Google Plus logo 2016-07-01 23:03:44 +02:00
tibbi
7f094e161a update the version to 7 (1.6) 2016-07-01 16:02:34 +02:00
tibbi
0d76f44b12 show a Rate us button to returning users 2016-07-01 15:10:18 +02:00
tibbi
a62df3b229 use a higher resolution Facebook logo 2016-07-01 12:32:03 +02:00
tibbi
b97fb5377d allow resizing the widget horizontally if there's space 2016-07-01 12:01:13 +02:00
tibbi
418af89c2a properly scale up on tablets 2016-06-30 23:27:11 +02:00
tibbi
6a66060800 update version to 6 (1.5) 2016-06-27 23:24:14 +02:00
tibbi
3b037fa5f9 add a Google Plus link in the About section 2016-06-27 23:23:54 +02:00
tibbi
c3c3c7c727 update version to 5 (1.4) 2016-06-19 21:49:53 +02:00
tibbi
3e5f709344 implement changing the progress via the seekbar 2016-06-19 21:47:19 +02:00
tibbi
db57ded101 update the progress bar every second 2016-06-19 18:24:36 +02:00
tibbi
e8d270b527 add a song progressbar 2016-06-19 17:51:29 +02:00
tibbi
be8d963c81 lets try never unregistering, so the app can be launched with it media button too 2016-06-19 14:08:47 +02:00
tibbi
cfd1b99dac register for media button events programmatically 2016-06-19 14:05:01 +02:00
tibbi
ee42541225 add a Facebook image at the About section 2016-06-19 13:33:51 +02:00
tibbi
ae7e3ce07c some refactoring, no functionality change 2016-06-19 10:53:01 +02:00
tibbi
ce0e8a1d41 update the build tools and appcompat 2016-06-15 16:10:21 +02:00
tibbi
a2a3d35369 update the version to 4 (1.3) 2016-06-15 16:08:01 +02:00
tibbi
dd9ecf1793 add the read_phone_state permission 2016-06-15 16:07:28 +02:00
tibbi
693ba1bb8a update version to 3 (1.2) 2016-06-13 14:53:43 +02:00
tibbi
0f88a3c9b6 clear the song and artist view when the player is destroyed 2016-06-13 14:53:01 +02:00
tibbi
e2dc35d1db remove an unnecessary permission 2016-06-13 14:47:25 +02:00
tibbi
b601b78b31 make sure the songs are initialized properly after giving storage permission 2016-06-13 14:44:05 +02:00
tibbi
f8e155bb68 fix a crash when launching the app without file permission 2016-06-13 14:19:06 +02:00
tibbi
563bc09ca2 update version to 2 (1.1) 2016-06-10 17:27:28 +02:00
tibbi
b1fca042de limit the song artist and title to 1 line in the app 2016-06-10 17:25:29 +02:00
tibbi
94ccb7a892 always use a white notification with black items 2016-06-10 17:13:22 +02:00
tibbi
4512b46aea increase the notification priority 2016-06-04 15:10:21 +02:00
tibbi
68efff6533 use a variable for resources 2016-06-04 15:03:09 +02:00
tibbi
e8b066f4eb make the selected state a bit lighter 2016-06-04 14:52:34 +02:00
tibbi
76fd9f4afe open the app on widgets title or artist click 2016-06-04 14:23:56 +02:00
tibbi
19d992ecad add widget preview images 2016-06-04 12:26:34 +02:00
tibbi
fa0ae6e773 add status bar icon 2016-06-04 12:10:26 +02:00
tibbi
c4e7e63495 add launcher icons 2016-06-04 11:41:22 +02:00
tibbi
da0352ee38 change the app colors 2016-06-03 23:56:23 +02:00
tibbi
bcda6eeb02 add licences 2016-06-02 20:21:31 +02:00
tibbi
e138f5168e change the actionbar font style 2016-06-02 13:22:49 +02:00
tibbi
879b73dced change the remaining icons and colors 2016-06-01 23:33:55 +02:00
tibbi
f6ae03105a add some icons and colors 2016-06-01 22:38:44 +02:00
tibbi
5254919a4d update Butterknife to 8.0.1 2016-06-01 18:16:34 +02:00
tibbi
df44d6bfd9 add About section 2016-06-01 17:26:19 +02:00
tibbi
9262b35600 fix saving transparent widget background color 2016-05-31 19:44:48 +02:00
tibbi
d849b2f686 small context handling change in widget 2016-05-31 17:14:28 +02:00
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