Try to create an app that
picks and plays mp3 files from the device,
fast forward and rewind,
displays the correct duration and current runtime (Player.CurrentPosition) and
also plays mp3 files from the external (removable) SD card (if available).
This is also possible without any extension, but the following extension is allowed so that the project does not become too extensive: FileTools : Some tools to work with files - #24 by cleiton_t_machado
Something like this:
8 Likes
vknow360:
Wdym
Is there anything unclear with my description? I don’t think so.
1 Like
vknow360
(Sunny Gupta)
June 7, 2020, 10:36am
5
Sorry
Actually I have muted notifications from you so instead of showing challenge Discourse shows me this:
Unknown feature
3 Likes
I also make the very similar thing in my app but it is in video. So it won’t be hard. (i think )
Even better, then show your solution …
Wait because I’m not at home currently.
1 Like
Here is an APK for testing:
pickPlayMP3_forBackward.apk (5.5 MB)
2 Likes
WatermelonIce:
Wait …
I’m still waiting …
Maybe it’s not as easy as you thought.
2 Likes
I have school lesson starting from today… Very busy.
I finished like 3/4, maybe that’s not a daily challenge
2 Likes
Although I couldn’t participate, I love this daily challenge. Hoping @bodymindpower will make more in-depth challenges like this.
3 Likes
kishore
(Kishore8)
June 9, 2020, 9:05am
14
May i know the logic you used, as no has been able submit their aia, apk or logic…
This is a challenge. You have to solve it your own.
2 Likes
Im so sorry taking u so much time, but i just give up cuz it’s too hard…
The realized that you don’t need to use slider to fast and rewind in video player.
I can only do the time position and pick video.
1 Like
Someone said it would be even better if you could change the position of the slider (and Player.CurrentPosition) continuously and not just by clicking on a specific position (because users are used to it).
So I also implemented it:
2 Likes
Yes i also change the slider position when it is playing, the point is i just don’t know how to fast forward and rewind. You can’t use position changed because it us always changing. Only Touch down and up can be used.
Note : You can now also use this extension to keep the blocks a little easier:
Here is an extension to format the time / duration (millis) in different ways: → [ HH:mm:ss ] → [ days + HH:mm:ss ] → [ HH:mm ] → [ mm:ss ] → etc. This is asked very often and always requires a lot of questions / answers and posts in the forum. ...
Reading time: 2 mins 🕑
Likes: 27 ❤
I didn’t use extension.
Check this
Milliseconds is the current position
1 Like