Image

Imagedivarin wrote in Imagejava_dev

J2ME newbie

Hey. So I was studing for the SAT and I thought it would be really nifty to have a calculator handy that could give me the prime factors of any given number.... This would be an easy program and if I wrote it in J2ME I could install it on my cell phone. But I've never written anything in J2ME, infact I'm kind of a newbie to java in general but I have programmed in other languages quite a bit and something as simple as this should be a good starter project.

I have been having a hard time finding any good J2ME tutorials out there. There's a lot of weird things that are frustrating me such as data types I can and cannot use in J2ME vs real java. So far only INT seems to work but to check if a number was evenly divisible I need to compare it's INT value with the full decimal value... for example what I want to do is this:









unfortunatly I've tried double, long, decimal, float, but only INT seems to be a valid numerical data type

if anyone out there knows of any good J2ME tutorials let me know.