PDA

View Full Version : Developing Games Help (Motorola C350)


JimmyT
05-24-2003, 17:22
Does motorola c350 support downloadable java games?
If yes then what kind? MIDP1.0?

Say I develop my own MIDP game, how can I port it to my C350?
Building the game gives me 2 files:
jimgame.jad and
jimgame.jar

Are the following correct?

The jimgame.jad file contails the text:
MIDlet-1: jimgame, , jimgame
MIDlet-Name: JimGame
MIDlet-Vendor: Metrowerks
MIDlet-Version: 1.0
MIDlet-Jar-URL: jimgame.jar
MIDlet-Jar-Size: 6781
MicroEdition-Profile: MIDP-1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Description: Jim's 1st game

Say I upload it on www.jimwap.com/game/index.wml
The page is this one:
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<head><meta http-equiv="Cache-control" content="no-cache"/></head>
<card title="JimGame">
<p>
<a href="jimgame.jad">Download Game </a><br/>
</p>
</card>
</wml>

The game runs on the emulator but not on C350 (nor on Nokia 3650)
What am I doing wrong?

On C350 when I press Download Game it opens the jimgame.jad as text file and I can only read it.

valka
03-05-2004, 08:21
do you mean i can download java games with wap ??

drpavlov
03-07-2004, 18:42
then download the .jar.... the jaD is only the Data field, jaR is the Runnable application.

JimmyT
03-09-2004, 14:44
I got some replies almost 10 months after posting my question :D
I got a Nokia now :)

C350 doesn't support java games, and you can't download new levels for the games it already has. My C350 was from Orange and had demo versions of the games and Motorola Service could only upload the full versions doing a firmware update.

Valka, yes, you can upload java games with wap if your phone is java enabled (this motorola isn't). If you don't have a cable to upload Java games, you can build a simple wap page like the one on my first message ^^ and open the link using your wap browser (on wap or gprs connection)