Hi,
I've developed a J2ME application using NB 4.0 and the corresponding Mobility Pack. Now I'm trying to get the application to be installable thru a webserver. I've put everything on a website accessible by both a webbrowser as well as my mobile phone and the WTK emulator included in NB 4.0 Mobility Pack.
Downloading the application into a mobile phone works with the default emulator of the WTK 2.2 as well as the Nokia and Sony Ericcson emulators, I don't know about the Siemens or Blackberry, haven't tried it.
But I haven't been able to freshly download and install a MIDlet by browsing to it with a real mobile phone. When I browse to the .JAD file and select the link, the JAD-file is downloaded and processed. I get a warning that the application-source is unknown and whether or not I want to continue. When I select "Yes" I get to see the name of the MIDlet suite, its version, size etc. After I accept the actual JAR is downloaded, afterwhich it is started and I get an "Application Error" when it is started by the JAM. (No clue as to what the error might be).
When I try to download the application again I get the message that it is already available on the mobile and whether or not I want to replace it. "Yes" or "No" to this question leads to the same error. I can't find the application anywhere on the phone though.
But when I for example on my Nokia 6230, use Nokia's PC Suite to install the same application, the application starts up fine. And once I've installed the MIDlet on the phone using eg Nokia PC Suite, updates through a download from the web seem to work without problems.
As said before, the application installs and runs fine when using the WTK's emulator or the emulators from Nokia or Sony Ericcson, only the real phones don't work.
Any hints as to how to solve this are highly appreciated. I've tried on a Nokia 6230, 6600 and a Sony Ericcson P900.
The application is a CLDC 1.1 / MIDP 2.0 compliant application.
The JAD's contents:
MIDlet-1: MyMidlet,,com.test.MyMidlet
MIDlet-Jar-Size: 29364
MIDlet-Jar-URL: http://XXX/MyMidlet.jar
MIDlet-Name: MyMidletSuite
MIDlet-Permissions: javax.microedition.io.Connector.http
MIDlet-Permissions-Opt: javax.microedition.io.Connector.sms, javax.microedition.io.Connector.socket, javax.wireless.messaging.sms.receive
MIDlet-Vendor: Iwan Eising
MIDlet-Version: 0.9.100
MicroEdition-Configuration: CLDC-1.1
MicroEdition-Profile: MIDP-2.0
(The exact URL is intentionally blanked-out.)
Iwan

Reply With Quote

