Hi, Let me explain the situation. I hv developed an application which is capable of sending some files via Blue-tooth. Every time it sends, the file file reaches messaging In-box.
Here comes the problem:
When the user tries to open the file from from in-box it invokes the application(mentioned above).The application has to read the file sitting in in-box according to requirements. While trying so the application fails to read the mentioned file,as it sits in some other private\SID(probably messaging application's) folder other than the application's.
following is the code Application handler:
void CAWGS60Document::OpenFileL(CFileStore*& aFileStore, RFile& aFile)
_LIT(KDestFile,"C:\\Private\\EA681F76\\BTFile.xml"); //no extension required
CDocumentHandler* iDocHandler= CDocumentHandler::NewL();
TDataType nullType; //MIME type not set
TInt ret = KErrNone;
TRAPD(err, ret = iDocHandler->CopyL(iFileName,KDestFile,nullType, KEntryAttNormal) );
if( err || ret)
//Get the destination path
Please suggest how to come over the situation other that using allfile capability.