How to implement the Next and Previous functions in a MP3 Player ?

Login to reply to this topic.
Fri, 2008-01-18 10:02
Joined: 2008-01-17
Forum posts: 2

Dear all,

I am using the following IDE :
Environment :
Visual .NET + Plug-in Carbide v2.0.1
Symbina 3rd FP1

As I am a new developper in Symbian and C++, I am trying to create a MP3 Player. At the moment, I realized a MP3 Player with the following basic functions : Play, Pause and Stop. I was also able to manage a dynamic menu to display only Play or Pause depending of the context.
I created a menu to manage the level of the volume with the following options : Up, Down, Mute and Max.

To complete my MP3 Player, I would like to implement the Next and Previous basic functions, but I do not know how to do ? Should I use the RFs Class to access to the list all the MP3s stored in the Music directory ?

I need your help. It is very important.

Regards,

Olivier

See my attached project:
MP3Sound.zip
MP3Sound.zip

AttachmentSize
MP3Sound.zip48.9 KB

Fri, 2008-01-18 10:26
Joined: 2007-12-19
Forum posts: 49
Re: How to implement the Next and Previous functions in a

You can use GetDir() method of RFs to list files with certain mask in selected directory and then move forward or backward through that list.

Fri, 2008-01-18 16:09
Joined: 2008-01-17
Forum posts: 2
How to implement the Next and Previous functions in a MP3 Player

How can I use the GetDir method in my code ? How can I interface the RFs class with my project?
Should I create a specific container to manage the list of the mp3 files ?

  • Login to reply to this topic.