I'm a mobile enthusiast thinking in mobile life. There is still place for innovation in services, games and applications. What are you waiting for?
(En español todavía hay más oportunidades)
firt | 23 October, 2006 06:26
Following my last post, I’m analyzing the Future of Java ME (J2ME).
Designing new UI with SVG
Standard Vector Graphics format, will be one of the revolutions in Java UI designs, using an SVG subset called Tiny SVG. Everyone who developed a Graphic User Interface using LCDUI Canvas (or FullCanvas in Nokia UI) knows how difficult is to design a cool UI interface; we have to do everything with Java code with a few shape methods (like fillRect), or loading heavies PNGs.
Many vendors, all of them in JCP (Java Community Process) are supporting the SVG API (JSR 226). Many SDKs and emulators are supporting it, and Nokia’s devices are supporting it from Series 40 3rd edition Feature Pack 1 and Series 60 3rd edition Feature Pack 1. You can find a great document from Forum Nokia about this API here
SVG has many advantages, as the following ones:
So, from Java code we can capture when a user selects a hotspot, and we can also animate and modify the SVG elements structure dynamically. For example, we can change an object property (color, size, rotation, etc.), we can add new elements (like shapes, other SVG document) when we need it.
Using this technology, not only we are having greats advantages over using Canvas and Graphic classes, we can integrate graphic designers in our team easily. SVG is a format that every graphic designer can export from a vector tool (like Corel Draw or Adobe Illustrator), so we won’t need to convert designs into PNGs and Java code anymore.
And JCP team is working on a newer API that will extends this one: JSR 287 (SVG API 2.0). This API will work with SVG 1.2 format, that supports multimedia, audio and video, alpha transparency and gradients objects.
Other format waiting in Java ME community is CDF (Compound Document Format, JSR 290). But this is for other post...
Internationalization
For everyone who develops applications for a non-English market (as me), the ability to generate multiple versions for each language is a great feature. JCP (leader by Nokia in this case) worked in the Mobile Internationalization API (JSR-238). Using this API installed in the device, we can handle external resources files per language, and we can format dates, numbers and currency depending on the culture of the user’s country.
This API is currently supported in many IDEs for working in design mode. A great feature of some IDEs is the ability to generate many JAR packages, one per language or group of them.
Contactless
Contactless Communication API (JSR-257) allows mobile devices to read information available around in the environment, using many technologies, like visual tags (bar codes or similars), or RFID (Radio Frequency Identification). This will allow mobile phones to read URLs, number phones, semantic information, prices or other information from the “real world” to the Java ME application.
What’s next
In next posts I’ll talk about MIDP with CDC, Next Generation Mobile Platform, MIDP 3.0 and new tools and IDEs.
See you on next post!
Java, S60, Series 40 |
Next |
Previous |
Comments (6) |
Trackbacks (0)
firt | 26/10/2006, 00:25
Hi Ove, thanks for the link. I've read your post and I'm a bit confused about what you meant. Devices like Nokia 770 and UMPC (Microsoft's Ultra Mobile PC) are Internet Tablets or Mini Tablet PCs. That devices are using "desktop-like" operating systems, as Linux (in Nokia 770) and Windows XP / Vista in UMPC. So, Java SE wins the place in Java development for that devices. You can install a Java SE Virtual Machine. Personal Profile for Java ME is in the middle.ovjo12 | 26/10/2006, 11:09
suresh20044 | 30/10/2006, 16:21
firt | 31/10/2006, 23:02
That's right, there isn't CDC/PP phones yet. It's also right that MIDP 1.0 / CLDC 1.0 is still alive. In some worldwide regions, like Latin America, there is still a big MIDP 1 market, like Nokia Serie 40 First Edition. And there are yet TDMA Java-less phones!. This is changing, because people with older phones, are looking for new color devices with camera or MP3 player. In 12 or 18 months, a great percentage of people are changing their mobile phones to a newer generation.jose.cornado | 18/11/2006, 09:57
Re: The Future of Java ME II
ovjo12 | 25/10/2006, 11:19
I wrote little about this in my blog: http://ovenordstrom.blogspot.com/2006/10/future-of-javame-is-also-about-new.html
Regards,
Ove