×

Discussion Board

Results 1 to 6 of 6

Thread: Mass memory

  1. #1
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Mass memory

    hi all, does nebody have any idea, if mass memory is present in devices or not, if yes then what is the enumeration for that, like we hav EMEdiaFlash or EMediaNandFlash for C drive or phone memory, and EMediaHardDisk for memory card.
    so anybody having any idea about this mass memory?

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: Mass memory

    If you are trying to detect memory card is in or not then try below code
    Code:
    RFs fileSession;
    fileSession.Connect();
    
    TDriveInfo i;
    if (fileSession.Drive(i, EDriveE)==KErrNone) 
    	{
    	if (i.iType!=EMediaNotPresent &&
    	i.iType!=EMediaUnknown &&
    	i.iType!=EMediaCdRom &&
    	i.iType!=EMediaRom) 
    		{
    		// memory card
    		}
    	}

  3. #3
    Nokia Developer Champion
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,545

    Re: Mass memory

    Note that some devices (e.g., the N96) have both a memory card and also a separate internal mass memory drive.

  4. #4
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,956

    Re: Mass memory

    so do u hav any idea, what is the enumeration type for that internal mass memory if any.
    Like i hav mentioned, we have EMediaFlash for Phone memory or C drive, likewise, if we have a one for internal mass memory.?

  5. #5
    Nokia Developer Moderator
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,347

    Re: Mass memory

    For S60 3rd ed. FP2 and newer devices you can try to use Multiple Drive Support (MDS) Plug-in.

  6. #6
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: Mass memory

    If I remember correctly,EMediaNANDFlash should be the type for internal mass memory.

Similar Threads

  1. Replies: 7
    Last Post: 2009-02-03, 12:58
  2. Using Camera API requires too much memory
    By tote_b5 in forum Symbian Media (Closed)
    Replies: 18
    Last Post: 2008-07-31, 16:21
  3. Excessive midlet memory consumption
    By paulip in forum Mobile Java General
    Replies: 1
    Last Post: 2007-10-09, 19:24
  4. can not successfully link any sample using .NET
    By lobotomat in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2002-08-20, 00:29
  5. 9210 and 9210i java memory
    By allams in forum Mobile Java General
    Replies: 0
    Last Post: 1970-01-01, 02:00

Posting Permissions

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