PDA

View Full Version : Trying to setup j2me server



mmaitlen
07-11-2006, 09:10 PM
I'm trying to setup a server for j2me jar/jad files. I have taken a jar/jad file combination that I was successfully able to download to a cell phone from another server (with a different URL setting of course), but when I attempt to setup my account on BlueHost to do so I get an error on my phone that the Download was unsuccessful. I've already tried a number of combinations and have submitted a Ticket with the BlueHost Support guys, but I was wondering if anyone on this forum has successfully setup a server for cell phone downloads?

My jad file looks like...

MIDlet-1: HelloMIDlet, , HelloMIDlet
MIDlet-Name: HelloMIDlet
MIDlet-Version: 1.03.00
MIDlet-Vendor: badCat
MIDlet-Jar-URL: http://www.mmaitlen.com/public_html/j2me/HelloMIDlet.jar
MIDlet-Jar-Size: 1396
MIDlet-Description: A simple sample.
MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0

and I've changed my mime files to include the following

application/java-archive jar
text/vnd.sun.j2me.app-descriptor jad

I believe I've followed the directions closely enough from this site

http://developers.sun.com/techtopics/mobility/midp/articles/deploy/

I've tried other URL combinations in the jad file, but the obviously wrong one display a different error on the phone (Invalid File) which leads me to believe that I have the correct path to the file.

I see the jad file contents on my phone as expected and the download screen comes up and teases me like it's going to work, but it just craps out and shows the error "Download Unsuccessful". ANY help or suggestions would be most welcome.

troy
07-11-2006, 10:29 PM
its's 10 times faster to call support as to useing the ticket system.
I would help you but i'm lost on this subject
good luck

mmaitlen
07-12-2006, 09:18 AM
To anyone who is wondering how to do this, I skipped the jad file completely and went straight to the jar file, and the file downloaded beautifully to my phone.

So if anyone is interested in downloading a very simple j2me application to their cell phone (which is j2me compliant) you can surf to (via your phone) http://www.mmaitlen.com/j2me and have a super fancy Hello World program on your phone...billing site in the works, get it while it's free :-).

sibudas
03-28-2008, 12:13 AM
So if anyone is interested in downloading a very simple j2me application to their cell phone (which is j2me compliant) you can surf to (via your phone) http://www.mmaitlen.com/j2me and have a super fancy Hello World program on your phone...billing site in the works, get it while it's free :-).


Well thanks for the free link!