OpenBaseMovil
Welcome at » Upcoming new ui interface

Upcoming new ui interface

You might know from the site comments or the SourceForge bug tracker, that the current ui library has some issues with Nokia S40 3rd edition phones since this models use 3 commands instead of the normal 2.

We were planning some major changes in the user interface library, and we are now finishing the first part of it that addresses this issue.

The new ui library will use the concepts of Desktop, Window and Decorator, managing the screen in full screen mode and handling all the painting.

The Desktop is like the LCDUI Display class, it handles the painting of the window title and the commands.

All the classes that were previously Canvas subclasses such as the dialogs, menus and data lists are now Windows that get painted in the Desktop.

The desktop is divided in four regions: title, content, first command and second command. The commands are optional, you can have none, one, two or more.

Each region has an assigned Decorator, which is responsible of drawing the background and managing the overall aspect of the region.

The library will provide a default decorator that simply paints the background with a solid color, and also an experimental one that will draw an image as the background using any mode ( mosaic or stretch).

Thanks to the way the views are defined (with XML), you don’t need to change anything in your application (if you use the default decorator) just compile it against the new ui library.

We will publish soon a beta version of the library and post it here for download.

BlogLinesdel.icio.usDiggFacebookGoogleGoogle ReaderYahoo! MyWebNewsgatorNewsvineredditSlashDotStumbleUponTechnorati

4 Responses

  1. dandus




    Hi Narciso,i sent an email about some questions to your email address with different email(gmail,hotmail),but failed! :(
    —————————————
    Delivery to the following recipient failed permanently:

    Technical details of permanent failure:
    PERM_FAILURE: SMTP Error (state 13): 553 sorry, that domain isn’t in my list of allowed rcpthosts (#5.5.3 – chkuser)

    —– Original message —–

    Received: by 10.64.91.15 with SMTP id o15mr6154263qbb.57.1201328135241;
    Fri, 25 Jan 2008 22:15:35 -0800 (PST)
    Received: by 10.65.148.5 with HTTP; Fri, 25 Jan 2008 22:15:35 -0800 (PST)
    Message-ID: <[email protected]>
    Date: Sat, 26 Jan 2008 14:15:35 0800
    From: yonm
    To:
    Subject: please help me!
    MIME-Version: 1.0
    Content-Type: multipart/alternative;
    boundary=”—-=_Part_1523_12693878.1201328135226″

    ——=_Part_1523_12693878.1201328135226
    Content-Type: text/plain; charset=ISO-8859-1
    Content-Transfer-Encoding: 7bit
    Content-Disposition: inline

    —————————————

    Please tell me how to correct your e-mail to. Thanks!

  2. Narciso Cerezo




    narciso(at)elondra(dot)com

    You’re welcome to send me email, but if your question is a support one, I would prefer that you use the support tracker at source forge.
    That way all request are centralized, available for anyone with the same question, an it also helps improving the project rank :-)

  3. dandus




    sent yet :)

  4. Narciso Cerezo




    Hi dandus,
    Sorry but I’ve not received any email, nor have I seen any new support request.
    We’ll put a contact form to ease this kind of issues.

Leave a Reply

You must be logged in to post a comment.