Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / February 2005

Tip: Looking for answers? Try searching our database.

Mobile phone games

Thread view: 
qscomputing@gmail.com - 01 Feb 2005 08:55 GMT
I hope this is the right ng - if not please point me to a more
appropriate one!

Anyway, I am trying to download games onto a mobile phone using WAP via
my webspace. I have been able to connect to my site but not download
the game. The game I am trying to transfer is a free game that I
downloaded from the net, and it is two files: the JAR containing the
game, and a .JAD file which seems to be some kind of plain-text
configuration.

Could anyone tell me what I need to do to transfer the game to the
phone? I can use .htaccess on my site (I read somewhere that MIME types
are an important part of this).

TIA,
 - QS Computing.
Paul - 01 Feb 2005 20:33 GMT
I don't think you can execute the JAD/JAR directly on the mobile device. I
know for a PalmOS you have to convert it to a .prc palm executable file.
If your phone just can't download but can execute the JAD/JAR combo, then
I'm not sure. You may try with the manufacturer's manuals.
--Paul

>I hope this is the right ng - if not please point me to a more
> appropriate one!
[quoted text clipped - 12 lines]
> TIA,
>  - QS Computing.
Darryl Pierce - 01 Feb 2005 23:34 GMT
> I don't think you can execute the JAD/JAR directly on the mobile device.

If it's a Java-enabled phone, you can absolutely do that.

> I
> know for a PalmOS you have to convert it to a .prc palm executable file.

The Palm is a special case; i.e., there was never an implementation of
the MIDP available for it that could handle JAR files. For mobiles,
OTOH, that's been the standard from the start.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Frances Del Rio - 02 Feb 2005 21:55 GMT
>> I don't think you can execute the JAD/JAR directly on the mobile device.
>
> If it's a Java-enabled phone, you can absolutely do that.

just curious.. I don't have a cell phone right now, but will get one
probably next month or so.. and I've been wondering, I would like to get
one that I can do stuff w/Jini on it (or is it TO it?)

also what is JAD/JAR that OP mentioned?

so is there a particular cell phone brand/model I should buy?  thanks..
Frances
Darryl Pierce - 03 Feb 2005 14:35 GMT
>>> I don't think you can execute the JAD/JAR directly on the mobile device.
>>
[quoted text clipped - 3 lines]
> probably next month or so.. and I've been wondering, I would like to get
> one that I can do stuff w/Jini on it (or is it TO it?)

I know of no devices that support any form of JINI.

> also what is JAD/JAR that OP mentioned?

JAD: Java Application Descriptor, a text file the describes the JAR to
be downloaded onto the device
JAR: Java Archive, standard part of Java technology

> so is there a particular cell phone brand/model I should buy?  thanks..
> Frances

Sorry, mate. For that I have no idea. I'm pretty happy with my phones
I've had (Nokia 7210, 3650, Motorola V300, V400, Samsung A600, A620) and
disappointed with others (Motorola T720, Seimens S55).

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

Darryl Pierce - 01 Feb 2005 23:38 GMT
> I hope this is the right ng - if not please point me to a more
> appropriate one!
[quoted text clipped - 9 lines]
> phone? I can use .htaccess on my site (I read somewhere that MIME types
> are an important part of this).

1. Make sure your webserver is configured to send the appropriate MIME
type for JAD files and JAR files (more information in the J2ME FAQ:
http://mcpierce.mypage.org/j2mefaq.html)

2. Put both files in the same directory on the webserver, a directory
that can be accessed from a browser

3. In the .JAD file, make sure the MIDlet-Jar-URL entry is just the JAR
filename (no path, no URL; i.e. filename.jar), unless you're using a
SprintPCS device, in which case the entry has to be the FULLY QUALIFIED
URL for the JAR itself (i.e., http://your.website.com/path/filename.jar)

4. In the .JAD file, make sure the MIDlet-Jar-Size entry has the *exact*
byte size for the JAR file. It cannot vary by even 1 byte.

5. From your WAP browser, go to the URL for the JAD file. When prompted,
select to download/install the JAR file.

6. Enjoy your game.

Any questions? Feel free to email me.

Signature

Darryl L. Pierce <mcpierce@gmail.com>
Visit my homepage: http://mcpierce.multiply.com
"By doubting we come to inquiry, through inquiry truth." - Peter Abelard

qscomputing@gmail.com - 02 Feb 2005 08:43 GMT
Thanks - that helps a lot. Problem solved.

 - QS Computing.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.