Friday, August 29, 2008

Started on a J2ME App


I started on a Java Micro Edition (J2ME) mobile application a few weeks ago.  Since I've been doing C programming at work for the last few years, I wanted to do something in Java again.  I miss object oriented programming.  And having an educational Java app for my phone would be a great way to learn a new language while on the go.

Since time is a limited resource between daiper changes (still there, although not as much as when Emma was a newborn), feeding Emma and spending QT with the family, I drew some GUIs and data structures on paper.  I started it in Dia, but paper and pencil allows me to roam about the home.  Drafting on paper can be more transparent anyway.  No clicking on the UML "class" icon, dragging, switching from mouse to keyboard, labeling, etc.  I'll add it to Dia later on when I'm done with the papers.  It's always good to have some diagrams to reference while coding.

Implemented audio playback and image viewing.  Also using kXML to parse an XML document and populate my data structures.  Pretty smooth sailing so far!  

Just learned about LWUIT (Lightweight UI Toolkit for J2ME) a few days ago.  Very sweet!  Last night I started converting my app from lcdui to lwuit.  Not too bad, but I'm glad I found out about LWUIT sooner rather than later.  Some thanks goes to Bloglines.com for helping me follow my news/blogs in an effecient manner.  It started me on a mini hunt for more technical blogs.  Found a few more excellent J2ME blogs that I added to my feeds.