View Full Version : Nokia 6610/7210 Wap download
oyvine
31-01-2003, 04:24 PM
Hi,
I am trying to make my own wap-page for downloading various 'stuff' (hrm) I find on the web to my nokia 6610. So far I have been able to set up my wap-page and make files available for download there. The trouble is, that most games come in two files. I do not understand how the wap download on this site works:
http://wap.midlet.ru/
The source for a typical 'download' page says:
---------------snip-----------
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card title="wap.midlet.ru">
<p>
Glutton 1.0 (c) Mank.<br/>
<a href="glutton-desc.wml">Description</a><br/>
<a href="../../midlet/nokia3410/Glutton.jad">Download</a><br/>
<br/>
<a href="../mank-3410.wml">Back</a></p>
</card>
</wml>
---------------snap---------------
As you can see, the download 'button' only refers to the .jad file. If I try to do this, the phone tells me that it is an unknown filetype. From what I understand, the .jad file is the 'java description file', whereas the .jar file is the 'java resource file', and I need both files to make the game run.
Anyone?
Øyvin
ps! Does anyone know about a ftp-client?
nicelad_uk
09-02-2003, 01:56 AM
Yeah mate, are you hosting your site on a server or on a web page? If its a web page, then you need to contact your host. If its a server, you need to change the MIME-TYPE files. You also need to do this for the operator logos too.
Hope it helps. Rich
http://80.6.146.162/wap
:o)
oyvine
13-02-2003, 08:16 AM
tnx,
I think I got it;
1. I need a server that supports wap
2. wap-servers require MIME-types for downloads to work correctly
I have not found any free wap-servers that provide more than 20kB upload for each file yet. Do you have a link to a decent one? The link you posted was not working. I gather it was your wap-homepage?
regards,
Øyvin
nicelad_uk
13-02-2003, 11:26 AM
I dont know any sorry, im sure there are some out there though!!
my site is http://80.6.162.146/wap
I usually get the last 2 sets of numbers mixed up :o)
If you need any help with anything, give me an email.
Rich
oyvine
13-02-2003, 05:32 PM
Hi,
nice page :) I have been checking around the web for free wap hosts now, and I just can't find any. All I find is some bullshit servers that enable you to create the cards online. No upload or such... I found this however:
http://www.gelon.net/dev/
I tested a .wml page I have put on my web-page, and it reported 100% success. Maybe I'm lucky after all?
It seems that you need to change the MIDlet-Jar-URL property to the URL of the JAR file:
http://java.sun.com/j2me/docs/alt-html/WTK104_UG/testapps.html
So I searched through the web for some editor to change the properties in the JAD file, and the MIME type for the file, but I can't find any tools. A true wap server would be nice also...
Hope you dont find my questions too lame...
regards,
Øyvin Eikeland
oyvine
13-02-2003, 05:52 PM
*hrm*
I just found the perfect tool for editing .jad files... a text editor. Now if I could get some more info on MIME-types and how to set them correctly. The goal seems close...
Øyvin
nicelad_uk
14-02-2003, 02:23 PM
Does this server that you are using give you access to the MIME-TYPES? I know a lot about the code im mime types, so i can help you there, but i know some servers limit the content that you can put in the mime-types file.
Do u have the game richman at all either? its a game that im looking for.
The best thing to change .JAD files with is Notepad, then find the place where it says JAR-URL and just type in the path name to the JAD file that you have. Once you've done it once, it really is simple.
oyvine
14-02-2003, 03:58 PM
Hi,
richman v0.1.1 can be found here:
http://www.bigbrothers2000.com
(I have not tested it. is it good?)
I have also found a free wap server with ftp upload:
http://www.wapdrive.com
But, it is down at the moment. *sigh*
I have not got a clue about how to set MIME types on a HTTP server. I use ftp to upload my files to the server. Where is the information about mime types stored? How do I change it?
I also spent some minutes trying to download from your excellent wap page via my phone yesterday, but I got a timeout each time I tried. (I guess I looked rather weird standing in the park outside my house with my phone in the air to get a good signal)
regards,
Øyvin
nicelad_uk
14-02-2003, 04:58 PM
Im not sure how u can do it on a http site, the only thing that i suggest at the minute, is whack all the data on, create the wap pages, and try it out, if it comes up with "File Format Unknown" then the http hasnt got the mime-types in, but you might be lucky and it does have them in.
If it doesnt have the types in, contact the company who is hosting your site, they will be able to access the mime-types.
My server is acting up a bit, so i might be that and not lack of signal. Also check your connection settings in the wap settings, if the connection type is set to "temporary" then it will cut out half way through the download, change this to "continuous".
Rich
oyvine
17-02-2003, 03:30 PM
Hi,
Just changed my connection to continous, and it works(!) Very nice :) I found this information on MIME types and OTA transfer:
http://www.isk.kth.se/kursinfo/6b4031/pdf/Settings_for_OTA_Download_of_MIDlets_v1_0.pdf
----------snip---------
Web server needs to support some new MIME types in order to deploy JAD and JAR files. The types are listed below:
File extension MIME type
.jad text/vnd.sun.j2me.app-descriptor
.jar application/java-archive
----------snip----------------
I also found a description of all MIME types for nokia phones:
http://nds1.forum.nokia.com/nds/NDS_TVerification_Interface?path=%2Fdownload%2FNokia%5FWAP%5FPhone%5FMIME%5FTypes%5Fv1%5F3%2Epdf
I have posted a request to the host of my WWW pages. Let's hope he has a good day and decides to help me out.
regards,
Øyvin
oyvine
26-02-2003, 10:22 AM
yes!
Got a reply from my host today. They have added the mime-types, and my wap-homepage is working. W0h00! If anybody wants to have their own wap homepage, you can open an account here:
http://www.start.no/home/
Yes, it is in norwegian, what did you expect?
Just hack down you .wml code and upload it together with any .jad/jar/midi files to your homepage via ftp.
I am not going to give you the address of my homepage, sorry. It is for personal use only. *hrm*
regards,
Øyvin Eikeland
nicelad_uk
05-03-2003, 12:54 AM
Congrats on getting it done, they're pretty useful to back your phone up on them arent they?
What im trying to do now is set up my phone numbers on there, as business cards, so i can just download them when i need them, as ive run out of phonebook space on my 7210.
If you need any help with ur site, just give me a mail.
[email protected]
Powered by vBulletin® Version 4.2.0 Copyright © 2026 vBulletin Solutions, Inc. All rights reserved.