How to get default Media files folder path in Series80 and UIQ........

Login to reply to this topic.
Thu, 2005-08-04 06:34
Joined: 2005-06-15
Forum posts: 10
Hi,

         I am trying to get the default file folder where the audio, video, docs etc.. gets stored in the filesystem, Using file manager i can able to see the folders and path...But i need to get those path programmatically. Is it possible? and if so please help me how to implement it.

In UIQ by using CQikMediaFile::MimeType(), and CQikMediaFile::Folder() and CQikMediaFile::FileType(), i think i can validate the folders as there are some Enums "EQikFileUnrecognizedImageDir, EQikFileUnrecognizedAudioDir, EQikFileUnrecognizedVideoDir, EQikFileUnrecognizedDocumentDir, EQikFileOrdinary, EQikFileRecognizedOtherDir" as SDK help says...will it work...is there any different approach to proceed further...

I cant find any such class or APIs in series80, please share ur knowledge on this and hlep me............

Best Regards,

Pearl

Fri, 2005-08-05 05:27
Joined: 2005-06-15
Forum posts: 10
Re: How to get default Media files folder path in Series80 and U
For UIQ, In \epoc32\include\qikutils.hrh. there is an enum TQikMediaFolders

enum TQikMediaFolders
   {
   EQikMediaFolderImage,
   EQikMediaFolderAudio,
   EQikMediaFolderVideo,
   EQikMediaFolderDocument,
   EQikMediaFolderOther
   };

i dont know how to use it, as i cannot find anyclass/APIs using it...can anyone help me on this....

I dint even have an clue in Series80 for this problem...
Please help me on this......
Tue, 2005-09-27 13:59
Forum Nokia Champion
Joined: 2004-06-30
Forum posts: 36
Re: How to get default Media files folder path in Series80 and U
One year has passed... Did you find the answer ?
I'm looking for the same thing on Serie 60.
Wed, 2005-10-05 08:47
Joined: 2003-12-05
Forum posts: 672
Re: How to get default Media files folder path in Series80 and U
For UIQ, use

TFileName name;
QikFileUtils::MakeAppDocumentFileNameL(name, KUidYourAppsUID);

after this, the name will contain the full path including a file name for your apps default file name with the path.
Thu, 2006-01-12 13:53
Joined: 2005-07-04
Forum posts: 19
Re: How to get default Media files folder path in Series80 and U
Hi,

I now it is a long time since you started this thread but I have to ask you, have you found an answer for this question?

I have spent two days now, looking for how to do this. However I cant find anything that helps.

If you know please let me know.

Thanx
Sat, 2006-04-22 21:44
Joined: 2006-04-22
Forum posts: 17
Re: How to get default Media files folder path in Series80 and U
In UIQ3, the function you're after is CQikMediaFileFolderUtils::GetMediaFilesRootL. I don't think this was present in earlier UIQ versions.

No idea what the equivilant for Series 60/80 would be.
Thu, 2007-01-25 16:09
Forum Nokia Champion
Joined: 2004-06-30
Forum posts: 36
Re: How to get default Media files folder path in Series80 and U
Quote from: stephbel
One year has passed... Did you find the answer ?
I'm looking for the same thing on Serie 60.

 I reply to my own question : PathInfo class  Afro
  • Login to reply to this topic.