<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="http://blogs.forum.nokia.com/styles/rss.css" type="text/css"?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
 <channel>
  <title>Daniel Rocha&#039;s Forum Nokia Blog</title>
  <link>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog</link>
  <description>&lt;p&gt;A blog about everything that sounds interesting to me and Forum Nokia audience.&lt;/p&gt;
</description>
  <pubDate>Tue, 24 Nov 2009 03:38:31 +0200</pubDate>
  <generator>http://www.lifetype.net</generator>
  <itunes:author>Forum Nokia</itunes:author>
  <itunes:category text="Technology">
    <itunes:category text="Tech News"/>
  </itunes:category>
  <itunes:image href="http://www.forum.nokia.com/piazza/blogs/imgs/forum_nokia_rss_logo.jpg"/>
    <item>
   <title>Want a sexy UI in your Java MIDlet? It&#039;s now possible with LWTUI! (with video)</title>
   <description>
    &lt;p&gt;
Sexy UIs are all the rage today, right? FlashLite apps, WRT Widgets, WidSets, all of them have distinctive user experiences which differ greatly from the way we interact with native S40 and S60 applications. More colors, more animations, better usability, all making up a great way for developers to differentiate their applications and make them more attractive to the end user.
&lt;/p&gt;
&lt;p&gt;
In Java MIDlets however, you are stuck with a very poor UI toolkit, the LCDUI, which has very few components and few options on how to alter their appearance; most of the time you&#039;re giving hints to the underlying implementation regarding the way you want the components to be displayed. Even if you do so, however, there&#039;s still a big chance your hints will be ignored and the UI will be rendered differently on each device. This can be a pain if you are developing for many different phones, with different screen sizes, input methods and form factors. Actually, to be fair, this can be a pain even if your target is a single device.
&lt;/p&gt;
&lt;p&gt;
To circumvent these challenges, developers had either to developer their own UI toolkits, based on raw Canvasses, or use a 3rd. party toolkit such as &lt;a href=&quot;http://www.j2mepolish.org&quot; title=&quot;J2ME Polish&quot;&gt;J2ME Polish&lt;/a&gt;, which is great but requires a paid license to develop commercial applications, and this can be an unbearable cost to a small developer.
&lt;/p&gt;
&lt;p&gt;
Searching the web and some mailing lists, I found this very interesting project, called &lt;a href=&quot;https://lwuit.dev.java.net/&quot;&gt;LTWUI (Lightweight UI Toolkit)&lt;/a&gt;, which is a cross-device UI toolkit created to provide developers with the possibility of developing compelling user interfaces without writing painful low-level Canvas code. It&#039;s based on Swing programming paradigm and it&#039;s key functionalities are: 
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://blogs.forum.nokia.com//data/blogs/resources/300002/Screenshot0021.jpg&quot; /&gt;&lt;br /&gt;
&lt;em&gt;&amp;nbsp;LWTUI demo midlet running on E61i&lt;/em&gt;
&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Swing Like MVC&lt;/li&gt;
	&lt;li&gt;Layouts&lt;/li&gt;
	&lt;li&gt;PLAF &amp;amp; Themes&lt;/li&gt;
	&lt;li&gt;Fonts&lt;/li&gt;
	&lt;li&gt;Touch Screen&lt;/li&gt;
	&lt;li&gt;Animations &amp;amp; Transitions&lt;/li&gt;
	&lt;li&gt;Rich widgets&lt;/li&gt;
	&lt;li&gt;3D Integration&lt;/li&gt;
	&lt;li&gt;Painters&lt;/li&gt;
	&lt;li&gt;Modal Dialogs&lt;/li&gt;
	&lt;li&gt;External Tools&lt;/li&gt;
	&lt;li&gt;I18N/L10N&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
It&#039;s still in Early Access release but you can go to the project page and download it so you can play around with the toolkit and run its demos on emulators and real devices. The great thing is that the library is released under the Sun Licensing Agreement (SLA) which makes it usable by commercial applications without having to pay any fee.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
I ran the LWTUIDemo midlet on my Nokia E61i and N95 and it worked beautifully. It&#039;s a bit slow though, but nothing that compromises the user experience. I recorded a video of LWTUI running on my N95, so you can see what&#039;s up for use in your Java apps; I guarantee you will enjoy it.
&lt;/p&gt;
&lt;p&gt;
Last but not least, the project is open source, so you can contribute to it, just go to the &lt;a href=&quot;https://lwuit.dev.java.net/&quot;&gt;project page&lt;/a&gt; for more details on how to participate.
&lt;/p&gt;
&lt;p&gt;
Here&#039;s the video, enjoy it:
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;object type=&quot;application/x-shockwave-flash&quot; width=&quot;450&quot; height=&quot;350&quot; data=&quot;http://www.youtube.com/v/qAWMy_O7zrU&quot; id=&quot;ltVideoYouTube&quot;&gt;
	&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/qAWMy_O7zrU&quot; /&gt;
	&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot; /&gt;
	&lt;param name=&quot;allowScriptAcess&quot; value=&quot;sameDomain&quot; /&gt;
	&lt;param name=&quot;quality&quot; value=&quot;best&quot; /&gt;
	&lt;param name=&quot;bgcolor&quot; value=&quot;#FFFFFF&quot; /&gt;
	&lt;param name=&quot;FlashVars&quot; value=&quot;playerMode=embedded&quot; /&gt;
&lt;/object&gt;
&lt;/p&gt;
&lt;p&gt;
[]s&lt;br /&gt;
Daniel&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/05/14/lwtui_toolkit</link>
   <comments>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/05/14/lwtui_toolkit</comments>
   <guid>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/05/14/lwtui_toolkit</guid>
      <dc:creator>dcrocha</dc:creator>
      
    <category>Java</category>
      
    <category>S60</category>
      
    <category>Series 40</category>
      
    <category>eSWT</category>
         <pubDate>Wed, 14 May 2008 22:23:39 +0000</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>Want a sexy UI in your Java MIDlet? It&#039;s now possible with LWTUI! (with video)</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=300002&amp;profile=rss20">Daniel Rocha&#039;s Forum Nokia Blog</source>
     </item>
    <item>
   <title>A little bit of hot Java</title>
   <description>
    &lt;p&gt;
Pretty interesting document posted by Aleksi Uotila on&amp;nbsp;the &lt;a href=&quot;http://blogs.s60.com/java/2008/04/eswt_article_posted.html&quot;&gt;S60 Java blog&lt;/a&gt;, containing a PDF document about S60 3.2&#039;s eSWT plug-in for Java applications. I have been using this toolkit&#039;s desktop version for years and I must say I have never looked back to Swing or AWT, so I really hope there&#039;s more development on this side for mobile devices, since innovation on Java platform has been a bit slow these days, partly due to the JCP process and everything.
&lt;/p&gt;
&lt;p&gt;
Here are some screenshots of how eSWT apps look like:
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://blogs.s60.com/java/eswt/setting_jing.PNG&quot; border=&quot;0&quot; width=&quot;242&quot; height=&quot;324&quot; /&gt;&amp;nbsp;&lt;img src=&quot;http://blogs.s60.com/java/eswt/compose_haze.PNG&quot; border=&quot;0&quot; width=&quot;242&quot; height=&quot;321&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
Direct link to the article &lt;a href=&quot;http://blogs.s60.com/java/S60_eSWT_article.pdf&quot;&gt;here&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
******************************************
&lt;/p&gt;
&lt;p&gt;
After Carbide.j&#039;s demise, I have been working hard to get used to the other toolsets in the market. Adaptation to NetBeans Mobility Pack was pretty swift, but I can&#039;t say the same about EclipseME, since I had many conflicts with my version of Eclipse, &lt;a href=&quot;http://wiki.forum.nokia.com/index.php/Installing_Java_ME_development_tools_for_S60&quot;&gt;but thanks to Leisti&#039;s article on Wikipedia&lt;/a&gt;&amp;nbsp;I finally got what works with what then my setup is now running smoothly, and I&#039;m a big fan of C-like macro preprocessing, which helps a lot in reducing the problems of device fragmentation. EclipseME, as well as NetBeans, have this feature and I love it, specially when dealing with &amp;quot;new&amp;quot; APIs not available across S40 and S60 (Location API, do you hear me?) and also with the (too) highly modular Mobile Media API.
&lt;/p&gt;
&lt;p&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
// #ifdef DEBUG&lt;br /&gt;
System.out.println(&amp;quot;Some debug output&amp;quot;);&lt;br /&gt;
// #endif&lt;br /&gt;
...&lt;br /&gt;
&amp;lt;/code&amp;gt;
&lt;/p&gt;
&lt;p&gt;
******************************************
&lt;/p&gt;
&lt;p&gt;
Speaking of fragmentation, the other day I was checking my GMail account and I came across an ad for &lt;a href=&quot;http://www.tirawireless.com/products/products_overview.asp&quot;&gt;Tira Jump 2008&lt;/a&gt;. For those who don&#039;t know it, Jump is a tool to facilitate application deployment across mobile devices, so you don&#039;t have to do it manually. I saw a presentation by these guys at JavaOne 2005 and was pretty impressed when they created a MIDlet game which could run on 120 devices almost automatically. Today they claim support to 1200 device models, which is quite a number! They have a free version of the tool that you can use to test the product and deploy your midlet in up to 12 different models. I&#039;ll give it a try later.
&lt;/p&gt;
&lt;p&gt;
******************************************
&lt;/p&gt;
&lt;p&gt;
Why so much JAVA? I&#039;m writing some chapters of an upcoming Java book for a well-known editor, so I have been thinking in Java instead of Portuguese for the past two weeks, and it&#039;s been fun. 
&lt;/p&gt;
&lt;p&gt;
Speaking of Portuguese, my native language, the &amp;quot;hot java&amp;quot; joke never made any sense to us, since we don&#039;t call our coffee &amp;quot;Java&amp;quot;, but I nevertheless inserted throughout the post just to please our English-speaking readers :)
&lt;/p&gt;
   </description>
   <link>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/04/11/hotjava</link>
   <comments>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/04/11/hotjava</comments>
   <guid>http://blogs.forum.nokia.com/blog/daniel-rochas-forum-nokia-blog/2008/04/11/hotjava</guid>
      <dc:creator>dcrocha</dc:creator>
      
    <category>Java</category>
      
    <category>eSWT</category>
         <pubDate>Fri, 11 Apr 2008 16:36:34 +0000</pubDate>
   <itunes:author>Forum Nokia</itunes:author>
   <itunes:subtitle>A little bit of hot Java</itunes:subtitle>
   <source url="http://blogs.forum.nokia.com/rss.php?blogId=300002&amp;profile=rss20">Daniel Rocha&#039;s Forum Nokia Blog</source>
     </item>
   </channel>
</rss>