This page was last modified 12:13, 21 February 2008.
CS000827 - Checking memory card availability
From Forum Nokia Wiki
| ID | CS000827 | Creation date | February 21, 2008 |
| Platform | S60 3rd Edition S60 3rd Edition, FP1 S60 3rd Edition, FP2 | Tested on devices | Nokia E90 Communicator Nokia 6220 Classic |
| Category | Symbian C++ | Subcategory | Files/Data |
| APIs | Base F32 | Classes | RFs TVolumeInfo |
| Methods | Volume |
Overview
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"); note->ExecuteLD(KDriveNotPresent); } else { _LIT(KDrivePresent, "E drive available"); note->ExecuteLD(KDrivePresent); }
Links
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RealOne Player 3.1.162 doesn't let me view memory card contents | gypsy182 | Graphics & Video & Streaming | 1 | 2003-04-24 17:47 |
| related to memory card | sis1987 | Mobile Java General | 4 | 2008-06-13 11:10 |
| NOKIA 6680 MMC CARD CRASHED!!!! | kancharla77 | General Discussion | 2 | 2006-11-25 09:52 |
| HOw to send sms with class 0?? | zhuxiangguo | Python | 5 | 2006-06-01 11:40 |
| Installing via Memory Card | vaghar | Mobile Java General | 1 | 2003-11-09 20:34 |

