Hi all, I am new to J2ME. I tried to build some user interfaces in J2ME using MIDP. I tested it with Palm OS Emulator. Is there any way by which we can arrange the layout in an AWT GridLayout manner. Like, two components in One row and another 2 components in the second row ? Regards Mahesh
hi: if you are using the MIDP, the high level API does NOT allow absolute control of placement, whereas the low level GUI API (Canvas class, etc) allow you to work with a coordinate system. you should invest in a book about j2me that explains this in more detail. the MIDP GUI is quite a bit limited compared to awt.
posted 16 years ago
Hi thanx, i'll buy a book. Can u suggest a book for me? A book which addresses allmost all the issues in UI and networking from Beginner to Adv level. By the way, i've send you a private message did u read it ? Mahesh
posted 16 years ago
i'll just speak for the 3 i have, to be fair. for sheer amount of material, breadth, and depth, Professional Mobile Programming from Wrox might be a good buy. It's an advanced book though, and covers a lot more than just MIDP (including chapters on javacard, javaphone api, etc), so it might not be as useful if you are just beginning. Morrison's Teach Yourself Wireless Java in 21 days has very good chapters on sprite animation (gaming). you might also want to take a look at White and Hemphill's J2ME book (the guest authors from last week). I haven't had a chance to go through the code, but they seem to cover the basic pretty thoroughly. probably a good advise for you would be to spend a lazy afternoon weekend over in a Borders Bookstore going through the many J2ME books...in this way, you'll be able to pinpoint exactly what you need. I say Borders because I know Barnes and Noble (the b**ta*ds!) have some sort of .NET deal with Microsoft and are heavily promoting .NEt books and "hiding" the java books (it seems).
Originally posted by Baruch Sadogursky: Think twice before you buy a book about J2ME. You'll spend some money on book the will be absolutely useless in one-two months, in the moment when MIDP NG will be released.
MIDP NG is "Next Generation" and is now MIDP 2.0. The specification is out. I do not think it will make the current books "useless". MIDP 2.0 mainly added some new APIs (security) and a formal OTA provision specification. Most of the basic programming stuff is the same as MIDP 1.0. In fact even PDAP (specification just released) is compatible with MIDP and will not make MIDP programming skills "useless" for Palm developers. cheers michael
i'll add my 2 cents. first, the jsr for midp 2: http://www.jcp.org/jsr/detail/118.jsp i tend to agree somewhat with the opinion that buying j2me books now is sorta "useless" because of 2.0 (which is why i actually curbed my buying earlier because the books were getting repetitive - somewhat - as to what they covered) however, i'd say its better to buy one good book now instead of waiting for the new generation of books to come out because: (1) you don't know when they're coming out, and you want to start coding NOW (2) 2.0 has added some good stuff to the mix, but the basics are still there. (3) Some books cover material beyond MIDP, and include discussions on PersonalJava, JavaCard, etc. (4) some of the books cover material beyond just plain coding which will not change, inc the history of j2me, explanations of the CLDC, CDC, etc. it's very helpful to have all these info in one package and as a hardcopy reference. i'm assuming obviously that you have around $30-$40+ to spare... [ July 03, 2002: Message edited by: a sanjuan ] [ July 03, 2002: Message edited by: a sanjuan ]
posted 16 years ago
(1) you don't know when they're coming out, and you want to start coding NOW (2) 2.0 has added some good stuff to the mix, but the basics are still there.
For the basics you can find fine giudes on the web for meanwihle. Check this topicfor instace.
(3) Some books cover material beyond MIDP, and include discussions on PersonalJava, JavaCard, etc. (4) some of the books cover material beyond just plain coding which will not change, inc the history of j2me, explanations of the CLDC, CDC, etc. it's very helpful to have all these info in one package and as a hardcopy reference.
You gonna buy a J2ME book anyway, so you'll get this coverage in a new book. The coverage will be better and will cover new topics in all additional staff.
i'm assuming obviously that you have around $30-$40+ to spare...
I'm sure you can find a better usage for them than to buy nealy irrelevant books.