<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - SMIL file is not created when sending MMS. - Comments</title>
 <link>http://www.newlc.com/en/topic-15667</link>
 <description>Comments for &quot;SMIL file is not created when sending MMS.&quot;</description>
 <language>en</language>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34027</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Thanx for your reply&lt;br /&gt;&lt;br /&gt;Â  Â  Can you pls tell me one thing more that ? The Smile file which is createdby default.As described in &amp;quot;Developing Series 60&amp;quot; that &lt;br /&gt;&lt;br /&gt;&amp;quot;Using CreateAttachment2L ensures that the image will be referenced in message&amp;#039;s SMILE part and included as a visible part of the presentation received by the addressee. Using CreateAttachmentL() will result in a binary attachment which is not referenced by the SMILE part&amp;quot;&lt;br /&gt;&lt;br /&gt;Now here I have some doubts .What I am interpreting with these lines that its a provision provided by MTM that we can create our own SMILE file rather then using that one which is created by MTM.&lt;br /&gt;&lt;br /&gt;If I am right here then it means one should get default SMILE&lt;br /&gt;by using CreateAttachment2L.&lt;br /&gt;&lt;br /&gt;Pls do correct me if I am wrong here as I want to do clear my confusion.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;I&amp;#039;ll be greatefull for your s response.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</description>
 <pubDate>Fri, 29 Sep 2006 13:32:21 +0200</pubDate>
 <dc:creator>catchbubbles</dc:creator>
 <guid isPermaLink="false">comment 34027 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34026</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Ofcourse you have to write your own SMIL file and attach it manually. SMIL file provides instructions about how to present the other media objects in that message. Here&amp;#039;s a link,&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http&amp;#58;//www.symbian.com/developer/techlib/v70sdocs/doc_source/devguides/cpp/Messaging/MMS/format.html&quot; target=&quot;_blank&quot;&gt;http://www.symbian.com/developer/techlib/v70sdocs/doc_source/devguides/cpp/Messaging/MMS/format.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The default MMS composer uses image/ video compression internally to reduce the size of MMS, as the maximum size of MMS in MMS 1.0 can be upto 100 KB and in MMS 2.0 the limit is 300KB.&lt;br /&gt;you&amp;#039;ll have to explicitly do image/video compression. Take a look at CImageEncoder/CImageDecoder. &lt;br /&gt;&lt;br /&gt;Vink&lt;/div&gt;</description>
 <pubDate>Thu, 28 Sep 2006 08:09:31 +0200</pubDate>
 <dc:creator>vinay</dc:creator>
 <guid isPermaLink="false">comment 34026 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34025</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi halimz &lt;br /&gt;&lt;br /&gt;Â  Â  Hey can you pls tell me how r u creating your Smile file .Are you creating it manually by using the CreateTextAttachment.&lt;br /&gt;&lt;br /&gt;Â  As I think this is an alternative.But messaging Api provides a Smile file by default .And I think this we can get by using the CreateAttachment2L();&lt;br /&gt;&lt;br /&gt;Â  Pls do correct me if something is wrong.Also pls let me knowÂ  how messaging Api reduce the size of Attachments and how much as I have no idea aboutÂ  this .I want to test my app again to keep this point in mind.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/div&gt;</description>
 <pubDate>Mon, 04 Sep 2006 14:13:45 +0200</pubDate>
 <dc:creator>catchbubbles</dc:creator>
 <guid isPermaLink="false">comment 34025 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34024</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hi peera,&lt;br /&gt;&lt;br /&gt;I was facing the same problem. Try to create Smil attachment as text. So, you will use iMmsClient-&amp;gt;CreateTextAttachment(smilId, smilBodyTxt) instead of CreateAttachment2L(), then set the smil attachment as message root: iMmsClient-&amp;gt;SetMessageRoot(smilId). Finally, set its type to &amp;quot;application/smil&amp;quot;: iMmsClient-&amp;gt;SetAttachmentType(smilId, KSmilAppType). Don&amp;#039;t forget to SaveMessageL() after you finish creating message.&lt;br /&gt;&lt;br /&gt;At least, this solution works for me&amp;nbsp; &lt;img src=&quot;/en/sites/all/modules/smf_filter/smf_smileys/cool.gif&quot; alt=&quot;Cool&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt; Halim&lt;/div&gt;</description>
 <pubDate>Thu, 31 Aug 2006 13:49:15 +0200</pubDate>
 <dc:creator>halimz</dc:creator>
 <guid isPermaLink="false">comment 34024 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34023</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Now I can create attachments but not a smil file and send, but why the size of the attachments is still the same(not like messaging app which reduces the file size).&lt;br /&gt;&lt;br /&gt;Thanks...&lt;/div&gt;</description>
 <pubDate>Wed, 23 Aug 2006 11:44:41 +0200</pubDate>
 <dc:creator>peera</dc:creator>
 <guid isPermaLink="false">comment 34023 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34022</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;hey r u able to create ur message with attachment except Smile?Also u can create ur own Smile in the same way in which u create ur other attachments.&lt;br /&gt;&lt;br /&gt;And if u get the reason then let me knw also.I also want to knw.&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/div&gt;</description>
 <pubDate>Fri, 18 Aug 2006 11:38:05 +0200</pubDate>
 <dc:creator>catchbubbles</dc:creator>
 <guid isPermaLink="false">comment 34022 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34021</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi catchbubbles!&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Thank you very much for your help. I&amp;#039;ve tried your code but there&amp;#039;s no smil file created in attachment.&lt;/div&gt;</description>
 <pubDate>Fri, 18 Aug 2006 09:43:01 +0200</pubDate>
 <dc:creator>peera</dc:creator>
 <guid isPermaLink="false">comment 34021 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34020</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Hi Peera&lt;br /&gt;&lt;br /&gt;Â  Like this I cann&amp;#039;t tell u the reason but what can I do only is that I m giving uÂ  mine code as I told u its working for me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;TMsvId attachmentId = KMsvNullIndexEntryId;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ptrMmsMtm-&amp;gt;CreateTextAttachmentL(attachmentId,KMsgBody,KTextfFileName);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ptrMmsMtm-&amp;gt;CreateAttachment2L(attachmentId, KAttachmentImageFilename);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ptrMmsMtm-&amp;gt;SetMessageRootL(attachmentId);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;indexEntry.SetReadOnly(ETrue);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ptrMmsMtm-&amp;gt;SaveMessageL();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;indexEntry.SetInPreparation(EFalse);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;indexEntry.SetVisible(ETrue);&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;ptrMmsMtm-&amp;gt;Entry().ChangeL(indexEntry); //commit changes&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope so it&amp;#039;ll help u .Try this one&lt;br /&gt;&lt;br /&gt;Thanks&lt;/div&gt;</description>
 <pubDate>Fri, 18 Aug 2006 07:06:20 +0200</pubDate>
 <dc:creator>catchbubbles</dc:creator>
 <guid isPermaLink="false">comment 34020 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34019</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;I called CreateAttachment2L() and then SaveMessageL(), but it&amp;#039;s still not working for me. It sent only the attachment(text, jpg, sound)&amp;nbsp; and the smil file is not created. What&amp;#039;s wrong?&lt;/div&gt;</description>
 <pubDate>Fri, 18 Aug 2006 05:08:41 +0200</pubDate>
 <dc:creator>peera</dc:creator>
 <guid isPermaLink="false">comment 34019 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667#comment-34018</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;br /&gt;hi Peera&lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp;I think u r using CreateAttachmentL () method to create the attachment. This is not referenced by by the SMILE part.So try to use CreateAttchment2L rather than that one.As I used this and it was working nicely for me.Hope same for u.&lt;br /&gt;&lt;br /&gt;Thanks&lt;/div&gt;</description>
 <pubDate>Thu, 17 Aug 2006 12:31:00 +0200</pubDate>
 <dc:creator>catchbubbles</dc:creator>
 <guid isPermaLink="false">comment 34018 at http://www.newlc.com</guid>
</item>
<item>
 <title>SMIL file is not created when sending MMS.</title>
 <link>http://www.newlc.com/en/topic-15667</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-15667&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-15667#comments</comments>
 <category domain="http://www.newlc.com/en/forums/messaging">Messaging</category>
 <pubDate>Thu, 17 Aug 2006 11:15:12 +0200</pubDate>
 <dc:creator>peera</dc:creator>
 <guid isPermaLink="false">15443 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
