Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User sberwal's Avatar
    Join Date
    Mar 2003
    Posts
    6
    dear friends,
    I am trying to view a MMS Message with smil sent using MMS Java Library in the series 60 Content Authoring SDK v1.0. I am getting an error message "Message cannot be viewed as desired.See menu objects".

    The smil i've written is here:
    <?xml version="1.0"?>
    <!DOCTYPE smil PUBLIC "-//W3C//DTD SMIL 2.0//EN"
    "http://www.w3.org/2001/SMIL20/SMIL20.dtd">
    <smil xmlns="http://www.w3.org/2001/SMIL20/Language">
    <head>
    <layout>
    <root-layout width="160" height="120"/>
    <region id="Image" width="150" height="110" left="0" top="0" />
    <region id="Text" width="10" height="10" left="150" top="120"/>
    </layout>
    </head>
    <body>
    <par>
    <img region="Image" src="cid:update.jpg"/>
    </par>
    <par>
    <text region="Image" src="cid:quotes.txt"/>
    </par>
    <par>
    <text region="Image" src="cid:ad.txt"/>
    </par>
    <par>
    <img region="Image" src="cid:nokia.gif"/>
    </par>
    </body>
    </smil>


    I'm using a Win2000 server to host the SDK. Please advice me on what could be wrong.

    Thanks and regards,
    Suraj Berwal.

  2. #2
    Regular Contributor paulbrow's Avatar
    Join Date
    Mar 2003
    Posts
    474
    Hello -- well, aside from the fact that you're placing text in the "Image" region with ad.txt and quotes.txt, your SMIL looks fine. (Don't understand why you have each object in its own par, but maybe that's what you want?)

    However, there is a problem with the "Series 60 Content Authoring SDK 1.0" -- it doesn't allow the first two lines of the SMIL (XML and DOCTYPE declaration). An actual Series 60 terminal should accept these just fine. You can test your MMSs by temporarily removing these two lines.

    -paul / ForumNokia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved