Quintin
unread,Mar 9, 2009, 3:57:58 AM3/9/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to J4ME
Hey,
I am using J4ME to write a utility for myself (got many of these -
mobile phones are perfect for this). J4ME is a mega brilliant API.
Very easy to extend into making powerful user interfaces. Great job!
Either way... I have a CLDC1.0 phone. So to get it running I ported
the J4ME-1.0.3-20080509 to be compatible with CLDC1.0, and when I ran
it the API + all the tests worked first time! Happy times!
Interested in integrating these changes with the project? Or maybe
providing a supporting module/patch set/branch (I'll be willing to
maintain them if necessary).
It basically only involved removing all the floating point
calculations (doing them on the integer system). Not very difficult to
do given the calculations are not very complex or demanding. It might
even give some performance boosts on those platforms which have crappy
FPUs.
Note that I didn't do this for the GPS module. I had no need for this
module, and since it didn't compile I just removed the code. Due to
the nature of GPS coordinates, I don't see an easy way to make them
CLDC1.0 compatible, so this change would then only cover the non GPS
areas, which I am sure is fine for people who aim to support CLDC1.0.
In fact, I'm sure it will be fine for most. Having many devices still
CLDC1.0, I think this can be a valuable extra for the project. At
first I didn't even download J4ME BECAUSE of this, but being open
source I figured I'd give it a shot and see what I can do (it seemed
the most attractive of all the APIs when this small itch wasn't taken
into account).
thanks,
Quintin extends Dialog
{
public Quintin()
{
setTitle("Greatest Appreciation!");
append( new ProgressBar() );
show();
}
}