(keitai-l) Re: Uploading files to server

From: Rajat Kaushal <rajat.kaushal_at_iap-online.net>
Date: 08/29/07
Message-ID: <MHEGIHBNJBCNFMLCKAEMKEDFCHAA.rajat.kaushal@iap-online.net>
Hi Mark,

Only 3 files are required to download & run a Doja IApplication on a mobile,
those are:
1. An html page with a link to .jam file
2. A .JAM file
3. the .JAR file

Can you explain a bit more on which stage does this error message come...
Is in when the link in the html is clicked OR when the application starts
downloading OR when the application gets started.

Anyway, just focus on 2 tihngs. Firstly the link in the html file must be
appropreate & correct. Secondly the contents of the .JAM file must be
correct & the PackageURL must point to the web link where the .jar file
exists.


All the best.
Rajat.

-----Original Message-----
From: keitai-l-bounce@appelsiini.net
[mailto:keitai-l-bounce@appelsiini.net]On Behalf Of Mark Cowan
Sent: Wednesday, August 29, 2007 1:32 PM
To: KEITAI-L@appelsiini.net
Subject: (keitai-l) Uploading files to server


Okay I'm having trouble getting the files for a DoJa programme on to a
web server and then on to a DoCoMo phone.

I have jar and jam files, a description file, resource files and the
complied java file, plus the html file to trigger the download. My
question is which files go up and into which folders?

Several books and web mobile developer sites have said:

Upload the html page along with the .jar and .jam files for the
application onto a Web server.

I do that , but after seeing a powered by java downloading screen on
my phone I get a -

This software contains an error - message.

This happens even with the simplest of Hello World programmes. And the
programmes work perfectly fine with the DoJa emulator and Eclipse.

Which files should go up on the server? Where do the complied class
files go? Should .jar and .jam files be placed in a bin folder as they
are in Eclipse? Should resource files go into a res folder? Should I
be using a particular kind of server?
Received on Wed Aug 29 08:50:12 2007