Customization of the user interface on Blackberry

Hello friends,

How to get color background rectangle rounded on fields even as the calendar of the user interface.

Here is the preview below,

You can use http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/ui/decor/BorderFactory.html from 4.6 +.

on lower os versions, you have to draw yourself using graphics.

Tags: BlackBerry Developers

Similar Questions

  • Customization of the user interface on Blackberry - ObjectListField

    Hello

    Someone has an idea how to deal with the following scenario with the ObjectListField on 4.5 OS worm. A simplest thing was to add the string with '\n', but it does not work with BB. Y at - there any option other to achieve this other than too much riding paint method?

    Scenario:

    Point 0: Label-10/12/2010

    String: This is the first element of the listfield.

    Point 1: Label-10 92 2010

    String: This is the second element of the listfield.

    .

    .

    .

    .

    .

    .

    .

    .

    the field seems to serve three times the rowheight fontsize.

    Use setRowHeight (getFont () .getSize () * 3) to achieve this goal.

    Now you can draw the lines using the y and adding the fontHeight to row2, row3 RESP.

    to get the update behavior, you must change the drawFocus method (it is a bit Advanced, it would be easier to let the entire marked input)

  • Customization of the user interface in 11 GR 2

    Hello Experts,

    I need help in the customization of the user interface of the IOM.

    I need to change the

    Logo

    Text

    IOM background colors

    I'm following the document customization of the Interface - 11 g Release 2 (11.1.2) but it is not clear. Can someone provide me with materials or measures for the customization of the user interface?

    Concerning

    A presilia

    Hi Pascal,.

    Follow the following URL which can help you to complete the customization of the user interface of the IOM

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm

    http://docs.Oracle.com/CD/E27559_01/dev.1112/e27150/uicust.htm#BABJIJIA

    Thank you

  • Customization of the user interface in 4beta2: hide the button new tab

    Question

    I have another type of problem with Firefox

    Description

    I want to know how to hide the button new tab especially when (be precise)
    tabs [[overflow = "true"]
    I tried to change this code:

    .tabs-newtab-button {
    display: none
    }

    but during overflow the new tab button appears again.
    Maybe this isn't the right place for these issues, I still need a solution

    Version of Firefox

    4.0b1

    Operating system

    Windows 7

    User Agent

    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; B 1 RV:2.0) Gecko/Firefox/4.0b1 20100630

    Plugins installed

    • -Shockwave Flash 10.1 r53
    • 4.0.50524.0
    • Adobe PDF plugin for Firefox and Netscape "9.3.3.

    Try:
    #new-tab-button, .tabs-newtab-button {
    display: none;
    }

    You can also drag the new tab button in the window customize (view > toolbars > customize)

  • DIAdem: Customization of the User Interface: disable the Standard Menus or prevent < CTRL-U >

    I had a few issues of my latest DIAdem class participants.

    Is there a way to disable by program of Standard Menu items in tiara Script, or in the Desktop.ddd file?

    Except that - is there a way to programmatically prevent a user exit WndShow("Shell","FullScreen") when the script defines DIAdem to run full screen mode?

    DIAdem can not be stopped by Script programming?

    Hi Ryan,

    Yes, you can manipulate menus DIAdem standards. The example of "User-defined Menus" ("Menu_main.vbs") how to add own menus defined. But of course, you can remove the menu standards, too. Example:

    Dim iLoop, sPanelName

    sPanelName = 'REPORT '.

    for iLoop = MenuItemCountGet (sPanelName, "M") to 1 step - 1

    Call MenuItemDel (sPanelName, "Mr." & str (iLoop))

    next

    Since DIAdem 11.0, you can manipulate the tiara GroupBars and tiara ActionBars more. Please take a look at the example of 'Extend the Bar group' ('BarExample_Init.vbs'). And I could imagine that this could be extended for the next version of DIAdem.

    To prevent CTRL-U in the mode full-screen mode is not possible. This is the standard mode of Diadem failover.

    I don't know what you mean with "stop script programmatically. If you wanted to stop DIAdem and then use the command "ProgramExit".

    Greetings

    Walter

  • How to get TS::SequenceContextPtr to customize the user interface

    I want the file of the custom, user interface sequence value therefore need to take stock of the TS:equenceContextPtr, anyone know how to get this point.

    Is there a reason that UIMessages are not enough?

    Just off the top of my head, here are a few concerns with the not not using UIMessages:

    1. How the user interface is unknown when the file of the sequence is developed to set the value.  Without an event or some sort of synchronization you can do exactly that.  UIMessages not only to ensure the right information, but they help also with synchronization.

    2. The engine does not know this information, and view of execution manager knows that the information for the current execution it is linked to (which changes throughout the life of a series of tests).  Basically, recall of front end, model, and other factors may spawn short executions briefly related to the Manager view of execution.  So if you take the context of the sequence of the current run is perhaps not the right one.

    3. Writing a user interface will be couple the user interface to your specific sequence file.  At this point, you can use the network variables or global variables or global queues as well.  It might even be better options.

    The situation you describe is exactly why the UIMessages were created.  Maybe you can help me understand why you are set on the use of pointers, you already have?  There might be a better solution for your case if I'm misunderstanding you.

    Thank you

  • Background image on the User Interface

    I'm trying to place a background behind my screen of the application image. So instead of the usual white, there would be a "background.png". I am following this thread with the blackberry API set

    http://supportforums.BlackBerry.com/T5/Java-development/drawing-bitmap-in-mainScreen-background/m-p/...

    So far, I tried to apply it within my own application, with the code to start as follows:

    final class UserInterfaceScreen extends MainScreen {
        HorizontalFieldManager _fieldManagerTop;
        VerticalFieldManager _fieldManagerMiddle;
        HorizontalFieldManager _fieldManagerBottom;
        BitmapField _bitmap;
        Bitmap _canadaImage, _ukImage, _usImage, _backgroundBitmap, _fieldBitmap;
        LabelField _label;
        BasicEditField _input;
        String _canadaCapital, _ukCapital, _usCapital, _capital;
        int displayed = 0;
    
        public UserInterfaceScreen() {
            super();
            LabelField title = new LabelField("User Interface Sample",
                    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);
            setTitle(title);
    
            HorizontalFieldManager _horizontalFieldManager = new HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH | HorizontalFieldManager.USE_ALL_HEIGHT){
    
                //Override the paint method to draw the background image.
                public void paint(Graphics graphics)
                {
                    //Draw the background image and then call paint.
                    graphics.drawBitmap(0, 0, 640, 900, _backgroundBitmap, 0, 0); //240
                    super.paint(graphics);
                }            
    
            };
            _backgroundBitmap = Bitmap.getBitmapResource("background.png");
            _fieldManagerTop = new HorizontalFieldManager();
            _fieldManagerMiddle = new VerticalFieldManager();
            _fieldManagerBottom = new HorizontalFieldManager();
    
                add(_horizontalFieldManager);
                add(_fieldManagerTop);
                add(new SeparatorField());
                add(_fieldManagerMiddle);
                add(new SeparatorField());
                add(_fieldManagerBottom);
    

    Basically, I'm trying to combine the thread above with the user interface tutorial.

    http://supportforums.BlackBerry.com/T5/Java-development/user-interface/Ta-p/442781

    The question is when I run the code, I just get the background image, none of the other content is displayed in the foreground. I am this approach correctly?

    I'm not sure the solution you received one will work - it may well do, but the approach is different from what I do.  I based my image of background processing around comments in this article:

    http://supportforums.BlackBerry.com/T5/Java-development/MainScreen-explained/Ta-p/606644

    But if you look at what you said your screen, you will see why you don't see all your real fields.

    The first thing that you add to your screen is as follows:

    HorizontalFieldManager _horizontalFieldManager = HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH | nouveau HorizontalFieldManager.USE_ALL_HEIGHT) {}

    You said this Manager to use the full height and width.  Then what place is left for any other Manager/field.

    You only add this option to provide abackground.  So actually, to do this, you must you add all your fields and managers in this HFM.  Otherwise that will expose after this one (which, as noted way they have no space to display in). I think you'll see something, if you replace this:

    Add (_horizontalFieldManager);
    Add (_fieldManagerTop);
    Add (new SeparatorField());
    Add (_fieldManagerMiddle);
    Add (new SeparatorField());
    Add (_fieldManagerBottom);

    with

    Add (_horizontalFieldManager);
    _horizontalFieldManager.Add (_fieldManagerTop);
    _horizontalFieldManager.Add (new SeparatorField());
    _horizontalFieldManager.Add (_fieldManagerMiddle);
    _horizontalFieldManager.Add (new SeparatorField());
    _horizontalFieldManager.Add (_fieldManagerBottom);

    But it probably won't be good, so you should follow the advice given in the previous Post or see the KB article.

  • to access the QML attached objects in C++ and best practices for the handling of the user interface in classes

    Hello

    I have in fact 2 queries

    (1) how can we access attachedobjects defined in QML in C++?

    (2) I'm loving development on Blackberry 10 C++ is one of my favorites. But I'm a bit lost when it comes to managing the user interface in classes. For example when we create the project through momentics we have a class called ApplicationUI. It manages all the (default) user interface commands, we in C++. as for example creating the document qml and setting as root user interface, etc. I am now working on an app that have NavigationPane as root, and then I continue to push pages (like the screens). But now the code for all pages is inside my ApplicationUI. What is the best practice to keep the UI for each page logic in a separte C++ class?

    I also develop for Android that a separate class for each activity, this code does not mingle for each activity. Please guide me how can I keep logic of user interface of each Page into a separate class of C++?

    regarding your second question:
    I think this is the simplest approach to keep all things in the UI in QML. You can easily put things into separate files.

    If you want to use c ++ to the user interface: can be done, too. just put it in separate classes and include those in your application class.

  • Need help with this code to update the user interface example

    I'm triying to understand the differences between the three methods to manage UI interactions.
    I'm really confused with these three terms when triying them figure out in a real case.
    Basically, I know that I should use invokeLater, invokeAndWat, or getEventLock() to avoid
    This exception: java.lang.illegalStateException: engine access UI without holding the lock on the event

    The code below illustrates the function of the invokeAndWait method, but if I replace it with
    invokeLater or getEventLock() the program will work exactly the same way.
    Could you please change the code to show the differences between the three
    methods of updating the user interface?

    / public final class HelloWorldMainScreen extends form {}

    private LabelField labelField;
    public HelloWorldMainScreen() {}
    labelField = new LabelField ("Hello World");
    Add (labelField);
    Thread MainScreenUpdaterThread = new MainScreenUpdaterThread (this);
    thread. Start();
    }

    {} public void appendLabelText (String text)
    labelField.setText(labelField.getText()+"\n"+text);
    }

    }

    SerializableAttribute public class MainScreenUpdaterThread extends Thread {}
    HelloWorldMainScreen screen;

    public MainScreenUpdaterThread (screen HelloWorldMainScreen) {}
    this.mainScreen = screen;
    }

    public void run() {}
    for (int i = 0; i)< 10;="" i++)="">
    try {}
    Thread.Sleep (5000);
    } catch (InterruptedException ex) {};
    UiApplication.getUiApplication () .invokeAndWait (new Runnable() {}
    public void run() {}
    mainScreen.appendLabelText ("Update");
    }
    });

    }
    }
    }

    These three concepts are very confusing for a lot from people so all explanatory source code
    describing their functions will be highly useful for everyone, I think.

    Thanks in advance!

    With respect to the effect, there is no difference between methods.  The difference is the way in which the result is achieved.  So we can't change the code to show you the difference.

    As we are unable to demonstrate the difference, you have to do with an explanation.  To understand the explanation, you'll need to understand the thread of events, so if you have not already, please consider this:

    http://supportforums.BlackBerry.com/T5/Java-development/what-is-the-event-thread/Ta-p/446865

    If the three options are differentiated by the processing order:

    (a) invokeLater executes the update on the thread of events.  The transformation takes place at a later stage and the code which is in order after the invokeLater will actually run before the code within the invokeLater.

    (b) invokeAndWait also manages the update on the thread of events, which means that all other events that await on the thread of events will be run before this code.  But any code after the invokeAndWait will not be executed.

    (c) the synchronized option, like invokeAndWait, runs the update of the UI before moving on to the following code.  The difference is that the code to run on the event Thread is not executed before code in the synchronized block.

    If this is meaningless, so that probably does not matter too much.  in general, you should use invokeLater, except if you need to update the user interface occur in the order with your background processing.  If so, use invokeAndWait. It has synced are very few occasions where you must use the block, and it should be very small updates to the user interface and you should understand the implications this could have on the wire events.

  • Draw attention to the application of the user interface

    Is it possible to use Dialog.alert () on the user interface, background processing application? I tested the Simulator but unfortunately it always freezes when the alert dialog box appear (alert did not appear, but I can see it is called in the JDE debugger) or perhaps a different approach?

    I think that this article will answer your question.

    How - to alert a user to a background application
    Article number: DB-00407

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

  • OS6 Guides development of the user interface

    Is there a that guides all OS6 out UI development still?  I wrote some background apps start on my "BOLD" 9000 OS4.6 into development, but now I want to try my luck at the user interface.  I just got the Torch 9800 and I want to connect it to one of my web applications and retrieve/display information, update etc.  Specifically, I'm looking to connect to our own ticket, tracking system, so I can access ticket information, update tickets, view attachments (blackberry types supported in any case), the old tickets (executed on the server) search and display the results.  I have already addressed most of the back-end things (http, xml, persistence, file system, gps, connections message, discussions, etc.).

    Thank you

    Song

    http://goo.GL/t4TJ

    http://goo.GL/fECh

  • Customization of the user for users of the data base and without security ADF

    JDeveloper version - 11.1.1.7.0

    I want to implement personalization by the user on the database of users and without ADF security. I followed the link in storing the repository in a file system but its same showing below the user interface for all users.

    http://Sameh-Nassar.blogspot.IE/2012/03/apply-MDS-to-Oracle-ADF-application.html

    Please guide me on how to do this for users of the database. Please share any other useful links, as appropriate.

    Customization of the user (SDM) does not care the security of applications. You can also apply to the MDS in your ADF application if you use the ADF security or custom security. The main idea is the class of customization (like MyUserCC) has the method call getValue this method should return the user name. When the user login stores the user id in the session and the method getValue returns the user session ID as:

      public String[] getValue(RestrictedSession restrictedSession, MetadataObject metadataObject)
      {
        try
        {
          String user = (String)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("userId"); // userId is the session variable that store the login user id
          if(user == null)
          {
            return new String[]{""};
          }
    
          return new String[]{user};
        }
        catch (Exception e)
        {
          e.printStackTrace();
        }
        return new String[]{""};
      }
    
  • Extension of the user interface - javascript does not come to the top


    Hello

    I'm on PLM6.1.1.5 and EP 3.11. I followed the implementation of measures to extend the user interface:

    Step 1. copy the files:

    Copy the Utilities\UIExtensions\config\Core\UIExtensionScripts directory and its contents in the \config\Core < PLM4P_Home > directory

    Copy the Directory of Utilities\UIExtensions\config\Extensions\UIExtensionScripts and its content in the directory of \config\Extensions < PLM4P_Home >

    Copy the following assemblies to the SharedLibs folder of the the Pack of extensibility in the \Web\scrm\bin < PLM4P_Home >, < PLM4P_Home > \Web\gsm\bin or < PLM4P_Home > \Web\npd\bin directories:

    • PLM4PExtensionUtils.dll
    • ScriptingUtils.dll
    • UserInterfaceExtensions.dll

    Step 2: Insert the following lines in CustomPluginExtensions.xml, in the FormatPlugins section

    < name of the Plugin = "UIExtensionGSM."
    FactoryURL = "class: Oracle." Agile.PlmProcess.UserInterfaceExtensions.Java
    scriptLoaderFormatPluginFactory, UserInterfaceExtensions$ NameValuePair: FormatPluginNames = GSMSpecJavaScriptPlugin & amp; ScriptFiles=config\\Core\\UIExtensionScripts\\static\\UIExtensionsCore.js,config\\Extensions\\UIExtensionScripts\\static\\GSM_Variables.js ".
    / >

    < Plugin
    name = "GSMSpecJavaScriptPlugin" FactoryURL = "class: Oracle." Agile.PlmProcess.UserInterfaceExtensions.GSMSpecJava
    scriptFormatPluginFactory, UserInterfaceExtensions$false"/ > ".

    Step 3: update the \config\Extensions\UIExtensionScripts\UIExtensionsConfig.xml file to enable the specific extension points.

    UIExtensionGSM default has been activated.

    4:go to step < PLM4P_HOME > \config\Extensions\UIExtensionScripts\Static, has used the sample for customization 2147.js.

    None of my javascript are applied to the page. I tried simple javascript like this:

    ($(window) .load)

    function() {}

    Alert ("hello world");

    }

    );

    in 2147.js, 1004.js, 1009.js. Nothing came

    All the steps that I missed

    Thank you

    Church

    You said that by default uiextensiongsm has been activated. But I have to manually turn on UseInEditMode and UseInReadMode. Please check this.

  • Is it possible to resize the text and icons in the user interface?

    I'm on a Windows 10, 15.6 screen laptop "4 k. The menu bar along the top is sized very well, most of the time. However, all the icons and the text to actually work on fuse are too small for me to look at and click on without having a fight.

    Are there ways to manipulate the proportions of the UI? Thank you!

    Hi Brandon!  Great question!  Unfortunately for the insight we have not a scalable user interface, but it's certainly something that we will keep in mind for future releases.  Now this is resolution dependent so you need reduce the resolution setting (we've only really tested until about 2 k ~ monitors).  The user interface is pretty basic at the moment, but there are a few changes, you can do it.  Here is a link to the user guide on the user interface customizations for details - but you can change the position of the toolbars by clicking the separation Strip and you can change the width of the canvas/editor fracture by dragging on the edge of the editor Panel.

  • How to enlarge the icons in the user interface in Ps &amp; AI?

    The user interface is too small for me, unredable, is any possibility to enlarge the Panel, I mean the icons, text, windows...?

    Hi ankie873,

    It is not possible to enlarge the icons in the user interface.

    The only possible customizations are:

    http://www.photoshopforphotographers.com/pscs6/downloads/Photoshop-interface.PDF

    http://Morris-Photographics.com/Photoshop/tips/Tips-interface.HTML#panels

Maybe you are looking for