File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java Micro Edition and the fly likes Game - Sending Scores to a web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Game - Sending Scores to a web server" Watch "Game - Sending Scores to a web server" New topic
Author

Game - Sending Scores to a web server

Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Hi guys

I was wondering. If I have a game and I want to send highscores from the phone to a server... Which protocols should I use? I was thinking of GPRS but is this the only way I can do it? Thanks!


SCJP 1.5
http://devpinoy.org/blogs/lamia/ - http://everypesocounts.com/
James Hodgkiss
Ranch Hand

Joined: Jan 22, 2004
Posts: 401
The most common connection method is to use the HttpConnection. Whether that results in the use of a GPRS or dial-up connection is down to the device configuration and (as far as I'm aware) cannot be affected or detected by a midlet.

Cheers,
James
Timothy Sam
Ranch Hand

Joined: Sep 18, 2005
Posts: 746
Thanks James!

Very useful info to know!
Amila Jayatillaka
Greenhorn

Joined: Sep 29, 2006
Posts: 28
You can use HttpConnection for you problem.


SCJP 1.4, SCMAD 1.0, SCWCD 5.0
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Game - Sending Scores to a web server