1st
JUL

PODS (Palm OS Development Suite) does not work on Vista

Posted by Keith under Development Tools, PDA

Tried everything.  I’ve gotten to the point where I can compile and get .prc file, but it just doesn’t work with IDE’s debugger, nor it launches the compiled PRC file to the simulator or emulator.

IT ONLY WORKS ON XP.

Of course, you can just drop the compiled .prc file onto the emulator/simulator and use the stand alone debugger it comes with.  But it is two extra steps — if you have a copy of XP, then it’s better to use VMWare or VirtualPC + WinXP.

I’ll post more info later.

…but it’s better to write apps for Android anyway…IMHO.

28th
OCT

Palm TX spec and Reviews

Posted by Keith under PDA


Palm TX came out in October 2005, I believe. The model is 2 years old, so I don’t recommend to get one unless you can get a really good deal. I’m putting some info here for “Java ME on Palm TX” personal project I’m working on.

Spec

OS: Palm OSĀ® Garnet 5.4
CPU: 312 MHz Intel XScale PXA270 with WMMX
RAM: 128MB, 100MB for user
Display: 320 x 480 transflective TFT touchscreen, 16-bit color [Color Depth]
Wifi: 802.11b
Bluetooth: 1.1
Audio: stereo through 3.5mm headphone jack, single speaker on the back.
Expansion Slot: MultiMediaCard, SD & SDIO cards
Battery: lithium ion
Sync with PC: USB sync, Wifi Sync.
Power: AC adapter (108-32 VAC/60Hz)
Size: 3.08″ W x 4.76″ H x .61″ D
Weight: 5.25 ounces

Reviews

27th
OCT

Intro: Java ME and Palm

Posted by Keith under J2ME, PDA

Java ME or BREW
I’ve only done backend development in Java professionally. More and more, all the inexpensive phones are supporting BREW or Java ME. Since I like Java, and don’t want to go back to C/C++ unless it’s absolutely necessary, I started to look into Java ME instead of BREW. Besides, I have Palm TX that can run Java ME apps well.

Palm Development and Java ME
I’m not too interested in developing cell phone apps. I’m more interested for Palm TX which I own and like it a lot. I’ve tried different development tools for Palm (Since PalmOS 2.0, now it’s PalmOS 5) — but didn’t really find a good tool/dev environment I really liked. The best tool was CodeWarrior for Palm, but code has to be in C/C++. Writing something for Palm is purely hobby, and I’m not willing to spend too much time for debugging; debugging for C/C++ based apps vs. Java, that’s what I mean.

Another reason is, CodeWarrior doesn’t run on Vista which my home PC runs on. And IBM JVM for Palm works very well on Palm TX. All the tools can be downloaded for free too. (CodeWarrior is not free.) And, it worth to invest on learning Java ME environment and API, since it will run on other types of devices like cell phones, PocketPC, etc.

What’s Needed
Basic development environment for JavaME and Palm TX is quite easy. See resources at the bottom of this posting for URLs and instruction:
1. Download Palm TX simulator.
2. Download JVM for Palm.
3. Download Java ME SDK from Sun. (Assuming Java SE SDK is installed already.)

That’s it. And in fact, if target device is not Palm TX, then just download Netbeans with mobility package.

The Palm simulator doesn’t need seting up or installation process. So just double clicking the executable will launch the app. Play around with the Palm simulator. Install PRC, and check what’s in the directory, etc.

Not for old Palm
Don’t try KVM (old JVM from Sun for Palm) with PalmOS 3.0 or up. It’s slow and buggy, at least from my experience. I’m now looking at Java ME on Palm, only because now the hardware (Palm TX) is fast and has large memory, and IBM JVM is very stable. Only advantage of this KVM is that it’s Java ME.

If any Java developer wants to write code in Java for old Palm devices, then use different tools: Waba, SuperWaba, Jump or WabaJump. (I’ll post about these some time.) Of course, they are not Java ME at all. But they work fine from PalmOS 2.x and using WabaJump, it can produce native Palm 68k binary and runs fast — but no multi-threading and GC.

Advantages
By writing Java ME code, it’s faster (you know Java already), and wide range of platforms, and have fun with your Palm. Learning PalmOS API (C/C++) is not a good investment. PalmOS will fade out, either no market for it, or will be replaced by Linux based OS. Well, I’m talking about writing apps for Palm as a hobby, for Java developers. So while having fun writing Java ME code, and run your own cool apps on your palm, at the same time, you now have Java ME on your resume! ;-)

I’m going to post more about using this basic tool sets. I’m currently trying to set up Netbeans 6.0 Beta 2, using its mobility package for Palm apps. If this can be integrated well, then I can take advantage of the IDE’s GUI tools to generate forms, code generation, debugging features of the IDE.

Resources

Netbeans, Mobilitiy