×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    8

    Retrieving media files

    How to retrieve the list of media files (sounds, pictures, videos,..) without harcoding the paths like c:\nokia\sounds\ and enumerating using a wildcard ?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037

    Re: Retrieving media files

    Hi,

    the nokia path is on all phone drives & mmc cards... UIQ is also doing it in its own way. So hardcoding/config file is not such limitation. I have one central class included by all application, which returns all necessary paths. Other possibility is pathinfo.h. there is PathInfo class with some static methods...

    Bye
    STeN

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    Rennes; France
    Posts
    38

    Re: Retrieving media files

    Sorry, but i desagree. Don't harcode path !
    On serie 60 you should use PathInfo class the retrieve them.

  4. #4
    Registered User
    Join Date
    May 2004
    Posts
    8

    Re: Retrieving media files

    Thanx, you're right ! I found related infos in the doc.
    I'm using this in conjonction with GetDir and get what I want but unfortunately I cannot retrieve UIDs.
    It seems to be the only field that remain empty.

    My statement is:

    m_fsSession.GetDir(sPathName,KEntryAttNormal|KEntryAttAllowUid,ESortByUid,pFileList,pDirList);

    I have no UID at all. I tried this on the emulator with jpegs and 3gps from my 6600.

    Is it an emulator problem or am i wrong somehere ?

Similar Threads

  1. SIP content type
    By hlothman in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-05-17, 09:26
  2. Sample EAACPlus media files
    By Skygyl in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-11-29, 08:58
  3. Replies: 0
    Last Post: 2005-08-04, 06:50
  4. Replies: 0
    Last Post: 2005-06-08, 10:19
  5. Retrieving Files
    By Nokia_Archive in forum Symbian
    Replies: 0
    Last Post: 2002-06-03, 02:51

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×