Foward lock issue - jar file and other | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through July 28, 2006 ⬆ |
◄ ► |
Author | Message | ||||||
Jeff Mitchell New member Username: Squared99 Post Number: 1 Registered: 04-2006 |
Hi, I have been testing the forward lock option using the command line tool drmcomp (the latest version as suggested) to create the dm file. When testing with images and audio formats it appears to work fine across a number of handsets. But when testing with jar or various video formats an 'unsupported media type' error appears on all handsets I have tested with after download. This error appears even though the media type is supported for example 'unsupported media type: application/java-archive', on a handset that can successfully download and install the same jar file if it is not drm wrapped. I have looked at the hex of the files, and dont really notice any difference in the drm wrapper around a jar vs a jpeg, but the jpeg will work and the jar will not. Ive grabbed the drm file using another app to spit outs its content-type info and it recognizes the proper drm content-type and the header data is correct. application/vnd.oma.drm.message; boundary="generic-drm-boundary" any suggestions that I could investigate further? | ||||||
Jeff Mitchell New member Username: Squared99 Post Number: 2 Registered: 04-2006 |
anyone else had any issues with drmcomp and jars or video files? cheers | ||||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5952 Registered: 10-2002 |
Hi Jeff, To save me some time, could you post a simple wrapped JAR that I could use for some testing? -bn | ||||||
Jeff Mitchell New member Username: Squared99 Post Number: 3 Registered: 04-2006 |
Hi Bruce, Thanks for the help. Ill upload 2 files of the same jar. One is using the content-type default from drmcomp which seems to application/jar, the second is wrapped with an explicitly specified content-tye of application/java-archive. Neither work on a device that supports drm forward locking when tested with audio and image formats, and that supports the java game, which installs correctly when not drm wrapped. Cheers, jeff
| ||||||
Jeff Mitchell New member Username: Squared99 Post Number: 4 Registered: 04-2006 |
second file, btw this game is from a free jars website, and so I assume it is alright to post here. We have been using it for testing.
| ||||||
Jeff Mitchell New member Username: Squared99 Post Number: 5 Registered: 04-2006 |
| ||||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 5960 Registered: 10-2002 |
Hi Jeff, Hmm ... it's working ok for me on a SonyEricsson W800. I also tried a Nokia 6260, and it worked. So I'm wondering what else the issue is ... maybe something specific to a phone that you're trying? The "application/jar" vs. "application/java-archive" issue could definitely be a problem. We read the MIME type from MMSCTYPE.INI, or if that is not present, from the MIME type registry on the PC. If the MIME type is not in the registry, then it becomes "application/fileextension". -bn |