?
Solved

how do i enable my wap site to download games for nokia phone

Posted on 2003-03-24
11
Medium Priority
?
530 Views
Last Modified: 2008-02-01
i have uploaded the .jad and .jar files of the game but whenever i try to download it it will give me a file format unknown

attach below is my source code

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>  

<card id="menu" title="Java Games A-I">
<do type="prev" label="Back"><prev/></do>

<p align="center">
<b>Enjoy Your Downloads</b></p>
<p align ="left">

<br/><a href="Game/basquet.jad">Basquet</a>

</p>
</card>
</wml>
0
Comment
Question by:Heuer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 27

Expert Comment

by:BigRat
ID: 8202828
Have you got the mime-types installed for the jad/jar fles :-

The MIME type for a JAR file is application/java-archive.
The MIME type for the JAD file is text/vnd.sun.j2me.app-descriptor. This specifies the default character set to use (UTF-8) to convert the JAD file from its transport format to the correct MIDP Unicode-encoding.

http://info.borland.com/techpubs/jbuilder/jbuilder8/me/ota.html
0
 

Author Comment

by:Heuer
ID: 8203016
i do not have control over the Apache server course its just a webspace for me to host the files can i install it in my webspace ?
0
 
LVL 27

Expert Comment

by:BigRat
ID: 8203242
No, Apache uses mime types out of its configuration directory and reads this at start up. You are going to have to talk to your system administrator to get the additional mimes installed. This is all a bit new to Apache of course, so these mimes will not yet be standard.
0
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

 

Author Comment

by:Heuer
ID: 8240339
I have gotten my host to add the MIME type for both the JAR and JAD to the cpanel but i still can't get it to work is there something wrong with my wml code?(oni the big2garden link is working)

This is a screenshot of wat i got instead of saving the file in a JAD format http://www.la-kopi.com/~mog/java.jpg

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.3//EN" "http://www.wapforum.org/DTD/wml13.dtd"> 
<wml>  

<card id="jgame" title="Java Games A-I">
<do type="prev" label="Back"><prev/></do>


<p align ="left">
<br/><a href="Game/big2garden.jad">Big 2 Garden</a>
<br/><a href="Game/bman.jad">Bomberman 1.08</a>
<br/>
<br/>
<br/>Check out our mobile forum @ http://chat.la-kopi.com/
<br/>Main homepage @ http://www.la-kopi.com/~mog/Webbie/index.htm

</p>
</card>
</wml>
0
 
LVL 27

Accepted Solution

by:
BigRat earned 300 total points
ID: 8245458
You are using a network which allows OTA (Over the Air downloading?) And you are sending the jad file with the correct mime type? When I point my http tester at the url

http://www.la-kopi.com/~mog/Webbie/Game/big2garden.jad

I get back :-

DATE:Tue, 01 Apr 2003 13:13:48 GMT
SERVER:Apache
LAST-MODIFIED:Mon, 31 Mar 2003 14:12:58 GMT
ETAG:"24ee6d-16c-3e884cea"
ACCEPT-RANGES:bytes
CONTENT-LENGTH:364
KEEP-ALIVE:timeout=15, max=100
CONNECTION:Keep-Alive
CONTENT-TYPE:text/plain

MicroEdition-Configuration: CLDC-1.0
MicroEdition-Profile: MIDP-1.0
i05g4jytf23ka: http://wpcg.orangehk.com/servlet/wpush?id=17062
lw: jreopgjwpfmwfk4mmerg3
MIDlet-1: Big2Garden, /icon.png, CardGame
MIDlet-Jar-Size: 63269
MIDlet-Jar-URL: big2garden.jar
MIDlet-Name: Big2Garden
MIDlet-Vendor: mBounce Ltd.
MIDlet-Version: 1.0
Nokia-MIDlet-Category: Game

which is clearly the WRONG mime type.
0
 

Expert Comment

by:softflux
ID: 9948241
Well I got your question. The source code you attached is right no problem whatsoever. But did you check the cell phone as well. Does it support jad/jar files? has it got J2me capabilities.? Has it got support for OTA Provisionning?. Has it got downloadable applications option?
0
 
LVL 27

Expert Comment

by:BigRat
ID: 9948476
"....which is clearly the WRONG mime type. "

I've had no response to that! And MY site does NOT work with text/plain!
0
 

Expert Comment

by:vk123
ID: 11309318
try using wapbuddy
www.jonroig.com
0

Featured Post

Ransomware Attacks Keeping You Up at Night?

Will your organization be ransomware's next victim?  The good news is that these attacks are predicable and therefore preventable. Learn more about how you can  stop a ransomware attacks before encryption takes place with our Ransomware Prevention Kit!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hopefully this article will help someone who's had the same issues I had. I have a Dell Wireless 1390 WLAN Mini-Card and Windows 7, and for the past couple of days I was beyond frustrated because my wireless laptop was not able to access the Inte…
With the purchase of CloudCommand by Comcast customers are left in a bind as subscriptions expire and render the AP's disabled. The following will explain how to flash your Ubiquiti AP's with CloudCommand firmware back to Ubiquiti firmware. HOWTO…
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question