Discussion Board

Results 1 to 6 of 6

Thread: Mass memory

  1. #1
    Nokia Developer Champion vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,860
    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
    Nokia Developer Moderator skumar_rao's Avatar
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968
    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 Moderator petrib's Avatar
    Join Date
    Mar 2003
    Posts
    9,430
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,860
    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 A.A.M.'s Avatar
    Join Date
    Jan 2008
    Location
    Moscow, Russia
    Posts
    3,311
    For S60 3rd ed. FP2 and newer devices you can try to use Multiple Drive Support (MDS) Plug-in.

  6. #6
    Nokia Developer Expert lming's Avatar
    Join Date
    Jun 2008
    Posts
    333
    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
  •  
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