Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java Micro Edition and the fly likes J2ME Server & Image Size Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "J2ME Server & Image Size" Watch "J2ME Server & Image Size" New topic

J2ME Server & Image Size

Mark Murray

Joined: Mar 14, 2009
Posts: 1
Hey guys,

I am currently creating a poker game(Texas Hold em) for a Uni Project. I am wanting to know what size images have to be when displayed on on a mobile device, and also as different phones and different sizes of screen will they just resize the images to suit? Sould i just play around with the images and resize them so they fit on screen? Is it best to use the game API, although no animation will be required in my game. I am looking to just display a poker room image with a poker table, then display the name of each player and the amount of money they have around the table, then the community cards will be displayed in the middle of table and the players cards at each postion round the table, so i will only be changing the image of the cards as each one is turned over. So I am thinking of just using Canvas or do I need layers to display the different images on top of each other?

I am also creating this game to be mulitplayer and was wondering what the best way would be to go about this. Can I have a normal java socket server on my computer and connect to it through J2ME? Can I have it stored on a webserver and connect to it through J2ME and the game be played or will the client have to download the app each time to the phone? Any other suggestions?

Sorry for all the questions


I will understand Java one day
wood burning stoves
subject: J2ME Server & Image Size
Similar Threads
How to make images the right size?
Why did it have to be PNG
Texas Hold'em Poker Game
image actions
GUI question