failed to send mms
| Wed, 2007-12-05 15:21 | |
|
Hi, In the phone-> the application crashes on the line xxxEngine.h private: } xxxEngine.cpp void xxxEngine::HandleSessionEventL(TMsvSessionEvent aEvent,TAny* aArg1,TAny* aArg2,TAny* aArg3) ServerReadyL(); TakeSnapsL(); } } void xxxEngine::ServerReadyL() } void xxxEngine::TakeSnapsL() xxxSnaptaker.cpp xxxFileEncoder.cpp xxxMMSSender.h CMmsClientMtm* iMtm; xxxMMSSender.cpp class xxxAppUi; #define KPhoneRootPath PathInfo::PhoneMemoryRootPath() xxxMMSSender::xxxMMSSender() : CActive( EPriorityStandard ), // Standard priority { xxxMMSSender* xxxMMSSender::NewLC() xxxMMSSender* xxxMMSSender::NewL() void xxxMMSSender::ConstructL() TMsvAttachmentId aAttaId; iMtm->AddAddresseeL(iNumber); iMtm->SetMessagePriority(EMmsPriorityHigh); CMsvStore* store = iMtm->Entry().EditStoreL(); TFileName afl(iFile); if(err != KErrNone) atch.Close(); // Mime header // Represents a single attachment and information about the attachment // Mime Type // Attachment file must be in a public folder (e.g. c:\Data\images) // If a SMIL file is attached for presentation layout purposes // Commit the changes and perform the appropriate cleanup CleanupStack::PopAndDestroy(&atch); // Save the changes } TMsvEntry ent=iMtm->Entry().Entry(); iOp=iMtm->SendL(iStatus); } xxxMMSSender::~CCameraControlMMSSender() void xxxMMSSender:oCancel() } void xxxMMSSender::RunL() } TInt xxxMMSSender::RunError( TInt aError ) |
|






Forum posts: 37
I Think The variable
TMsvAttachmentId aAttaId
is not properly initialised.
Can someone write wahat would be the most appropriate value to initialise this to??