You Are Here:

Community: Developer Discussion Boards

#1 Old problem in CSendUI - 2006-09-15, 09:26

Join Date: Feb 2006
Posts: 271
Location: India,Pune
Send a message via Yahoo to parag_purkar
parag_purkar
Offline
Regular Contributor

Facing the problem in CreateAndSendMessageL()

Quote:

CMessageData* msgData = CMessageData::NewLC();
msgData->AppendAttachmentL( name );
TUid aBioTypeUid=KNullUid;
iSendUI->CreateAndSendMessageL(KSenduiMtmBtUidValue,msgData,aBioTypeUid,ETrue);
Reply With Quote

#2 Old Re: problem in CSendUI - 2006-09-15, 09:48

Join Date: Oct 2004
Posts: 107
bharatuppal
Offline
Regular Contributor
_LIT(KFileName,"\\private\\e52dbe00\\sendfile.txt");

TUid serviceUid = iSendUi->ShowSendQueryL();

if(serviceUid.iUid == 0)
return;
TSendingCapabilities capa;
iSendUi->ServiceCapabilitiesL( serviceUid, capa );

CMessageData* messageData = CMessageData::NewL();
CleanupStack::PushL( messageData );
messageData->AppendAttachmentL( KFileName );
iSendUi->ShowQueryAndSendL( messageData );
CleanupStack::PopAndDestroy(); // messageData


Try this think usign this u can get dialog providing the list of services available so u can select and way ur message goes to the destination

bharatuppal@gmail.com

24 X 7 browsing can make you a Good Developer ahhaahaa
Reply With Quote

#3 Old Re: problem in CSendUI - 2006-09-15, 10:37

Join Date: Feb 2006
Posts: 271
Location: India,Pune
Send a message via Yahoo to parag_purkar
parag_purkar
Offline
Regular Contributor
it application exit on device ..I trried it for 3rd edition..!
Reply With Quote

#4 Old Re: problem in CSendUI - 2006-09-15, 10:50

Join Date: Oct 2004
Posts: 107
bharatuppal
Offline
Regular Contributor
Hey man Which service did you selected when it gave you choices
if you have selected Irda then it will definetly crash
as if you go and read the release notes of 3rd edition they have mentioned

Send a file via irda is not possible its a known issue


Do let me know which service you are selecting

With Regards
Bharat
Reply With Quote

#5 Old Re: problem in CSendUI - 2006-09-15, 13:40

Join Date: Feb 2006
Posts: 271
Location: India,Pune
Send a message via Yahoo to parag_purkar
parag_purkar
Offline
Regular Contributor
Hi Bharat ..........The Code works properly....There is some header which is missing in file.....

Thanks!

Quote:
#include <cmessagedata.h>
#include <senduimtmuids.h>
#include <senduiconsts.h>
#include <tsendingcapabilities.h>
Reply With Quote

#6 Old Re: problem in CSendUI - 2008-09-16, 22:36

Join Date: Sep 2003
Posts: 194
parisn
Offline
Regular Contributor
Hey guys is this still an issue?

I can send files from outside private folder using irda,
but anything inside \private will fail.

http://discussion.forum.nokia.com/fo...646#post470646
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with eglSwapBuffers and heap corruption greatape Symbian Media (Graphics & Sounds) 2 2007-05-24 04:35
netcards - Problem with opening adapter kernj Symbian Tools & SDKs 5 2007-01-10 09:56
WAP service problem on Apache bigg_o Browsing and Mark-ups 3 2005-04-17 17:05
Problem: S60 SDK for CW in PC with .NET anttij Carbide.c++ IDE and plug-ins 1 2005-02-28 12:36
wireless problem sash_mca General Browsing 0 2003-06-06 12:34

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia