Revision as of 07:41, 17 July 2012 by hamishwillee (Talk | contribs)

Checking memory card availability using Symbian C++

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.

Article Metadata
Tested with
Devices(s): Nokia E90 Communicator
Nokia 6220 Classic
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
S60 3rd Edition, FP2
S60 3rd Edition FP2
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Keywords: Base F32, RFs, TVolumeInfo, Volume
Created: markuspe (13 Feb 2008)
Last edited: hamishwillee (17 Jul 2012)


This code snippet demonstrates how to check the availability of the memory card. This snippet can be self-signed.

Source file

TVolumeInfo vol;
TInt err = CCoeEnv::Static()->FsSession().Volume(vol, EDriveE);
CAknInformationNote* note = new ( ELeave ) CAknInformationNote;
if( err==KErrNotReady )
_LIT(KDriveNotPresent, "E drive not available");
_LIT(KDrivePresent, "E drive available");


67 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.