Graphical user interface

Hello

I completed the part of the functionality of a BlackBerry Connect for the mine and used only a very simple GUI since it wasn't my concern at the time.

Can someone link me to a good tutorial of GUI?

Also does anyone know any free software I can download and use to create some cool designs - add to my GUI?

Thank you

Ramy Girard

There is no ready to use tools to create a GUI for the blackberry.

more advanced library for gui type is

http://supportforums.BlackBerry.com/T5/Java-development/implement-advanced-buttons-fields-and-manage...

Tags: BlackBerry Developers

Similar Questions

  • Graphical user interface does not display properly

    Basically I upgraded my windows build 10 to 10122 yesterday. When I launched Firefox, MISTLETOE is totally screwed and makes Firefox unusable on my machine. This seems to be the specific machine as on a computer that is running the same build 10 windows, there is no problem.

    Please see screenshot. Can someone help me solve this problem? What is the cause?

    You can attach a screenshot?

    • Use a type of compressed as PNG or JPG image to save the screenshot
    • Make sure you do not exceed the maximum size of 1 MB

    You can try to disable hardware acceleration in Firefox.

    • Tools > Options > advanced > General > Browsing: "use hardware acceleration when available.

    You will need to close and restart Firefox after enabling/disabling this setting.

  • Control the layout in a dynamic graphical user interface

    I have a main panel using BorderLayout with two sub-panels, a control panel to the North, and a billboard in the centre. The control panel contains a set of controls, and this set of orders grows and shrinks dynamically when the user interacts with the application.

    I have this stated control panel using FlowLayout. My problem is that when the set of controls is too long to fit on one line, the next control to add never appears, because the Panel does not grow to two lines. I like control panel to develop at the expense of the main display panel in the Center (and shrink again when controls are removed so that the rest fit again in one line).

    Essentially, the behavior I want is analogous to how JTabbedPane: it adds and removes tabs in a JTabbedPane, the tab region shrinks and grows dynamically.

    Of course, there is an extra step that I have to run every time that I add or remove a control, to force the various layout managers to do their work. I tried various combininations to invalidate and revalidation of the Control Panel, the main panel and so on, but I have nothing seems to have the desired effect.

    Thanks for your suggestions.

    The code that I provided was really useful? So, what is your final solution? I'm sure that others in the forum would like to see your solution.

    If the answer to the question marks, he said. You don't want to ask another question and that people trying to answer.

  • The User Interface browser missing

    Hello

    I'm sorry, but the coffee crisis seems to persist...

    While working on the interface graphical user Interface browser, located to the right of the user interface, disappeared. Because the GUI is larger than the window and I need to scroll horizontally to evaluate the right-hand side of it, I didn't know this fact immediately. Therefore, I don't know what it was, I did it to make the browser UI disappear. Navigation assistance, I found no hint of how to show/hide the browser, so I guess it should always be there...

    I checked: the user interface editor is limited. I also tried to release and re - lock all windows, without effect.

    Thank you

    Wolfgang

    good news: the browser of the user interface is still there, but almost as shy than me: he was pressed to the right border, see the illustration below. So with one hand, I could see he...

    Excuse me for interrupting.

  • custom user interface will not close

    Hello

    I have created a custom UI TS, based on the graphic interface delivered simple TS. When I close the user interface, the process remains in the list of windows processes, I can put an end from the windows Task Manager. This only happens if the adapter of LabVIEW is set to Run-Tiime engine. If I select the LabVIEW development system, the GUI will be entirely closed.

    TestStand 2014 32 bit

    LabVIEW 2014 32 bit

    Windows 7 Enterprise 64-bit

    any idea?

    Hi Madottati,

    the first thing that comes to mind is to close the process programmatically as you do in LV, when you build an executable file. An example how to do this is shown here:

    Work with the TestStand Simple User Interface - (2013 and previous TestStand) LabVIEW - National Instruments
    http://www.NI.com/white-paper/14376/en/

    you want to look at the section 'shutting down '.

    I hope this helps!

  • HP DM1z clean install... no user interface by pressing the level of brightness or audio screen?

    Hello.. can someone help me?

    im doing a clean install with windows 7 ultimate

    then download all the software and drivers on the hp support site

    always when you press screen brightness, there is no user interface that shows the percentage of screen...

    and in my device manager, there was still 1 unknow device...

    Thanks in advance

    Hello

    If you want to see graphics on the screen, you will need to download and install MediaSmart SmartMenu here (version 3.1.2.2 for 32/64-bit Win7).

    Before you do that you must have installed at least one application of the MediaSmart software package. The best choice will be in my opinion:

    MediaSmart DVD here (version 4.1.4328 for 32/64-bit Win7)

    Above solution may have a fault. When you will be setting the volume for example while playing games or videos online then active window can be inappropriate to display visual effects. If this can be annoying you then uninstall system MediaSmart software and use another product that is:

    3VRX here (version 2.5 for 32/64-bit Win7)

    Note:

    Here is YouTube video that shows what can be done with the 3VRX software.

  • finish by updating the user interface...

    IM create screen with pagination... Load button to add more data, it is normal on os 6 and 7 os... but in the os 5 process completed... I haved create to update the user interface of the thread to invoke later...
    This is my code to call later:

    UiApplication.getUiApplication().invokeLater(
                                    new Runnable() {
                                        public void run() {
                                            // delete(hfmLoad);
                                            for (int i = 0; i < comp.length(); i++) {
                                                lowerScreen.add(list[i]);
                                                HorizontalFieldManager hfmBut = new HorizontalFieldManager(
                                                        Field.FIELD_RIGHT);
                                                hfmBut.setMargin(0, 5, 0, 0);
    
                                                hfmBut.add(but1[i]);
                                                lowerScreen.add(hfmBut);
    
                                                spasi = new SeparatorField() {
                                                    protected void paint(Graphics g) {
                                                        g.setColor(Color.GRAY);
                                                        int currentStipple = g
                                                                .getStipple();
    
                                                        try {
                                                            g
                                                                    .setStipple(0xAAAAAAAA); // Dotted
    
                                                            super.paint(g);
    
                                                        } finally {
    
                                                            g
                                                                    .setStipple(currentStipple);
                                                        }
                                                    }
                                                };
                                                spasi.setMargin(0, 5, 5, 5);
                                                lowerScreen.add(spasi);
                                                invalidate();
                                                //lowerScreen.add(new LabelField("Semangat",Field.FOCUSABLE));
                                            }
    
                                            hfmLoad
                                            .replace(_ourAnimation2, loadBut);
                                            invalidate();
    
                                        }
    

    any solution?

    None of the invalidate() method calls are needed in this code.

    For efficiency rather than to add the field individually, I recommend that you use the addAll method.  In your loop, create an array of fields to add, and then use addAll to add table.

    If you do these two things I think that your problem will be solved.

    But if not, can you please tell us exactly what are the messages you see when the process is complete.

  • 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.

  • 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.

  • Confused about the bar mentioned in user interface designs

    I was reviewing the instructions for user interface design, and he mentions a menu bar:

    "Use a menu bar to move user interface components off the screen.
    The application menu can include primary or secondary
    The menu when you drag from the top of the screen.

    The menu bar is built in? Or it simply means, I can create an and show it when the 'swipe_start' event fires?

    What does primary and secondary? This means main and submenus?

    If there is a menu built in, how I add to it? If I created one, what would be the best approach to design? I saw a QNX class for menus. How the menu disappear? Would it not as simple as when something is clicked?

    If the best way to get the menu bar to slide downwards to activate it? It is implying that the menu bar is the Menu bar main application and dialog boxes in the frame actions app to be managed by popups, buttons etc and do not use a menu bar always visible because it uses valuable screen realestate.

    I understand that these are guidelines, there are always exceptions to the rule. I just want an idea on best practices.

    Keith

    Hey kmitchell,.

    You basically answered most of your questions, but not confirm them

    The menu bar from what I've seen so far in the docs is not built in, and you will need to create one on your own by using the SWIPE_START event. Primary and secondary actually seems to be what you call main and submenus. What I thought of him, it was maybe a menu that looks the same every time by sweeping u down and has basic functions or if something happens in the application and slide you down the menu reflects the events of what is happening. in regards to how it should look like, there is a video of a demo that was presented at the adobe max Conference where he shows a demo of the camera app to help slip it in the menu dropdown. Here is the link. go to the last 13:45 video to see the demo:

    http://2010.Max.Adobe.com/online/2010/MAX260_1288217641375UQJD

    the menu design would be that it would disappear as soon as you click an option. its really what you want it to be. I don't think that there is no specificity.

    and Internet broadcasting its been said that they do not like to see sort of a title from the menu bar. now, I agree and disagree with this statement, but maybe im just not used to slide down menu type event. so ill see where this goes.

    also, here is a code harrydodgson and I worked on regarding the menu and the SWIPE_START event:

    SwipeDownTest.as (main Application file)

    package
    {
        import caurina.transitions.Tweener;
    
        import flash.display.Sprite;
        import flash.display.StageAlign;
        import flash.display.StageScaleMode;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.ui.Mouse;
    
        import qnx.events.QNXApplicationEvent;
        import qnx.system.QNXApplication;
    
        // The following metadata specifies the size and properties of the canvas that
        // this application should occupy on the BlackBerry PlayBook screen.
        [SWF(width="1024", height="600", backgroundColor="#F4F4F4", frameRate="30")]
        public class SwipeDownTest extends Sprite
        {
            private var ui:UI;
            private var swiping:Boolean;
    
            public function SwipeDownTest()
            {
                stage.align = StageAlign.TOP_LEFT;
                stage.scaleMode = StageScaleMode.NO_SCALE;
    
                ui = new UI();
    
                addChild(ui);
    
                QNXApplication.qnxApplication.addEventListener(QNXApplicationEvent.SWIPE_START, onSwipeStart);
            }
    
            private function onSwipeStart( e:QNXApplicationEvent ):void
            {
                swiping = true;
                addEventListener( Event.ENTER_FRAME, trackMouse );
                stage.addEventListener( MouseEvent.MOUSE_UP, mouseUp );
            }
    
            private function trackMouse( e:Event ):void
            {
                var pos:int = stage.mouseY;
    
                if (pos > 123) pos = 123;
                if (pos < 0) pos = 0;
    
                ui.y = pos;
            }
    
            private function mouseUp( e:MouseEvent ):void
            {
                if (!swiping)
                {
                    Tweener.addTween(ui, {y: 0, time: .3, transition: "linear"});
                }
    
                removeEventListener( Event.ENTER_FRAME, trackMouse );
     
                swiping = !swiping;
            }
        }
    }
    

    UI.as (File menu)

    package
    {
        import flash.display.Shape;
        import flash.display.Sprite;
    
        public class UI extends Sprite
        {
            private var sectionOne:Shape;
            private var sectionTwo:Shape;
    
            public function UI()
            {
                //set it up with two sections
    
                sectionOne = new Shape();
                sectionOne.graphics.beginFill(0x333333, 1);
                sectionOne.graphics.drawRect(0,-123,1024,123);
                sectionOne.graphics.endFill();
    
                sectionTwo = new Shape();
                sectionTwo.graphics.beginFill(0x666666, 1);
                sectionTwo.graphics.drawRect(0,0,1024,600);
                sectionTwo.graphics.endFill();
    
                addChild(sectionOne);
                addChild(sectionTwo);
    
            }
        }
    }
    

    hope that answered most of your questions. Good luck!

  • Hi guys: how to screen the wired mobile user interface

    Hi guys, I have a few developers make an app for me and he told me that he needs the wire for the screens of the user interface. However I'm not completely sure what it means. I'm a graphic designer for the good part of 3 years, but I'm not aware on the wired models? Could someone help?

    Hey there trewdesigner101!

    A wire is almost like a "draft" of how your application will be designed and what will be the interaction between the 'pages '. There are tons of programs to help you get the job done. I would recommend Illustrator (if there just need to be a design) or Muse (if you want to build a 'live' model). Adobe actually launches a mobile application that will create beautiful diagrams called 'Project COMET' - user experience, prototyping and design app | Adobe project Comet but he's not alive.

    I would like to know if I can help with anything else!

    See you soon

    -Kathleen

  • Type the size of the user interface

    It's almost the end of 2015 - y at - it a solution to the ridiculously small UI in the CS6 / CC products?  I use Illustrator and PS a lot, and the size does not work.

    I have 20/10 vision, do not wear sunglasses.  I just upgraded to dual Dell UltraSharp U2515H 25 "monitors with a native resolution of 2560 x 1440.  The user interface in CS6 products is almost unusable and I can't find any way to change that.  I see the forums full of this problem since at least 2013 and probably before.

    Adobe, fix this.  There are alternative package graphics and I'm not locked in your products.

    Ideas of pragmatic community or solutions would be welcome - don't waste all the time will tell how it works fine for you, or preaching us on how we should just use Adobe products as they are.

    This is a problem, it's true, and I'm not alone in this observation (notice I didn't say "notice").

    Thank you.

    I have everything set to CC (2015), and it seems now the user interface option is available in both I and PS

    As much by the support of the HiDPI, it will now be on the same scale scale level because the OS (Win 7 x 64 in my case) - 100, 150, 200%.

    Looks now much better and more usable.

    BTW - I hate the interface for the new DC Acrobat - I'll be restoring the Pro XI.

    Thanks for responding.

  • Determine the maximum use of the processor for a virtual computer in the custom user interface

    I want to determine the maximum use of the processor for a virtual computer in the custom user interface.  How can I do this?

    If I use a supermetric, there is no kind of attribute under CPU called "maximum use.

    Certainly, you get points for a long question! Although to be fair, it's probably my fault to feed you so much information to digest at once.

    1. I would say you can do two ways visually. Use the operations > detail view for 'normal ranges' use the upper limit of the normal range as your typical max. You want an absolute peak, add the metric of a graph or observe that highlight high and low watermarks.

    2. There are a lot of ways to display data, but if you want to display a single metric over a period of time, we could use the following widgets [on top of my head]:

    Top - N analysis

    Weather map

    Analysis of distribution of data

    Among these, I think of your desire for a "peak". Who you want real value, which eliminates the weather map. Then, I think that the concept of a 'Summit' and what is the best thing, I think that the 95th percentile... then I came with the widget of data distribution. The decision is ultimately yours given your particular use case.

    3. you can have it apply to several virtual machines - it's just a widget capable of being an independent provider or receiving widget (metrics, DO NOT choose to select resources). Each resource/metric will add to the widget and you can remove them if you like after it is added. You can certainly all the time you visit... It is date and time standard options you have in all the other widgets chart. With the widget data distribution, you want as much time as possible to get an accurate histogram of the cycles of workload.

    4. This is similar to the question above. You can certainly add parameters of individual resource or a DM that summarizes or AVG groups of resources. And as above, the delay is configurable, along with the other graph widgets.

    5. it's part of Q4 - you can sumN or avgN up to any number of resources with a SM, then discovers that SM in the widget of data distribution. When I said container, I mean an application, group resource pool... all that acts as a container parent within the vCOps.

    6. that's correct, SMs calc using data collected last points... aka single period of time. When you are referring to the longest period, I gave you a few examples of the attributes that are composed of several periods of time which are calculated and created by the adapter for VMware vCenter behvaior. In this case, you have the GVA 15 min CPU 1.5; These specific simple mobile GVA can be specific OR a copy using SMs. Next, you will have the chance is to find a way to distribute what you need through a widget [at that time].

    7. the distribution of data is not for export, it is for Visual functions. If you want the data in CSV, just use a typical chart of metrics and export to a csv and calc your own pics, avg, 95th, whatever.

    8. This is a bit of a mix of all your questions, put in place.

    You are right, if you added those 3 VMs, then calc was the 95th of the AVG. Like Q7, you would not export the data of the distribution of data because the raw data points are not - you do not pass the metric to a metric graphics standard and export via csv.

    Take advantage of...

  • How to navigate through all of the links in the links Panel in the user interface?

    Hello world

    I wonder how I can browse all the links in the links Panel, programmatically. I have a document where the resources present in this Panel are not available using the ILinkManager. He tells me there are no links in the document when using ILinkManager-> GetLinkCount().

    These resources are not more related to any element on the page. These are images which are not more related to what it is. Right-click on it and click on 'join the link' shows nothing in the document (the same operation on a resource that is linked to a graphic image focuses on it). I can manually re-edit the link, but nothing more.

    In the user interface, there is no way to delete (not menu 'remove' or whatever).

    I think I "created" them as follows: during the creation of the story, the story is tagged. Then I attach a picture frame and label it in the history. Then I remove the frame (s) containing the history, so that its history xml is "not placed" (see kXMLUnplaceCmdBoss). At this time (if I'm not mistaken), I created these inaccessible resources. I see the xml story unplaced in the structure of the document that remains not placed XML (in the backup store) and resources in the links Panel.

    History unplaced XML CAN be removed manually, but not these inaccessible resources. However, there must be a way, as InDesign can display them.

    How to reach these 'lost' resources and delete them, by programming?

    Independent of your real problem, I would first try the equivalent in the user interface.

    Preparation:

    To simplify things and make them visible, working on a traditional tale - not the backup store.

    The story should be labeled and will remain so.

    Add content as complicated as you want.

    Some content preceding and behind it must survive.

    Your content must be labeled - surrounded by a single label.

    Text-Select this unique tag (see the invisible etc for the right selection).

    Remove the text selection.

    See: Tags are gone, content text disappeared, the images have disappeared.

    Now find a way to perform this deletion text programmatically. Without specific code XML - operation but a simple text, InDesign will do the rest.

    Finally, use the code that results on the backup store.

  • Lost the user interface in Premiere Pro?

    A few weeks ago I signed up for creative cloud. I started using the first Pro CC. I knew that I couldn't take advantage of the Mercury engine because I have ATI Radeon HD 4870 512 MB. I was still able to edit and work. Today I went to send timeline to grade speed and it took forever to export, finally to halfway to send it, I gave up and revived Premiere Pro. When the first opened my UI had disappeared. Drop-down menus have all their but disappeared from the user interface. If I went in create new title, I could see that window, but the chronology, garbage, source and windows Records were not visible. I know that the sequence is always there because if I hit the space bar the sequence plays through my Kona card. I closed the first and I got a pop up menu Nvidia Cuda ask my update of drivers. It's strange because I have a card ATI not a Nvidia card. If I open all the other apps After Effects or Photoshop, all of the user interface is here. What gives?

    My specs: CPU 2 x 2.26 GHz Quad - Core Intel Xeon,.

    12 GB 1066 MHz DDR3 ECC memory.

    ATI Radeon HD 4870 512 MB graphics card

    AJA Kona IO Card

    Ann Merci for the info, Ann. However I realized that it was just that the interface was dragged all the way upward under the white bar that says first projects.

    When I saw the arrow pointing down I realized that I had to just drag the interface down. Simple mistake. Thanks again.

    Patch

Maybe you are looking for

  • How can I increase the size of the thumbnails

    When wrote my newsletter and would like to insert a photo, thumbnails of the Photos are too small. How to increase or change the size. Previously, in iPhoto I could do this by making the usual movement of two diagonal fingers. Now, I was unable to fi

  • Unable to print on letter paper, but allows to print on legal paper

    Original title - printing PROBLEM MY PRINTER WILL NOT PRINT ON LETTER PAPER I MISS THE BOTTOM OF THE PAGE IF I PUT IT IN THE LEGAL DOCUMENT WILL PRINT THE ENTIRE PAGE [Moved from comments]

  • GetAdaptersAddresses undeclared identifier

    Hi, I have a problem, call a Windows API GetAdaptersAddresses function in LabWindows/CVI 8.5.  I get a "identifier undeclared PIP_ADAPTER_ADDRESSES" compiler error even if I understood the winsock2.h and iphlpapi.h.  After reading the internet, it se

  • Problems finding my display drivers correct t520 (4246).

    Will have questions find my correct t520 display drivers (4246)... The best I found was Intel graphics 3000... It doesn't have a nvidia card Note from Moderator: Edition subject to the content of the game.

  • No bookmarks!

    A player of audiobook with no bookmark functionality is of no use to me. Is it not obvious that it is a major disadvantage of having to search for whenever you go to your place in a book? My rocket + is going back to bestbuy.