invoking sms/mms/email application with subject

Login to reply to this topic.
Wed, 2008-06-04 16:20
Joined: 2008-04-01
Forum posts: 17

Hi,

i have invoked sms application using the ActivateViewL(const TVwsViewId &aViewId, TUid aCustomMessageId, const TDesC8 &aCustomMessage);

the third parameter aCustomMessage only has options to send "To" field,

is there any way i can pass the subject/body of sms also.

Please help me!!!


Thu, 2008-06-05 07:16
Joined: 2005-11-20
Forum posts: 1157
Re: invoking sms/mms/email application with subject

I checked that also a while ago and came to the conclusion that it's not possible to pass more info than you already do.

What I did, then, was putting the body of the new message into the clipboard. That way it was at least easy to get at.


René Brunner

Thu, 2008-06-05 09:20
Joined: 2008-04-01
Forum posts: 17
Re: invoking sms/mms/email application with subject

thanks for the reply,

i have in the sonyericsson p1i device, the default browser in the p1i has menu, through which u can send the address(webaddress) to the sms/mms/bluetooth/...
there they are invoking the corresponding application with the body, so i feel there should be some means to do that.

Thu, 2008-06-05 09:30
Joined: 2005-11-20
Forum posts: 1157
Re: invoking sms/mms/email application with subject

so i feel there should be some means to do that

That's obviously true, but unfortunately that does not yet mean that *you* can do this. Many things in Symbian, S60 and UIQ are undocumented or only available if you become member of some "inner circle" of privileged companies with special membership status, and this might well be such a thing.


René Brunner

Thu, 2008-06-05 11:01
Joined: 2008-04-01
Forum posts: 17
Re: invoking sms/mms/email application with subject

ok

i have not tried the clipbaord functionality,

how will u handle that, and also even if u read from clipbaord how will u set the subject to the sms/email/mms application.

Thu, 2008-06-05 12:30
Joined: 2005-11-20
Forum posts: 1157
Re: invoking sms/mms/email application with subject

No luck for the subject with my approach.

Assume you have a descriptor iStr with the text, put it into the clipboard like that:

  RFs iFs=CEikonEnv::Static()->FsSession();
  CClipboard* iClipboard=CClipboard::NewForWritingLC(iFs);
  CPlainText* iText=CPlainText::NewL();
  CleanupStack::PushL(iText);
  iText->InsertL(0,iStr);
  iText->CopyToStoreL(iClipboard->Store(),iClipboard->StreamDictionary(),0,iStr.Length());
  iClipboard->CommitL();
  CleanupStack::PopAndDestroy(iText);
  CleanupStack::PopAndDestroy(iClipboard);


René Brunner

Thu, 2008-06-05 14:16
Joined: 2008-04-01
Forum posts: 17
Re: invoking sms/mms/email application with subject

Thanks brunner,

  • Login to reply to this topic.