Daily Challenge #81

Try to create an app that

  1. picks and plays mp3 files from the device,
  2. fast forward and rewind,
  3. displays the correct duration and current runtime (Player.CurrentPosition) and
  4. 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

Something like this:

8 Likes

Wdym? :thinking:

Is there anything unclear with my description? I don’t think so.

1 Like

good challenge

mainly this 3 point

3 Likes

Sorry :slightly_smiling_face:
Actually I have muted notifications from you so instead of showing challenge Discourse shows me this:

Unknown feature :joy:

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 :sweat_smile:)

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

I’m still waiting … :wink:

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

Ok, take your time …

2 Likes

Although I couldn’t participate, I love this daily challenge. Hoping @bodymindpower will make more in-depth challenges like this. :grinning_face_with_smiling_eyes:

3 Likes

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.
:cold_sweat:

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:

I didn’t use extension.
Check this


blocks(4)
Milliseconds is the current position

1 Like