Skip to main content

Phone support for CDC/AGUI

5 replies [Last post]
davjoh
Offline
Joined: 2007-07-18

Hi everyone,

I've been looking at developing with the Netbeans Mobility pack for CDC, and it seems to only support AGUI.

My current target devices are iPAQs running Jbed CDC/PP (which I currently have running J9 with stuff written on CLDC/MIDP). I know there are SDKs that you can integrate into Netbeans for Sony Ericsson CDC phones and Nokia Series 80, but is there not a generic(ish) one like the AGUI kit but for PP?

Also, I've read that the only real devices that support AGUI are SavaJe-based (JavaFX Mobile now??) phones. Is this really the case? Because if so, it kind of limits the target audience.

Does anyone know what, if any, devices support AGUI?

-David

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
terrencebarr
Offline
Joined: 2004-03-04

Excellent! Stay tuned for more code and samples on SVG. Coming soon.

-- Terrence

terrencebarr
Offline
Joined: 2004-03-04

David,

Sorry for the slow reply, I was out for a few days.

Here the situation:

AGUI is an optional package that sits on top of CDC/FP/PBP. NetBeans Mobility for CDC supports creation of AGUI applications. If you want to create a PBP application then you can create a AGUI project and simply not use the AGUI package. PBP is supported on many CDC-based devices/platforms.

Unfortunately, NetBeans Mobility for CDC doesn't currently support PP applications.

As for AGUI support on devices: There currently arent many devices supporting AGUI. However, JavaFX/Mobile will fully support AGUI.

For an overview of UI and graphics packages and API in the Java ME space see
http://developers.sun.com/mobility/midp/articles/guiapis/

Depending on your needs you might also want to take a look at JSR 226 (SVG). This offers many possibilities for creating great-looking graphics and is part of MSA 248 so it is being deployed in large numbers now.

Hope this helps.

-- Terrence

davjoh
Offline
Joined: 2007-07-18

Thanks Terrence, that helps a heap-load!

So basically I had another look at Jbed's specs and it supports FP and PBP, so really I could build my applications using the Netbeans Mobility for CDC for development then...

The MobileAerith demo looks a great example of how SVG can be used for UIs so I'll definitely look into that too.

Thanks again,

-David

ewin
Offline
Joined: 2005-07-15

> I've been looking at developing with the Netbeans
> Mobility pack for CDC, and it seems to only support
> AGUI.

So you don't want AGUI support?

> My current target devices are iPAQs running Jbed
> CDC/PP (which I currently have running J9 with stuff
> written on CLDC/MIDP). I know there are SDKs that you
> can integrate into Netbeans for Sony Ericsson CDC
> phones and Nokia Series 80, but is there not a
> generic(ish) one like the AGUI kit but for PP?

Now you are asking for AGUI support? What is it what you want? And are you claiming Jbed supports AGUI? That would be new to me.

In general, the GUI situation for ME is extremely confusing and fragmented. It starts with the bunch of oh-so-helpful DC and profile definitions and continues with a bunch of optional packages to make bad things worse. And this indeed limits the target audience for an application. Forget about "Write once, run anywhere" .

AGUI is one of the above mentioned optional package (unless Sun has changed something and it is now mandatory these days in some ME version). My understanding is that Sun is trying to push it, but that vendors look e.g. at things like eSWT (which has no JCP/JSR blessing) and AGUI takeup is slow, if at all. Take this statement with a grain of salt. A lot about ME is politics and big business, and happens behind closed curtains. Maybe we see a boatload of devices with AGUI support next holiday season, or maybe we don't.

If you have PP, then you have AWT with limitations. It depends on your application if AWT is suitable for your purpose. If you need more ("rich interfaces", to throw the latest buzzword around ...), then you could consider classic Thinlet on top of AWT http://thinlet.sourceforge.net/home.html . Thinlet hasn't seen an update in the last two years. A new version is promised since, but didn't appear. And unfortunately it uses XML to describe GUIs. But it is small. Watch out for the Thinlet license and check if you can live with it before starting to write code.

davjoh
Offline
Joined: 2007-07-18

> > My current target devices are iPAQs running Jbed
> > CDC/PP (which I currently have running J9 with
> stuff
> > written on CLDC/MIDP). I know there are SDKs that
> you
> > can integrate into Netbeans for Sony Ericsson CDC
> > phones and Nokia Series 80, but is there not a
> > generic(ish) one like the AGUI kit but for PP?
>
> Now you are asking for AGUI support? What is it what
> you want? And are you claiming Jbed supports AGUI?
> That would be new to me.
>

No, I'm not claiming anything about Jbed. I was just stating the platform I'm targeting.

Basically what I meant to ask was two things:

1) Are there VMs that support AGUI at all on real devices (asides from the SavaJe phone)?
2) If it's not widely supported on devices, why is it the only option from Sun with the Mobility Pack for CDC?

So since my target platform would be Jbed which only supports PP, ideally I'd want to use the CDC Mobility Pack with PP (so I could possibly use a GUI designer within NetBeans) rather than AGUI. In the documentation it seems to indicate that PP can only be used with the pack using manufacturer specific SDKs (like the Nokia S80 one for example), but I want to develop on Jbed.

> In general, the GUI situation for ME is extremely
> confusing and fragmented. It starts with the bunch of
> oh-so-helpful DC and profile definitions and
> continues with a bunch of optional packages to make
> bad things worse. And this indeed limits the target
> audience for an application. Forget about "Write
> once, run anywhere" .
>

OK thanks for that - that's the impression I get when trying to investigate this, which would explain where and why my question arose in the first place.