WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old April 20th, 2004, 07:30 AM
Chris_Gilbert Chris_Gilbert is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: London
Posts: 166 Chris_Gilbert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 2 h 32 m 5 sec
Reputation Power: 6
Question Downloading Games

Can anyone give me any advice on what I need to do to make a wml page that enables users to download Java games. I just want a user to click a link and the game downloads

When doing a similar thing with html, if had a link that had an extension of .zip or .exe for example the browser would automatically download the file. Is this the case with wml? If i had a link on a page that ended in the correct file format for a java game (i don't know what the extension is although i assume a compiled java game would be an .exe) would the game automatically download or not?

Any help on this matter or where i might be able to resolve this query is gratefully appreciated.

Chris

Reply With Quote
  #2  
Old April 21st, 2004, 06:49 PM
street2000 street2000 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2004
Location: Twin Cities
Posts: 3 street2000 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 49 m 38 sec
Reputation Power: 0
Posting Java Game Links....

I have a site URL where I do almost what you are requesting. In able to do what you are requesting you must create 2 scripts; one to direct the game to an uploader tool and the other to send your file to a phone or WAP. The uploader tool script can be found on my site in the ringers section. On the right side you'll see an address pointing you to Rumpkins go there and the script (php) is available to be downloaded.

By the way is it possible for you to send me a copy of those java apps?

Reply With Quote
  #3  
Old July 24th, 2004, 06:01 AM
smartbord smartbord is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 1 smartbord User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Lightbulb

the extention for java is .jar

Reply With Quote
  #4  
Old July 24th, 2004, 10:30 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
There's two bits to a java game:

.jad file j2me.app-descriptor
.jar file java-archive

The jad tells the phone the location and size of the jar, it can also do things like report the download from the partners site to the developer for statting use, assign special functions in keys and so on.

The developer would tell you that though if you were dealing with legit / licensed content......

You need to specify the right mime types for java app downloads though or it'll not work on the phone. In .htaccess on a *nix box it's done like this:

AddType text/vnd.sun.j2me.app-descriptor jad
AddType application/java-archive jar
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #5  
Old July 25th, 2004, 02:28 AM
ahvin ahvin is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2004
Posts: 3 ahvin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I tested using nokia phone to download java games from wap and everythings goes fine. But i facing problem using samsung phone to download. Error message showed "Not Accepted".

Reply With Quote
  #6  
Old July 25th, 2004, 05:05 AM
jailbox jailbox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Estonia
Posts: 99 jailbox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Quote:
Originally Posted by ahvin
I tested using nokia phone to download java games from wap and everythings goes fine. But i facing problem using samsung phone to download. Error message showed "Not Accepted".


Samsung phones cant run nokia games. Nokia games work only for nokias

Reply With Quote
  #7  
Old July 25th, 2004, 12:21 PM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
Jailbox, does this make you laff too?

I wonder how many people fill a petrol car with diesil or washing up liquid in the hope it'll work.....


Reply With Quote
  #8  
Old September 14th, 2004, 01:12 AM
rroschuk rroschuk is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 rroschuk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
...

right...

i am not THAT noob. and I work for a local gsm cellular company here...

i am also a web developer and I am having difficulty downloading a number Motorola v600 games I have on my web server.

i have tried direct linking to the .jad and the .jar and to no avail.

can someone lend a hand with maybe a sample script or something?

cheers.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > Downloading Games


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway