(keitai-l) Re: Uploading files to server

From: Mark Cowan <m.y.cowan_at_gmail.com>
Date: 09/27/07
Message-ID: <b7f9bc330709270103j75cc9159pea3ec3e491e2c0a0@mail.gmail.com>
Hello  Roope,

Sorry for the delay in repling to your advice. I've spent the past few
weeks trying to make sure the files are preverified before they go up
on the server. The eclipse DoJa plugin and iappli kit for DoJa 3.5
don't seem to do that.

I could check the files mime-type at:

http://forum.sources.ru/mime.php

It gave me the following. Sorry, but I don't understand what it says.

file1:
name: HelloWorld.jar
type: application/octet-stream
tmp_name: /tmp/phpf79l6U
error: 0
size: 474
Filename: /tmp/phpf79l6U
MIME type application/octet-stream is deprecated
MIME Crutch: application/zip (allowed)

 file2:
name: HelloWorld.jam
type: application/octet-stream
tmp_name: /tmp/phpwsH8YF
error: 0
size: 131
Filename: /tmp/phpwsH8YF
MIME type application/octet-stream is deprecated
MIME Crutch: application/octetstream (deprecated)


Mark

BTW the helloworld html linking page is at:

http://www.lplus-systems.com/hello/hello.html

On 29/08/2007, Roope Kangas <rkangas@real.com> wrote:
> Hmm,
>
> Take the url to the .jam / .jar (http://server/app.jar) and type it to
> your browser or wget (with headers printed) it and see what it says for
> the mime-type. Or check the server configuration =)
>
> -- roopek
>
>
> > Hello Roope,
> >
> > I'll guessing the mime-type is okay - the files were made using
> > Eclipse. If not, how do I check their mime-type?
> >
> > Mark
> >
> > On 29/08/2007, Roope Kangas <rkangas@real.com> wrote:
> >>
> >> I think you should check that the mime-type associations are correct for
> >> .jar and .jam. Then move on to checking that the path to .jar in
> >> .jam-file
> >> is correct.
> >>
> >> -- roopek
> >>
> >>
> >>
> >> > 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?
> >> >
> >> > This mail was sent to address roope.kangas@mrgoodliving.com
> >> > Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
> >> >
> >> >
> >>
> >>
> >> --
> >> Roope Kangas, System Programmer
> >> Mobile  +358 (0)40 760 4540
> >> Fax     +358 (0)9 751 75599
> >> Email   rkangas@real.com
> >>
> >> Mr.Goodliving Ltd.
> >> A Subsidiary of RealNetworks, Inc.
> >> Kanavaranta 7C, 00160 Helsinki, Finland
> >> www.mrgoodliving.com
> >> www.playmansports.com
> >>
> >> "Fishing for a good time starts with throwing in your line" - Tom Waits
> >>
> >>
> >>
> >> This mail was sent to address m.y.cowan@gmail.com
> >> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
> >>
> >>
> >
> > This mail was sent to address roope.kangas@mrgoodliving.com
> > Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
> >
> >
>
>
> --
> Roope Kangas, System Programmer
> Mobile  +358 (0)40 760 4540
> Fax     +358 (0)9 751 75599
> Email   rkangas@real.com
>
> Mr.Goodliving Ltd.
> A Subsidiary of RealNetworks, Inc.
> Kanavaranta 7C, 00160 Helsinki, Finland
> www.mrgoodliving.com
> www.playmansports.com
>
> "Fishing for a good time starts with throwing in your line" - Tom Waits
>
>
>
> This mail was sent to address m.y.cowan@gmail.com
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
>
>
Received on Thu Sep 27 11:03:14 2007