Forward Lock for Java Games

Forward Lock for Java Games SearchSearch
Author Message
asdasd
New member
Username: Gpn

Post Number: 1
Registered: 06-2007
Posted on Monday, July 02, 2007 - 05:01 pm:   

Error on Nokia 6320 "FILE FORMAT NOT SUPPORTED"

We having problem in delivering the jad file with DRM. Please check below the Header and content Data information

Basically we sending a wappush message for the JAD file (with DRM) and getting the error "FILE FORMAT NOT SUPPORTED" after download the file.

Headers:

Content-Type = [application/vnd.oma.drm.message; boundary=generic-drm-boundary]
Content-Length = [447]

Content Data:

--generic-drm-boundary
Content-type: text/vnd.sun.j2me.app-descriptor
Content-Transfer-Encoding: binary

MIDlet-1: Roulette, icon.png, Roulette
MIDlet-Data-Size: 100
MIDlet-Icon: icon.png
MIDlet-Jar-Size: 58168
MIDlet-Jar-URL: http://hiddenurl/a/b/general/on36608/fp2/g.jar
MIDlet-Name: Roulette
MIDlet-Vendor: Mforma Group
MIDlet-Version: 2.0

--generic-drm-boundary--

Thank you very much.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7357
Registered: 10-2002
Posted on Wednesday, July 11, 2007 - 09:05 pm:   

A few thoughts ....

Is the content-type parameter actually being set as you think it is? (Do a trace with Ethereal or Wireshark and verify.)

Second, it's been awhile since I did this, but don't you want the forward lock around the JAR file ... it's the JAR that you want to restict forwarding of ... not the descriptor.

-bn