OMA download descriptor

Login to reply to this topic.
Wed, 2006-05-17 07:51
Joined: 2006-05-10
Forum posts: 64
Hello,

  I got a problem while trying to create a proper download descriptor for a *.sis file. I'm following the "Content_Download_And_OMA_DRM_Examples_v2_2_en" example from forum nokia. When I try to download a sample image (image/jpeg type) everything works fine - the image is downloaded and saved properly. However, if I change the mime-type to application/vnd.symbian.install, the problem occures. Download descriptor is downloaded properly, the information about item being downloaded is shown properly, too. After the application is downloaded, the phone says that this type of content is not supported. Note that I tested this on both Nokia 6630 and 6680. Here's the download descriptor content:

<media xmlns="http://www.openmobilealliance.org/xmlns/dd">
<objectURI>http://proper_ip_address:7080/content_test/rain.SIS</objectURI>
<size>27162</size>
<type>application/vnd.symbian.install</type>
<name>Rain Application</name>
<vendor>SMTSoftware</vendor>
<description>OpenGL Rain Application</description>
<installNotifyURI>http://proper_ip_address:7080/content_test/Post</installNotifyURI>
</media>

  Any ideas what could be wrong? As far as I know these phones should support SIS OMA download OTA.

  Thanks in advance,

Damian

Confusion will be my epitaph..


Tue, 2006-05-30 13:19
Joined: 2006-05-10
Forum posts: 64
Re: OMA download descriptor
Anybody?

Confusion will be my epitaph..

Tue, 2006-05-30 23:12
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: OMA download descriptor
Is the content (i.e. the SIS file) saved somewhere? Isn't it corrupted? Did you try to install it w/o OMA DD?

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Wed, 2006-05-31 07:31
Joined: 2006-05-10
Forum posts: 64
Re: OMA download descriptor
No, the SIS file isn't saved. Connection manager shows, that only 3KB of data gets downloaded (the SIS file is about 27KB). However, if I download the SIS file using PC Firefox and send it via BT to the phone, it is installed properly.
I also tried to download the SIS file using a direct link ("http://proper_ip_address:7080/content_test/rain.SIS") and 6680's system browser or Opera - without any effect. Seems like system browser can't download SIS files put directly into URL.
Do you have any idea what could be wrong?

Damian

Confusion will be my epitaph..

Wed, 2006-05-31 11:08
Joined: 2005-06-09
Forum posts: 174
Re: OMA download descriptor
Is the MIME type for SIS files set on the server you're downloading from?

Wed, 2006-05-31 12:44
Forum Nokia Champion
Joined: 2003-10-01
Forum posts: 721
Re: OMA download descriptor
What does the system Browser say? Does it download the file at all? Or it does download it, but does not handle it (in case of a sis file handling would mean to start the installer)? I presume there must be something wrong with the MIME-type. Although the DD contains a correct mime-type, I mean, one that's supported on the phone. But when it comes to downloading the file it goes wrong somehow. You know, the system browser downloads any file regardless of that it's supported or not. OMA Download is different from this point of view: if you gave such a mime-type in the descriptor that is not supported on the phone, then you wouldn't be able to download it at all. But when the content is downloaded and it comes to handling it, well, perhaps the content is not recognized.

Tote

Gabor Torok
Software architect, Agil Eight (http://www.agileight.com/)
Blog: http://mobile-thoughts.blogspot.com/

Thu, 2006-06-01 11:40
Joined: 2006-05-10
Forum posts: 64
Re: OMA download descriptor
Looks like it was server problem. Tomcat didn't have this mime-type specified. Now everything's working fine - the SIS file is being downloaded and installed properly.

Thanks for help.

Confusion will be my epitaph..

Sat, 2008-03-29 11:02
Joined: 2008-03-29
Forum posts: 2
Re: OMA download descriptor

Can you please tell me where to find the example "Content_Download_And_OMA_DRM_Examples_v2_2_en". I googled for the content but didnt get it anywhere. Am quiet new to this area of development and require some assistance.. Any little help would be of greater appreciation

Thanks

Sat, 2008-03-29 21:25
Joined: 2006-05-10
Forum posts: 64
Re: OMA download descriptor

Hi,

Here's the link: http://www.forum.nokia.com/info/sw.nokia.com/id/7f489305-4ee7-4835-850c-1029366852e5/Content_Download_And_OMA_DRM_Examples_V2_2_en.zip.html. Next time try to remove '_' characters from query string when using google Smiling

Hope this helps.

Damian


Confusion will be my epitaph..

Mon, 2008-03-31 11:24
Joined: 2008-03-29
Forum posts: 2
Re: OMA download descriptor

yeah thanks for that buddy.

  • Login to reply to this topic.