Skip to main content

Wireless Toolkit 2.5 is Final!

Posted by tbrandalik on February 5, 2007 at 7:38 AM PST

Contributed by: Richard Gregor WTK engineering manager.

After quite a long development, Sun Java Wireless Toolkit 2.5 for CLDC (oh man what's a long official name) is final, everybody can download it here:
http://java.sun.com/products/sjwtoolkit/download-2_5.html .

This is a really great release bringing the support for the Mobile Service Architecture (MSA). For those of you who are not aware, Mobile Service Architecture is a definition of a new Java platform for the mobile devices. It specifies what all APIs should be supported on the mobile phone that is MSA compliant. MSA is is a really rich platform that specifies essential client components of an end-to-end wireless environment. In comparison to its predecessor Java Technology for the Wireless Industry, MSA includes many more exciting APIs and I don't want to describe them all because it is long list and I need to do also something real for my living.

Let's take a look at what's new and cool in the toolkit.

toolkit.PNG

Forget about Flash, now we have SVG!

SVG is powerful language for describing two-dimensional vector and mixed vector/raster graphics in XML.

SVG API implementation as specified in JSR 226 is included in the toolkit and contains also optional parts not demanded by specification. Toolkit comes with 2 SVG demos that should help you start with SVG programming.

SVG Demo

SVG Demo includes simple demos that you can use as a start point. You can browse and display your svg files located on device's filesystem, render simple svg picture, play svg animation, create svg picture from scratch, work with events and manipulate svg images - all basic stuff you can do with SVG API.

* Location Based Service :

svg2.PNG

SVG Contact List Demo

If you wanna see something more advanced in SVG, then please check this demo. You can also try to run it on Nokia S40 phones with SVG support -looks amazing and comes with 2 skins.

* SVG Contact List:

contact.PNG

Payment or how to make money

Payment API allows your MIDlet to initiate payment transaction in a secure manner. Nice example of monetization is a JBricks game included in toolkit. You can buy additional lives or advanced levels of the game and pay either with your credit card or by sending a Premium Priced SMS. Payment implementation comes with very nice support.

* You can manage the price for a certain feature e.g. live or level in the update file (*.jpp). To change data in this file, toolkit includes Payment Update File Editor:

payment-editor.PNG

Utilities by the way were redesigned - should be seen on the picture, isn't it? You can choose when new prices are taking place. There is not only client side for Payment but also the Payment Server. Payment console allows you to see payment communication, you can track details of network communication in the Network Monitor. Of course preview of all transactions and their status is available as well. For Payment API details please check Payment API - JSR 229

Good Morning, Buenos dias, Dobry den - Mobile Internationalization in Action

With continuing globalization, the necessity for producing localized application is raising rapidly. Even though internationalization for !JavaSE and !JavaEE applications is well known process, with a lot of support from various tools, the situation in !JavaME/MIDP was not satisfactory for a long time, because there was no standard solution for solving internationalization issues. With the introduction of JSR 238 (Mobile Internationalization API), !JavaME application developers can leverage it to create truly internationalized applications.

Basic ideas behind JSR 238 are here:

* For multicultural/global applications
* Allows developers to internationalize their MIDP applications
* Central Concept – resource, data that is localized
* String
* Image
* Object
* Application - specific and Device - specific resources
* Application Resources are bundled as part of MIDlets suite jar file
* Includes support for cultural conventions

Resources are in binary resource file, in format defined by JSR 238. Toolkit includes resource manager that makes it easy create and maintain different types of resources.

i18n.PNG

Session Initiation Protocol (SIP)

There is few good reasons for this API to be included:

* It is a standard way how applications can set up communication
* Cost savings
* Security

SIP is used e.g. in Instant Messaging, Text and Voice Chat and Video Conferencing. Except API implementation, the Wireless toolkit includes demo SIP server (proxy and registrar). It is of course up to you, if you would rather use your real SIP server, no problem. Network Monitor has been extended so now you can track SIP communication too. There are 2 nice demos for SIP.

* SIP Demo - for basic peer-to-peer communication
* GoSIP Demo - advanced demo using Built-in SIP server for simple chat between 2 devices

There is a lot more in new Sun java Wireless Toolkit 2.5. Don't wait, go and review it yourself!

Related Topics >>