I'd like to get a new phone that has the ability to program it using J2ME. Can anyone tell me which phones this can b done with? Also, when I played with J2ME before, it didn't have support for floating math. As I understand it Motorola has built some stuff on top of J2ME (like support for lightweight components), so does anyone know if you can use floats in your programs that you write for these Motorola phones? With Respect, Matt DeLacey
posted 14 years ago
Matt, Have you tried the MathFP package for KVM? http://home.rochester.rr.com/ohommes/MathFP/ -yu "MathFP is implemented to provide developers the capability to do calculations involving fractions on java virtual machines with no support for floats or doubles. For example the KVM (K Virtual Machine) and the CLDC (Connceted Limited Device Configuration) do not support these primitive datatypes."
Yu Feng<BR>Author of <A HREF="http://www.amazon.com/exec/obidos/ASIN/193022009X/ref=ase_electricporkchop/107-7882751-0234939" TARGET=_blank rel="nofollow">JSP Tag Libraries</A><BR>View <A HREF="http://www.manning.com/shachor/chapters.html" TARGET=_blank rel="nofollow">Sample Chapters</A> on-line.