Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User aditya4180's Avatar
    Join Date
    Oct 2006
    Location
    Tampere Finland
    Posts
    76
    Hi,

    I am just writing an example application which will traverse through all the files available in system and display it to the screen.

    For example you can say as its scanning the directories but it should show the file name on the screen its going through. I can use CDirScan and TFindFile but the problem is how to show it on the screen one by one. Should I store file names in an array and than display it but than my array size will be too big if my system contains thousand of file. Please tell me and efficient way to do this.

    If anyone has any idea please let me know. It will be great if I can get some code snippets.

    Thanks a lot in advance.

    Cheers,
    Adi

  2. #2
    Nokia Developer Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,712
    there should be enough memory to handle this. Basically just save then in a way that the path is separated from the file name, then you don't need to use that much memory.

    Basically I did this with Y-Browser, it keeps all folders that have been visited in its memory untill exit. Makes it a lot faster that way and so far I haven't seen anybody complaining about the memory.

    yucca

  3. #3
    Registered User aditya4180's Avatar
    Join Date
    Oct 2006
    Location
    Tampere Finland
    Posts
    76
    Actually what I want to do is just have a single file name along with its path in memory at one time and display it on UI. I want this to happen with each file. That is as soon as the file name changes it should send that file name to UI. Basically it should display all files on UI in a continous manner.

    So for this if I can get some piece of code that it will be of much help.

    Thanks a lot in advance.

    Cheers,
    Adi

Similar Threads

  1. S60 3rd Edition Create File return System Error
    By hmleung in forum Symbian C++
    Replies: 3
    Last Post: 2006-10-20, 15:30
  2. How to install the original file system on Nokia serie 80 ?
    By guimel in forum Mobile Java General
    Replies: 2
    Last Post: 2006-01-23, 13:41
  3. Layer of file system
    By guimel in forum Mobile Java General
    Replies: 3
    Last Post: 2006-01-23, 13:27
  4. Replies: 1
    Last Post: 2005-05-26, 14:22
  5. Mounting file system of unix/linux of moible phone
    By ehsvgup in forum Symbian C++
    Replies: 0
    Last Post: 2003-08-21, 07:07

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved