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 / General / August 2006

Tip: Looking for answers? Try searching our database.

How to develop a game for Palmtops/ Mobiles

Thread view: 
Sanny - 31 Aug 2006 07:19 GMT
I have developed a game in Java using Applets. I would like it to be
transfer that game to Mobile Phones and small PDAs.

But I am facing below Problems.

1. What screen size should be used

In applet I use 600 x 400 Pixels

2. What is the general screen size of PDA and Mobile Phones.

3. Will they Support Applets. Java 1.2 version.

4. Will they be fast enough to run Java Chat

Any help will be appriciated.

Thanks
Sanny
Chris Smith - 31 Aug 2006 07:49 GMT
> I have developed a game in Java using Applets. I would like it to be
> transfer that game to Mobile Phones and small PDAs.
[quoted text clipped - 6 lines]
>
> 2. What is the general screen size of PDA and Mobile Phones.

You don't know.  As much as you can, try to adapt your application to
work correctly on a variety of screen sizes.  If you can't do so, then
you'll need to check the screen size and put a border around the game on
larger screens.

> 3. Will they Support Applets. Java 1.2 version.

No.  The correct approach to writing Java code to run on mobile phones
is midlets.  Midlets don't really track the same Java platform version
numbers as the J2SE.  They are loosely based on Java 1.1, but the entire
standard library is replaced by the CLDC and MIDP, which provide some of
the basic java.* packages as well as midlet-specific user interface
classes.  You won't be able to use AWT or Swing, or most of the Java 1.2
standard API.  Also, midlets based on CLDC 1.0 are forbidden from using
floating-point numbers.

PDAs are more complicated.  Some of them implement CLDC/MIDP, while
others implement can do CDC and PersonalJava and even the full J2SE.  It
depends heavily on which device you are using.

> 4. Will they be fast enough to run Java Chat

Chat isn't really a resource-intensive task, so I'm sure that just about
anything would be fast enough to run a chat application.  That said, the
text entry mechanisms on a mobile phone aren't really good enough for
chat, though admittedly that doesn't stop 13-year-olds from sending text
messages all day long with them.

Signature

Chris Smith



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.