Tuesday, December 25, 2007

First Blog Christmas!!!

Merry Christmas to you all!!! XD

I hope you got your new PS3, XBox 360, WII, CellPhone , or whatever makes you happy :).

Saturday, December 22, 2007

WidSets Widget Coding Competition Extended-Play!

The good folks at WidSets have decided to extend the deadline for the Widget Coding Competition to the 31st of January, 2008. They have decided this upon receiving messages from developers who only lately found out about the WidSets service and the coding contest. Here's a link to the official announcement : WidSets Widget Coding Competition Extended-Play!.

If you don't know what WidSets is, you can read about it at the WidSets Developers Wiki Site.

In brief, it's a service by Nokia that you can use to create and publish mobile widgets to MIDP 2.0 compliant devices via the Internet. The type of widgets you create are entirely up to you. It can be a feed from your blog or website, a mobile application, or a mobile game (got your attention now?).

Simple widgets like blog feeds can be created using the WidSets Studio online web-application. While more advanced widgets, like mobile applications and games, are created using the WidSets Devkit SDK and Helium Script (a Java like language). It's a free service too (tada! XD).

In case you're wondering, the service and your published mobile widgets are not only accessible to Nokia mobile phones but to all devices which are MIDP 2.0 compliant provided you can install the WidSets client MIDlet and the device has Internet access.

Did I mention the fact that the service is free?

I give two thumbs up to Nokia for this great service.

Tuesday, December 11, 2007

WidSets Widget Coding Competition

Just in case you haven't heard about it already, the good folks at www.widsets.com have announced the 2nd and final widget coding competition for the year 2007 where the winner will receive an N810 Internet Tablet. Sweet!!!

Read more about the competition here : WidSets Announcement

Saturday, December 1, 2007

Alternate Project Templates for Sun Java Wireless Toolkit Users

Updated 12/04/2007

You can use these templates as an alternative if you are using the Sun Java Wireless Toolkit instead of NetBeans.

CleanProject4WTK.zip - Clean Project Template Alternative (38.17 KB)

This next template is an alternative for the project code download in the tutorial No Commands: Delicious Graphical Menus:

BasicGameTemplate4WTK.zip - Project Code Alternative (31.49 KB)

These projects were created using Sun Java Wireless Toolkit 2.5.2.

Both project templates can be used to follow most tutorials presented in the lab except for the tutorial Input Handling : Keypress with Repeat Rate because the code is already included in the clsCanvas code.

One thing to take note of when follow the tutorials using these project templates is that the "images" folder resides in the "res" instead of the "src" folder.

Follow these steps to make the project accessible to the Wireless Toolkit application:
  1. Download and decompress the zip file you wish to use.

  2. Copy the extracted project folder to your "apps" folder. For example, on Windows this would be:

    C:\Documents and Settings\devlin\j2mewtk\2.5.2\apps

    The username and version number may differ from the ones you find in your machine.

As a reminder, both templates do nothing more than display a black screen and wait for the user to press the FIRE or 5 key to exit the MIDlet. The Basic Game Template project also displays the key code detected by the getKeyStates() method.

Good Luck!

Update 12/04/2007 
The location of the apps folder depends on the Wireless Toolkit version you are using. For instance, if you are using the Sony Ericsson SDK 2.5.0 for the Java ME Platform, you can easily figure it out by creating a new project using the ktoolbar:

Sony Ericsson 2.5.0 ktoolbar - new project

The project folder, res folder, and lib folder locations will be displayed in ktoolbar after the project has been created:

Sony Ericsson 2.5.0 ktoolbar- project location

In this example, the apps folder is at:

The same technique can be used if you are using the original version of Sun Java Wireless Toolkit.

I hope this helps.