Friday, December 28, 2007

Puyo Mobile 0.3 has been released.

At last I've got some time to add the sound features to Puyo Mobile. Various minor issues on Nokia phones have also been ironed out. In addition, the project file is updated so that you can download the source file and load it in Netbeans 6.0.

This is the direct download link for the zipped jar and jad if you're eager to try it.

Have fun!

Thursday, December 27, 2007

Update from Netbeans 5.5 to Netbeans 6.0

When I update from Netbeans 5.5 to 6.0, I can't start the emulator for J2ME development anymore. Later I've found that the problem is that Netbeans 6.0 is bundled with WTK(Wireless ToolKits) 2.5.2, whereas the 5.5 uses WTK 2.2. Then I go to the menu "Tools"->"java platforms" and remove the WTK 2.2. After removal, you'll see the project icons using J2ME show some errors in the "Project Navigator" view. Don't panic. Just go to the "Project Properties" dialog to ensure the "Emulator Platform" is WTK 2.5.2. Click OK button and you're done!

Wednesday, December 26, 2007

autostart scim under KDE4

Yesterday I installed KDE4 on my linux system. I wanted to automatically start the chinese input method support scim after log into the KDE4 desktop from kdm. I took some advices from internet and added .xim in my home directry. The content of the .xim is as follows:

export XMODIFIERS="@im=SCIM"
export GTK_IM_MODULE=scim
export QT_IM_SWITCHER=imsw-multi
export QT_IM_MODULE=scim
scim -d

However it didn't work. I checked the .xsession and found that the .xim was not called at all. After grepping in /etc, I found that KDE4 uses its own Xsession under /etc/kde4/kdm instead of the standard one under /etc/X11/xdm. After I added this line

[ -f $HOME/.xim ] && . $HOME/.xim

before calling startkde in the Xsession file, it worked like a charm!