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!

Tags: BlackBerry Developers

Similar Questions

  • The Web of LabVIEW user interface directly to the sensor with Ethernet connection

    Hello

    Is it possible to connect to the interface user Web of LabVIEW directly to a sensor with Ethernet connection?

    By directly, I mean without using any Web Service LabVIEW VI.

    Thank you

    Marcelo

    Hello

    The only communication with other devices using the Web user interface designer is through web services, either motorized or not LabVIEW. To connect with a sensor with the generator of the user Web interface without using LabVIEW, the sensing device must be accessible via HTTP and give you a way to read its data using XML web services based on.

  • VIX file in the user interface designer receives the data from the Web service application that communicates with the SQL server database

    I created the Web service VI ("Mt-insolacije.vi"), which has two terminals of the input string (FROM / TO) for the dates of arrival and exit of two data terminals (table 1 d) from database (MS SQL server). This VI communicates with the database with functions of the database with a DSN and SQL query appropriate palette. There are two tables with two data (time and Insolation) columns in the database.

    This VI works when you run in Labview 2010, but when I used it as VI in UI Builder it returns no data.

    Could you please help me find a solution. Is it possible to communicate with the SQL server database in this way or there is another way?

    There are two files attachmet: Image of .vix file in Interface builder and .vi file ("Mt-insolacije.vi")

    Please help me ASAP!

    Thank you

    Ivan

    I found the solution problem is in the DSN. I've been using the user instead of DSN system DSN.

    It's important to create the system DSN if you want your VI of web service to communicate with the database.

    PS Please put feature bundle format timestamp and XY graph in the web user interface designer. It's complicated to trace data with datetime on X axis without them.

  • Confused about the notion of VLAN

    I'm confused about the VLAN. I thought that the notion of VLAN was this computer on different VLANS were not suppose to be able to communicate with each other. I am setting up a 6248 and for me to get DHCP to work, I need to enable ip Routing. When I turn the routing ip, all computers on different VLANS are able to ping each other. Is - it the way it was suppose to work, or am I missing something?
    MGMT is on vlan 4093
    DHCP is on VLAN 100 trunk e34 10.10.1.1
    Host 1 is on VLAN 200 trunk e34 10.10.2.1
    Host 2 is on VLAN 300 trunk e34 10.10.3.1
    active IP routing

  • Confusion about the size of the array in Oracle 11 g

    There is confusion about the size of a table. When exporting schema 'CRESTELWOMPRD601', the log file shows:

    _____________________________________________________________________________________

    . . exported "CRESTELWOMPRD601." "' TBLRSUBSCRIBERFIELDWORK ' lines of 12.62 GB 35568

    ____________________________________________________________________________________

    which may involve the size of the TBLRSUBSCRIBERFIELDWORK table is 12.62 GB.

    But when I find the size of the table using the query:

    SELECT nom_segment, BYTES / 1024 / 1024 "SIZE (MB)" FROM dba_segments where owner = 'CRESTELWOMPRD601' and nom_segment = 'TBLRSUBSCRIBERFIELDWORK. '

    He said that the size is only 9 MB for the TBLRSUBSCRIBERFIELDWORK table.

    I hope that my request is clear that there is no clarity on the size of the TBLRSUBSCRIBERFIELDWORK table.

    Please get back with the answer to my query


    Concerning

    Dba_segments indicates the space allocated to the segment while expdp indicates the size of the exported data, so if you had a table with a measure of 1 MB, but no data, dba_segments would 1 MB and expdp would report 0 bytes.

    John

  • Hi, I'm Vero. I am a student. I want to download install Oracle Applications R12. I am very confused about the installation

    Hi, I'm Vero. I am a student. I want to download install Oracle Applications R12. I am very confused about the installation. I learned to know to install Oracle R12 apps, you have to install VM Box for Oracle Linux OS.
    I'll be very grateful, if someone can provide the documentation for installing the software. (Please complete documentation)

    Thank you and best regards,
    Isabelle

    Hello Vero,

    You can find information on documentation of the product for Oracle VM and Oracle VM templates on the following link:

    http://www.Oracle.com/technetwork/documentation/VM-096300.html

    You can find more information about Oracle VM on the following knowledge article, let me know if you have access to My Oracle support.

    Model of machine virtual of Oracle for Oracle Siebel CRM - Quick Start Guide (Doc ID 951872.1)

    Best regards

    Chetan

  • Confused about the extension of the Sprite class

    Howdy-

    I learn programming with object oriented ActionScript and am confused about the class Sprite and OO in general.

    My understanding is that the Sprite class allows you to group a set of objects that you can manipulate all the objects at the same time.

    I explored the Open Flash Chart code and note that the main class extends the Sprite class:

    Base/public class extends Sprite {}

    What this lets you do?

    Also, on a related note, how to draw, say, a line once I extended?

    Without extend Sprite I could write:

    var graphContainer:Sprite = new Sprite();

    var newLine:Graphics = graphContainer.graphics;

    ...

    And it works very well. Once I have extend the Sprite class, I'm lost. How can I modify this code so that it still draws a line? I tried:

    var newLine:Graphics = this.graphics;

    My understanding is that since I extend the Sprite class, I should still be able to call its method chart (or property? I have no idea). But, he screams at me, saying "1046: Type was not found or is not a constant of compilation: graphs.»

    A number of things.

    First of all, I would not use this approach in your table constructor. Setting the width and height only makes sense if you adjust the width and height of the existing content, and the table (Sprite) does not at this time here. If you want to give the table a 'size', you could do it like this:

    public function Chart (width: Number, height: Number) {}
    This.Width = width;
    This.Height = height;
    put in a background invisible to this size:
    this.graphics.beginFill (0,0);
    this.graphics.drawRect (0,0,width,height);
    }

    There are other ways, including putting in a form or a Sprite of child as a child for the background so that clear will not erase the background of the chart. This way you could have properties for the background in your table class and update the background as a child DisplayObject instance... a few ideas to think to...

    Then, after that, your chart should be functional...

    Then back in your scenario, you could do this:

    import graphics. Table;

    Stop()

    var myNewChart:Chart = new Chart (300,200)
    myNewChart.render ();
    addChild (myNewChart)

  • How to return to the previous top IDE user interface?

    This is probably the issue of the dunderhead of the day, but let's go anyway.

    I am running Apex 5.0.0.00.31 on my PC.  I've accessed the IDE of the Apex on my server hosted for the first time in a few months.  Version is 5.0.1.00.06.  Wow!  The development environment is completely different.  I don't have time to learn a new user interface at this time.  How do I return to the look-and-feel from my PC to the server (at least temporarily).

    Thank you

    Kim

    P.S. Here's screenshots of both versions.

    5.0.0.00.31

    Apex IDE Before.JPG

    5.0.1.00.06

    Apex IDE Current.JPG

    Kim2012 wrote:

    This is probably the issue of the dunderhead of the day, but let's go anyway.

    I am running Apex 5.0.0.00.31 on my PC.  I've accessed the IDE of the Apex on my server hosted for the first time in a few months.  The version is 5.0.1.00.06.  Wow!  The development environment is completely different.  I don't have time to learn a new user interface at this time.  How can I return to the look-and-feel from my PC to the server (at least temporarily).

    Use the view of the component button to switch out of the very confusing Page Designer view.

  • bean, containing the business logic and user interface components

    Hello experts design ADF, please guide me.   I came across a critical design aspects.  I have the homepage with a lot of UI, region 1, region 2 components. I bind the components of the user interface of the page at a session scope managed bean and is the reason why, when control passes to the region 1 or region 2, I'm going to do a lot of processing logic and then on that basis, I have to update the page user interface components.   Same thing with region 2 also.  And then I should be able to access the information in all regions and also through other components of interface user etc.

    I see only the scope session bean can help me here to get my tasks in all regions and in all the other components of the interface user to the page because I'm not able to spend too many parameters in all regions.     Now the problem is, I can't serialize this bean because as I've mentioned a lot of user interface components are updated based on logic.

    If I do not serialize the bean, I might have a problem in the future when the application must be deployed to the cluster envt.

    I don't know how can I go with my design now.   Please give me ideas, brilliant and very grateful for your advice.

    Thank you

    Hello

    I did not follow the entire thread, but this last message, I can tell that you are not using ADF how it should be used. So let me address two issues

    1. I use data controls generated on methods of bean managed my areas (workflow).

    If you create a POJO data control that you configured as controlled beans then this will be two instances (separated) from the same Java class. This means that they do not share anything. The only option to share state between a managed bean and a data control is if you would have the data dynamically control bean up the bean managed using the language of Expression of the 8which then however creates a dependency between the DC and the bean - however, there are use cases like that)

    2 activation / deactivation of the buttons in the parent view of a region

    This can be done using bean-injection, which is a bean managed in extended view defined on the parent view that you pass as parameter for the workflow. See: http://www.oracle.com/technetwork/issue-archive/2013/13-may/o33adf-1920483.html

    As said, I haven't read the entire thread, but want to point out that there is enough information in writing (product documentation) and video (Insider ADF - who teach the development of SFM practices http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfinsider-093342.html take the time to review this)

    Frank

  • Confused about the new creative cloud

    Hi all

    Since I read adout the new creative cloud I'm confused about what will happen to my license for Adobe Lightroom. Will they remain still desktop apps as well or I have to pay for an annual license, if I want to use new versions of Lightroom?

    I am a casual photographer and I like to use Lighroom for my photos, but I don't think that pay for an annual license because I'm not spending a lot of time, image-editing.

    Can someone clarify this for me?

    Thank you very much

    Lucian

    5 Lightroom does not have subscription only, you're fine. There is no sign that it will even happen in the foreseeable future either.  It's just the ex-Creative-Suite that all talk.

    Target market of Lightroom is different from the Creative Suite/Cloud. CC is a good deal for the majority of its base of users (next door), while the majority signed without major complaints.  Lightroom has a huge customer base amateur, and they would be much more difficult to convince us to go subscription only. They would be likely to lose most of customers of Lightroom at the moment, and they are not completely stupid.

  • Confused about the capacity of the HARD drive on my new Equium L350

    I'm rather confused (normal state) about the capacity of my hard disk. This is supposed to be 120 GB but... On 'My computer', it shows that I have 23 GB of 55.7 left GB on Vista C and 49.8 54.5 on E of data that is delivered to about 110 GB.

    I'm already about 10 GB missing but maybe that is taken up with hidden files. More worrying is that I have so little space on Vista C. Can I save files on the data partition, or is that a no-no? So far, everything I've loaded on it goes into Vista C.
    Any help would be appreciated.
    Thank you

    I agree with InvaderZim.

    But there should also be another reason why the two partitions of HARD drive are smaller than the whole HARD disk.

    I assume you are using the Vista operating system.
    Vista uses hidden for some files from recovery partition.
    If you check the Disk Manager, and you should see all available on your HARD disk partitions.

    See you soon

  • Anyway is to clear all the elements of native user interface of BB?

    Hello

    As far as I know, we can get the android user interface elements by sending a "DUMP" command to port 4399 (http://blog.csdn.net/roger_ge/archive/2010/04/28/5538266.aspx), is it possible to similor to BB?

    Thank you!

    None

  • is there anyone knows the equivalent of the swing component blackberry user interface?

    Hello

    I just need to know blackberry equivalent of the user interface of the swing components.

    y at - it someone who knows it.

    There is also no equivalent ImageObserver.

    Many times if I do a port that has this I have just remove because the initial goal is almost always to notify the caller when the image is done drawing/be converted (format from one image to another, etc.).

    On BlackBerry, there are a total of 3 types (Image, image Bitmap, EncodedImage) the image and can relatively easily be passed from one to the other quickly so that eliminates one of the uses and the drawing is very fast or throws an error if it cannot be traced so that eliminates the use of the second.

    So it is not necessary (at least in my opinion).

  • Windows 8 Pro includes the MLUI (multi-Language User Interface), as Windows 7 Ultimate?

    I find this feature very useful and I was wondering if it is also available in Windows 8 or Windows 8 Pro.

    Indigo salvation,

    The ability to install the Multilingual User Interface is available for all editions of Windows 8.

    "For Windows 8, we redesigned the experience of display language, focusing on the additional input displays the languages available to all Windows users, which makes them super easy to find and install and allowing users to switch between them."

    Take a look the MSDN Blog for more information:
    With the help of the language you want

    Thank you!

  • Confusion about the requirements for the 2015 CC software

    I currently have Windows 8.0 (64 bit) which is so satisfactory and stable.  I have not upgraded to 8.1 Windows because I can't install same normal updates for Windows 8.0 without experiencing freezes system that only restore points can heal.  So for now, I would stick with what I have.  But the problem is the confusing requirements for various programs within the pile of creative cloud applications:

    Premiere Pro: Microsoft Windows 7 Service Pack 1 (64-bit) or Windows 8 (64-bit)
    Photoshop: Microsoft Windows 7 with Service Pack 1 or Windows 8.1

    Illustrator: Microsoft Windows 7 with Service Pack 1, Windows 8 or 8.1 Windows

    Dreamweaver: Microsoft Windows 7, Windows 8 or 8.1 Windows

    Hearing: Microsoft® Windows® 7 with Service Pack 1 (64-bit), Windows 8 (64-bit) or Windows 8.1 (64-bit)

    So what I'm confused about is the fact that Windows 8.0 is not listed for Photoshop, but Windows 7 and Windows 8.1 are.  Does this mean Photoshop CC 2015 is not compatible with Windows 8?  And that means that Premiere Pro is not compatible with Windows 8.1 since only 7.0 (SP1) and 8.0 are listed, I would have preferred the upgrade of software CC WITHOUT update Windows since I am picky on my installation of Windows 8 stable pipes now solid as a rock.  Fortunately, Illustrator, Dreamweaver, and hearing are compatible with all three, it seems.

    Can someone clear up the confusion, please?

    I think that my hardware is OK for this.

    Motherboard: Asus Crosshair Formula V-Z (AMD 990FX)

    CPU: AMD FX-6300 Vichera 3.5 GHz

    Memory: 16GB Kingston HyperX DDR3 2133 MHz

    Video: MSI N650-MD1GD5/OC GeForce 650MX

    Monitor: Acer S271HL of 27 "(1920 x 1080)"

    Power supply: Seasonic X-Series 1050W (SS-1050XM Active PFC F3)

    HDD1: Western Digital 320 GB (System)

    HDD2: Seagate SV35 Series (ST1000VX000 1 TB 7200 RPM 64 GB OEM)

    VidCap: Blackmagic intensity Pro HDMI

    USB hub: Rosewill RDCR-11005 5.25 "

    UPS: APC Back-UPS XS 1500

    Router: Netgear WNDR3700 N600

    System is NOT overclocked

    It is compatible but not tested.

Maybe you are looking for