×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Apr 2006
    Location
    Oulu, Finland
    Posts
    75

    Easy check if Mem. Card is present

    Is there any easy way of checking if a Memory card is present on the device?

    Can anybody provide a code snipet?
    --------------------
    Miguel Bordallo
    Machine Vision Group
    University of Oulu

  2. #2
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    65

    Re: Easy check if Mem. Card is present

    Hi,
    Plz search for CAknMemorySelectionDialog class in sdk help file .
    This will solve your problem...
    Thanks & Regards
    Ranjeet

  3. #3
    Registered User
    Join Date
    Feb 2007
    Posts
    17

    Re: Easy check if Mem. Card is present

    Hi

    Try to do this

    Get MemoryCardRootPath using PathInfo API, this will give you proper drive assigned to memory card ( hope API will give us the desired result )
    Then check whether this Folder exists or not, if exists then you happily found mem card's existence

    PathInfo::MemoryCardRootPath
    BaflUtil::FolderExists

    Hope this will work for you .

    Br,
    Jinesh Krishnan

  4. #4
    Regular Contributor
    Join Date
    Sep 2007
    Posts
    73

    Re: Easy check if Mem. Card is present

    TVolumeInfo vol;
    TInt err = CCoeEnv::Static()->FsSession().Volume(vol, EDriveE);
    if(err==KErrNotReady)
    {
    //Memory card is not present
    }

  5. #5
    Registered User
    Join Date
    Apr 2006
    Location
    Oulu, Finland
    Posts
    75

    Re: Easy check if Mem. Card is present

    Thanks to everyone. It was useful
    --------------------
    Miguel Bordallo
    Machine Vision Group
    University of Oulu

Similar Threads

  1. which block of the mifare1k or 4k card does the nokia nfc6131 access
    By pawangjain in forum Near Field Communication
    Replies: 2
    Last Post: 2007-06-29, 08:04
  2. Replies: 1
    Last Post: 2003-10-08, 13:29
  3. card with Check Point VPN-1 SecureClient, other
    By kopefranc in forum Multimodecards
    Replies: 1
    Last Post: 2003-05-07, 07:31
  4. SMS Msg using VB Application
    By gurup83 in forum General Messaging
    Replies: 2
    Last Post: 2002-07-11, 04:48
  5. How to check if a CBA button is present?
    By cl_errorcode11 in forum Symbian User Interface
    Replies: 1
    Last Post: 2001-12-05, 20:25

Posting Permissions

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