pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Volkert <tvolk...@gmail.com>
Subject Re: Fwd: MODERATE for pivot-commits@incubator.apache.org
Date Mon, 04 May 2009 15:05:28 GMT
1) It looks like J2ME has its own drawing API, distinct from Java2D
This is a big deal, since Java2D is core to Pivot.  We'd not only need
a new theme with complete skins that used the other graphics API, but
we'd need to abstract away the java.awt.Graphics2D objects that we
deal in in a way that'd let us swap out graphics implementations on
the fly.

2) J2ME doesn't have the AWT component classes either, so our display
host system, which site on top of AWT components, would have to be
abstracted away as well.

This would be a big job, but like I said before, if we could make
Pivot's story be "write your application once, and run it on the
desktop, in the browser, or on a mobile device".... daaaamn.


On Mon, May 4, 2009 at 10:40 AM, Greg Brown <gkbrown@mac.com> wrote:
> Right. Unfortunately, J2ME != "J2SE lite". It doesn't include any of the AWT classes
that we'd need in order to run Pivot.
> However, JavaFX also requires AWT, and I've heard that JavaFX Mobile is or will be supported
soon. It would be interesting to learn how they are doing that.
> On Monday, May 04, 2009, at 10:33AM, "Noel Grandin" <noelgrandin@gmail.com> wrote:
>>https://lwuit.dev.java.net/ seems to be a popular choice for deploying
>>J2ME apps because it hides the multi-farious ways that devices differ.
>>Todd Volkert wrote:
>>>>> I think it is much smaller (binaries) than JavaFX and as I said
>>>>> currently of slightly different scope. Does Pivot aims to be usable on
>>>>> JavaME (portable phones?).
>>>> We'd love to see Pivot become available on mobile devices. However, this
is largely dependent on Java SE's availability on such devices. It's entirely possible that,
if JavaFX can run on a particular device, Pivot would also work there.
>>> This could actually be a good way to increase Pivot's visibility and
>>> marketing story (it being a relatively nascent project and all).  If
>>> someone on this list is interested, it'd be very valuable to see what
>>> barriers there are to running a Pivot app on a mobile device and how
>>> we might address those barriers.  It's possible that we can address
>>> them easier than Swing, Flex, or Silverlight, for example.

View raw message