Sun and Laszlo announce Orbit: OpenLaszlo for J2ME
SimHacker writes "Sun and Laszlo Systems have announced project "Orbit": OpenLaszlo for J2ME.
OpenLaszlo is an open source platform for creating zero-install 'AJAX' web applications with the user interface capabilities of desktop client software.
The OpenLaszlo 'Legals' project supports multiple deployment runtimes, including Flash and DHTML, and soon J2ME! The FAQ says a proof-of-concept demo will be available later this year."
Have you used Open Laszlo? I attempted to, but after weeks of not finding correct documentation (most info I needed was missing, other parts were incorrect information that steered me the wrong way), forum exchanges, and e-mails from employees I was unable to get their "Hello World" to display anything at all.
It seems like others have been able to do something with it, but I was quite surprized at how much work it took to get to a "broken" "Hello World". My environment might have had something to do with it, but I have a fairly vanilla install of Fedora Core 5; more common than an oddity.
I would be really interested in anyone that has seen practical results from their own work using Open Laszlo.
When installing the Linux Flash Player it does require extra steps to get the fonts installed right (Macr/Adobe does provide those instructions). Maybe you ran into that...
s
This has always worked for me:
<canvas>
<text>hello world!</text>
</canvas>
If you run it with hello.lzx?lzr=dhtml in the nightly builds of "Legals" you don't even need Flash!
For a practical example, check out http://www.laszlomail.com/ -- this is a very complete webmail implementation with a rich, dynamic user experience that rivals a desktop mail client. More applications are linked from the OpenLaszlo wiki here: http://wiki.openlaszlo.org/OpenLaszlo_Application
I didn't put much time or effort into this, but if you make "hello" and "world" different colors they overlap each other. I actually had to specify "world"'s x and y cooridinates to adjust the spacing. I'm by no means a content creator of any sort other than an occasional whim, but this seems like it would become very tedious. Is there something i'm missing such as an IDE that would make this trvial?
The #1 "FAQ" would of course be "can this J2ME OpenLazlo run existing Flash movies on lots of mobile phones?", but that isn't answered in that Sun page.
So I'll also ask "is this Sun's attempt to take over Flash the way Sun has controlled Java, especially now that Flash has clearly beaten Java for mutimedia applets?"
Maybe we'll have to wait until "later this year" to see. By which time those questions will be asked even more frequently.
--
make install -not war
Assuming that you used two different text elements, each with its own fgcolor, then my guess is that you need a layout to position the text objects one after the other -- otherwise they all are positioned at x="0" y="0" by default, so they overlap like this (source).
You can put a layout element into a canvas or view, like <simplelayout axis="x"/>, and it magically positions its siblings (the text elements) like this (source). There are even more powerful layouts like the <wrappinglayout/> that work like this (source). [Try resizing the window -- it's very xmasy!]
Another way to make a text element with two different colors is to change the colors with html, using <font color="#ff0000"> tags in the text, like this (source).
-Don
Take a look and feel free: http://www.PieMenu.com
I went through a lot of the tutorials available via their site, and had absolutly no problems -- on my Windows XP Professional (at work).
Who?
I'm sick of hearing about what OpenLazlo will do one day. They still haven't released the final 1.0 version of their DHTML-targeting back end, and now they're hyping up how it'll produce J2ME as well?
I'm not going to touch it while the stable version only targets Flash.
GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
Someone on the Open Laszlo forums suggested that, but couldn't help me any further (as to which font, etc). The sources they pointed to were quite complex. However, I thought part of the reason for using Open Laszlo was to not have to worry about the client environment as much. Or is this a font that is needed when developing, not when viewing? Is the font not included in the install for legal reasons?
I'd actually clarify this even more, because Flex is in this space too - it's an awesome tool for producing wonderful powerful Flash applications and has its own sweet bag of tricks.
At this point Flash the IDE is for designers - programmers targetting swfs should be using Flex (which is ALSO free, btw, if you don't want "Flex Builder" which is basically Dreamweaver for Flex) or Laszlo.
Looking for freelance Actionscript (Flash/Flex) or ColdFusion work and/or freelance developers. Email me, put Slashdot