[GD-General] Last-second snag with J2ME midlet on T720 phone...
Brought to you by:
vexxed72
From: Colin F. <cp...@ea...> - 2002-12-12 07:42:07
|
2002 December 11th Wednesday I hate to ask this question here, but I'm like THIS close to getting my own application to run on my T720 phone, and this last obstacle is way more mysterious than I can handle! I wrote a simple *.java file that uses J2ME. It compiled to a *.class file, went through a "preverify" step to become a new *.class file, and then I put it in to a *.jar file. I can use the midp application to run the midlet directly from the *.jar file, and it executes in a cell phone emulator as expected. I have downloaded and executed apps on my T720 phone, but after downloading my own app, the phone says "Download Complete", and then says "2268 bytes transferred", and then, after a long pause, the following message appears: "Unsupported Content Type" The *.java code is taken straight from a extremely simple "Hello, World" demo on a Sun midlet web site. Okay, here's what makes all of this weirder: I did lots of Google searching, and ended up downloading the Motorola J2ME SDK v3.0, and I run their phone emulator on that same *.jar file -- and it works as expected on the T720 (my model phone) emulator. I found many pages (via Google) that contain the string "Unsupported Content Type", but I don't see any connection to my problem. I deployed my app from my WWW site, over the air (OTA), and the MIME types are correct. I put other people's *.jar and *.jad files on my WWW site, and I successfully downloaded these other apps to my phone and executed them. Anyone have any idea what might be the "missing link"? We can take it off the list with private e-mail exchanges if it's too off-topic for your tastes. But I've already created a WWW page that documents in great detail what I have done so far to get applications running on my T720 phone -- so it's kind of frustrating to hit one last snag at literally the last possible moment for something to go wrong! (By the way, once someone helps me solve this last problem, I'll post the entire process on my WWW site and announce it.) I don't think my app actually started execution because the phone didn't even store the app in the Games & Apps repository for future use. So, was "Unsupported Content Type" generated by the verification stage on the phone? Or is it something even sillier, like the *.JAR MIME type still being wrong (despite me specifying: AddType application/java-archive jar on the Apache server)? Or does it have to do with me specifying the *.jad file directly via the "Open URL" option on the phone? Maybe my successful attempts to get other apps involved going though HTML or WAP links... Anyhow, I'm baffled, and I searched the web and couldn't find any other friendly place to ask a question like this. Sorry if this is way out there for this list. --- Colin cp...@ea... |