File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java Micro Edition and the fly likes Implementing a J2ME solution Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Implementing a J2ME solution" Watch "Implementing a J2ME solution" New topic

Implementing a J2ME solution

Jeff Allen

Joined: Feb 09, 2002
Posts: 20
I'm very new at this so please have mercy on what may appear to be a simple question ...
It seems that each PDA and Phone vendor that runs J2ME has a different vendor-specific implementation of "Java".
Let's say I had a great J2ME programming idea that I would like to run on all the PDAs and Phones from all the different manufacturers, let's say 15 different devices.
To market such a program wouldn't I have to write a core system stuff but then filter all I/O and/or other stuff to match each vendor's specific "interphase"?
I would like to right such a program one day and want to know if the only way to test it is to get every possible simulator and or device. it would sem that struggling with each vendor's interphase would eb more of a hassle than just writing the main program.
Angela Margot
Ranch Hand

Joined: Feb 07, 2002
Posts: 80
I'm quite new at it too, but from what I have read it seems that you have to write the core functions for the program...then adapt the application for each device it needs to run on.

Angela Margot <img src="smile.gif" border="0"> <br />Sr. Software Engineer<br />SCJP2 SCWCD MCSD MCP
Mark Herschberg

Joined: Dec 04, 2000
Posts: 6037
The good people for the J2ME JSRs have always faced this question. It is dealt with in two ways.
First, we have multiple profiles and configurations. There are different flavors of J2ME for different classes of devices. See my posting here for a few more details.
Second, vendors can add their own APIs. For example, most profiles just support a basic HTTP protocol. But vendors can add FTP or other proprietary protocols. The PDA Profile calls for a stylus input device. however, if there's also a thumb wheel, the vendor can add a thumb wheel input API as well.
I agree. Here's the link:
subject: Implementing a J2ME solution
It's not a secret anymore!