Number of user interface

Hi all! I'm developing an application where there is a bar on top, it has a few buttons and must always be present in all screens.

I develop my user interface entirely in the PRC, is there something like a custom control that I can use RPC?

Yep, sounds to me like the OP is perhaps trying to reproduce the provision of an Android version of their Putting buttons approx. above as this is a violation of user BB10 interface instructions and is strongly discouraged. If nothing else, it would make the application built for BlackBerry certification from the outset.

PBernhardt wrote:

Why do you think these buttons on the top? In general, the buttons in BlackBerry should be in action on the bottom bar, to make it easy to do what they gave.

Tags: BlackBerry Developers

Similar Questions

  • [Help] Number of user interface

    Hi all

    Please help me to solve my problem.

    I want to display a text field and a button on a single screen. Once the text field is completed and the button is clicked, it should display a result. The result should be displayed on the screen but the textfield and button in the first screen should not be displayed again.

    In my State, the result is displayed and if the textfield and button. I confused, I should do it in two screen or what?

    Thanks for help.

    Ok.. You have a MainScreen (mainScreen) in which the following fields are added

    * entryTextField

    * entryButton

    A button you add the resultTextField to the screen to help

    mainScreen.add (resultTextField)

    or simply

    Add (resultTextField)

    Use method before the method add() remove...

    Delete (entryTextField)

    Delete (entryButton)

    See you soon...

    Edit: Is in edit mode, when validating BBDeveloper... deleteRange is also a good idea...

  • Is there a way to change the number of Sockets of Test, the User Interface of CVI?

    I would like to have the number of sockets in an INI file, the User Interface would be read the value of the file and set the number of Sockets of Test.  I know that it is possible by adding a callback sequence, ModelOptions, to my files in sequence and by changing the setting.  How would you do it in the UI?

    You might have the user interface to read and edit the reportoptions config file as the process template (see the source code for modelsupport2.dll in \Components\Models\TestStandModels). But why do you need UI to do this? Why not simply substitute the recall of ModelOptions and he do there?

    -Doug

  • Web pages and user interface display too small in Firefox 20.0.1 (but fine in IE and Chrome) - how can I fix?

    On my Dell Inspiron 7720, running Windows 8 64-bit, Chrome and IE display web pages in their correct format immediately after their installation, but Firefox 20.0.1 displays too little (and the user interface of FF is too small as well).

    I went on all kinds of things, it might be and know I can install an add-on to enlarge pages at least, but I really want to get FF displaying correctly of course.

    I use my native resolution 1920 x 1080 - laptop and have to display Windows set up for display at 150% - % of Windows display development does not affect display FF.

    Can someone tell me please how to get FF displaying correctly (without an add-on.)

    Help appreciated,
    US5

    Thanks for your help cor - el.

    I just installed NoSquint and it works perfectly for the web; pages. Then, I found a theme with bigger icons in "complete themes" - there are a number of them.

    Guess I expected to understand why only FF was smaller, (not just solve the problem) - However, the setting is very nice-thanks!

  • How to get an array of integers to user in the User Interface

    Hi all. I'm not a very experienced user of the CVI. I have almost exclusively coding in LabVIEW but have a client who wants all of their work in the CVI.

    I've been very fruitful so far (set up a Modbus API from scratch that supports all types of connection) but am confused on how I can get the integer multiples of the user without limiting the number of integers I can get. Essentially, I need to be able to get an array of integers to the user.

    General information, I am building a user interface to test my Modbus API. There are Modbus functions to 'Write multiple registers' and 'write multiple coils. I want the user to be able to enter all the values they want to write in one command.

    What is the best way to get an array of integers through the user interface?

    The easiest way is probably to allow user input in a textbox control numbers: items can be separated by spaces, commas, or even a line break (using ctrl + Enter). You will then need to extract the string from the TextBox and analyzed for numeric values using any non-digit character as a separator: strspn (string, '0123456789'); can be used for this.

    More complex, another possibility is to use a table control to receive user input: you Dresses an empty table with a reasonable number of roews, or you need some codes to add new lines as long as the user fills all those already existing. On the other hand, it will be easier since data recovery in a simple statement, you will all return values: GetTableCellRangeVals (panelHandle, PANEL_TABLE, VAL_TABLE_COLUMN_RANGE (1), table, VAL_COLUMN_MAJOR);

  • Launch by programming a sequence file don't switch for execution in the user interface

    TestStand 4.2

    LabVIEW 2009

    Windows Vista Business 32-bit

    My movie file uses a SequenceFileLoad reminder to start his own execution automatically by using the entry point TestUUTs. This is accomplished by calling the Engine.NewExecution method. The problem I have is that my custom LabVIEW user interface does not switch to the view of execution when execution begins. If I manually start the execution using the TestUUTs key, the point of view of execution is displayed.

    In my interface user, changing the display of the sequence at the sight of the execution is done in the event callback, DisplayExecution, and the StartExecution event reminder. I also tried the ExecutionChanged event reminder, but realized that it did not apply in this case. The complex UI that comes with TestStand works correctly and, as far as I know, I use the same event reminders to manage change in my user interface.

    Any ideas? What Miss me?

    Thank you

    Toby

    CLD, CTD

    I realized what was going on. I was to switch it on the SequenceView using the ExecutionClosed callback, but was not checking the number of executions that have been opened. Opening my file of sequence autolaunching would open two executions, one to open the file and the actual execution of the file. As soon as the file has been opened, the first run was closing my UI to return to the display of the trigger sequence. Execution else had already begun the execution of the sequence file so he would continue to run in view of the execution, but I didn't see it.

    I now use ApplicationManager.Executions.Count and only to switch back to the SequenceView if it was not open execution.

  • Slow response from the user interface with acquisition of data of type long time

    Hi all

    I have a question to ask more out of curiosity than necessity right now. I've built a program that acquires data from the accelerometer and the Treaty in a number of ways: filtering, FFT, FRFS, things like that, but the answer of the UI is still slow, because I need a resolution of frequency of 0.2 Hz for my data domain, which means that the sample acquisition time is 5s and all this awaits before execution.

    My question is this: is there a way to completely isolate the user interface of data acquisition so that it responds immediately?

    I tried a design model of producer consumer with queues, but found everything to be always waiting for samples to be taken. Maybe it was exactly as I did.

    Thank you

    Phil

    If you need to sample for 5 seconds in order to have enough data to analyze, so unless you can "predict the future" and "knowing" the five seconds of data, simply wait for the data that arrives.  Using parallel loops of producer-consumer will allow data acquisition to proceed (for the next 5 seconds of data) while you do the analysis, but you still have to wait for the data to be analyzed.

    Note that the previous paragraph assumes you are collecting data in 5 seconds 'chunks' and analyze each "chunk" (independent) on arrival.  You could also do something like having a "second 5 sliding window" which moves, say, a second at a time, giving your FFT a finer resolution of 'time' (at the expense of their independence).  This would be a (slight) change in your loop of producer (you want to taste in 1 second pieces, accumulate 5 these pieces) and the consumption loop (start analyzing, spewing a FFT every second, while replacing the older "chunk" with the most recent - a queue with loss can do for you).

    Bob Schor

  • Simple TestStand in LabVIEW user interface

    Hello community,

    I design a user interface for Teststand using the simple example of vi. The name of the file is VI.vi of first level

    I am trying to understand works vi inorder to make changes and ran into a few questions that I was hoping someone could answer for me please.

    To begin, I add my file sequence and click on 'Test DUT'. Then a dialog box appears asking to enter the serial number of the UUT, where and what are the causes that to happen in the code? After I entered my serial number it turns my code sequence and at the end an another message specifying in a green or red if the UUT success or failure. Where and what are the causes of success/failure boxes happen in the code?

    Thank you

    Kevin

    If you had posted this on the forum of TestStand, you would be probably got some of the answers better.

    But in the meantime, you need to open the SequentialModel.seq (or what is process model you use) and navigate to the entry Point of execution sequence, you use.  In this case, click Test UUT, the icon in the list of sequence and track the flow of test.

    With respect to the banner that appears after execution of USE test.  The banner is implemented as a DLL in the PostUUT callback.  It is based on the status of the MainSequence callback result.  It is the result of the test that you started by test DUT.

    The best advice I can give you is to go through the sequence of process template file and learn that it is not an easy task, but worth the effort.

    Thank you

    PH

  • Structure of the event without user interface

    I tried a quick and effective solution for a structure of event that is not a case of timeout and is part of a vi that has no user interface, but I have sent configuration data to the structure of the event.

    Let me be more clear: I have a camera that generates several events taken by a loop with the structure of the event inside.

    The provider of the camera give me this example of Labview code with all the events I'm interested and how they are implemented. I should mention that when you write a command of camera that a response to an event, but when you connect first to the camera there are more than 100 events generated by the latter, or when you download camera there are also several events. When there is no communication to the camera, the structure of the example event is inactive. The example includes a user interface to change settings and the program responds very well.

    I have to integrate this camera in great demand in which camera photo will be configured in a pragmatic way with number of the type of user interface in the example given by the manufacturer of the device.  First, I tried to design a loop with timeout cases in which a queue can send the data to the device setting configuration. Everything is good until the download when code needs to hold events in a certain way; in my case, an event is taken another goes to the time-out period and so on. After two sets of 100 images download, during the third round Labview gets blocked (Labview not responding) and I have to kill Labview. I got designer of the camera that if camera events are not taken they are kept on a pile and when the battery is full causes the Labview locked.

    Maybe I give too many details, but the question is: how to communicate with a struct event that is not a case of timeout and does not part of a user interface vi (it doesn't have a sign in my application)?

    Oops... Sorry about that.  I've attached an example what I'm talking about here.

    -Austin

  • User interface controls

    Hello

    I am analyzing the user interface controls for my application using the format shown in this picture.

    http://picasaweb.Google.com/shikha5579/SampleImages#5471685377447771410

    Small circles are the user interface controls buttons (to be made available by trackball) as power, speed, battery, etc. Below is the slider bar showing the progress of the video displayed in the central part of the screen.

    My question is, such a user interface can be created for blackberry-driven keyboard? If Yes, how should I go about this?

    Thank you!

    GaugeField done something similar, but take a look at this:

    How - to implement advanced buttons, fields and managers
    Article number: DB-00796
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

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

  • Assist in the design of a user interface

    Good, everyone; I read the tutorial to develop User Interfaces, but I still have problems with ISU user interface design more advanced (such as buttons with images). I want to develop for more than a simple OS 5.0 devices, so I don't want to use the new utilities. Can someone give me some links to tutorials or examples with more advanced user interfaces?

    How - to implement advanced buttons, fields and managers
    Article number: DB-00796
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800608/...

  • How to simulate the behavior of the user interface of JUnit test

    In my application, for users to choose a hospital, I have a LOV associated list linked a view called HospitalVA accessor. When users select a hospital from the list, I'll call "getCurrentRow()" on the HospitalVA to get the selected line of the hospital. Please refer to the code below:

    private void setHospitalUuid(Number value) {
         setAttributeInternal(HOSPITALUUID, value);
    
         if (value != null) {
              Row selectedHospital = this.getHospitalVA().getCurrentRow();
    
              // do something
         }
    }
    

    The above code works fine if I run the project, and choose the hospital from a web page in a browser. However, when I write a test case to test this programmatic behavior, whenever I call "setHospitalUuid", I get a NullPointerException on line 5. The cause is that, because there is no user interface, it has no real selection on the LOV. Accordingly, the view accessor does not get its pointer set on any record by ADF.

    Instead of using "getCurrentRow()", I can also use 'findByKey()' for the selected line. However, I believe that this is not the best option in terms of performance.

    I would be very grateful if you could show me if I did something wrong or else please tell me the right way to interface behavior test user in a unit test.

    JDeveloper version: 11.1.1.7

    You must include the selection of a row of the getHospitalVA() process in your test case before calling the setHospitalUuid() method. This will select a rank which serves then the current line in your setter.

    Timo

  • How can I batch 300 k than files PDF OCR or optimize them without having to open each file in the Acrobat user interface?

    The Adobe user interface is REALLY slow batch when a very large number of files of treatment.  However, the Adobe OCR tools are extremely good to process the documents I have.  Is there anyway to use technologies Adobe do this batch that does not require the Acrobat user interface for each file?

    Acrobat is an interactive tool, with very low volume automation tools. Your expectations are thousands of times too high. You are looking for a tool designed for industrial use of volume. These tools are often not user interface, maybe just a command line.

  • What script to create a model with a user interface panel

    Hello guys,.

    So I am new to scripting and javascript and I'm trying to keep it simple. I'm a VJ and want to create a script where I get a 'BPM' and a 'beat' lengh and it generate me a comp with the right length and * a layer with a marker ofr each beat.

    I was able to create this script, but I try to make it look a little better with integration of the user interface for AE I wasn't able to make it work right. If anyone can help me or give me some advice. I think that I'm not good with the expression "addComp" in the buildUI function.

    I copy everythin because it is long but you'll be understaind the main idea. My question is how to that the entry in my Advanced UI instead of "the guest".

    Here is my first code that does the job:

    Elements Var Set

    var name = prompt ("membership name");

    var BPM = prompt ("your BPM");

    If (isNaN (BPM)) {}

    Alert ("you must give the model a value");

    }

    Var prompt = beats ("how many times");

    If (isNaN (Beats)) {}

    Alert ("you must give the model a value");

    }

    frameRate var = prompt ("your fps");

    If (isNaN (frameRate)) {}

    Alert ("you must give the model a value");

    }

    term var = (60 / BPM * bat); Automatically generated

    var beat = (60 / BPM);

    Part of creation

    app.project.items.addComp (name, 1920, 1080, 1, duration, frameRate); Create the model with custom Lengh

    App.Project.Item (01).layers.addSolid ([0,0,0], "BG", 1920, 1080, 1, length); Create solid BG

    var firstLayer = app.project.item (1) .layer (1);

    firstLayer.label = 16;

    App.Project.Item (01).layers.addSolid ([0,0,0], "FX", 1920, 1080, 1, length); Create sound FX

    App.Project.Item (01).layers.addNull (Duration); Create the Null object

    var firstLayer = app.project.item (1) .layer (1); Rename the Null object

    firstLayer.enabled = false;

    firstLayer.name = "Beats";

    firstLayer.label = 0;

    Place a marker on the 64 first beat

    var myMarker = new MarkerValue("0");

    firstLayer.property("Marker").setValueAtTime (beat * 0, myMarker);

    Every beat on opacity-keys

    myProperty = firstLayer.opacity;

    myProperty.setValueAtTime (beat * 0, 0);


    For reference, I'm going to place code Dan here and use line numbers, as I explained.

    Fig. A

    var name = prompt("Composition name");
    var BPM =prompt("Your BPM");
    if (isNaN(BPM)) {
        alert("You must give the comp a value");
      }
    
    var Beats = prompt("How Many Beat");
    if (isNaN(Beats)) {
        alert("You must give the comp a value");
        }
    
    var frameRate = prompt("Your fps");
    if (isNaN(frameRate)) {
        alert("You must give the comp a value");
        }
    
    var duration = ( 60  / BPM * Beats ); //Auto Generated
    var beat = (60  / BPM);
    //Creation Part
    var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate); // Create Comp with Custom Lengh
    var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration); // Create BG Solid
    firstLayer.label = 16;
    myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration); // Create FX Solid
    firstLayer = myComp.layers.addNull(duration); // Create Null Object
    firstLayer.enabled = false;
    firstLayer.name = "Beats";
    firstLayer.label = 0;
    // Place a marker on the 64 first beat
    var myMarker = new MarkerValue("0");
    firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
    // Key every Beat on opacity
    var myProperty = firstLayer.opacity;
    myProperty.setValueAtTime(beat*0, 0);
    

    OK, so for your configuration, looks like you're striking four data sets. You have the model name (fig.) At line 1), BPM (lines 2-5 of Fig. (A), (lines 7-10 of Fig. rhythms (A) and the FPS (lines 12 to 15 of Fig. (A). then it comes to the UI, you can change what I had posted to...

    res = "group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
      myCompName: EditText{text:'Enter comp name'},\
      myBPM: EditText{text:'Enter BPM'},\
      myBeats: EditText{text:'Enter beats'},\
      myFPS: DropDownList{properties:{items:['23.976', '24', '29.97', '30', '59.97', '60']}},\
      createComp: Button{text:'Create comp'},\
    }"
    

    This will give you all entries in four data for the user interface. It is preferable to assign each control to a new variable for use in your script.

    // Control Variables
      var compName = myPanel.grp.myCompName;
      var myBPM = myPanel.grp.myBPM;
      var myBeats = myPanel.grp.myBeats;
      var fps = myPanel.grp.myFPS;
      var createComp = myPanel.grp.createComp;
    

    Once you have these variables you can then start the default implementation as appropriate. in this case, the drop-down list should be a starting point for it's selection, so that you can say to use the first default entry as follows.

    //Defaults
      fps.selection = 0;
    

    Now, you can configure your onClick for button createComp feature. This will contain to working part of the Dan code that treats everything (lines 17-33 of Fig. (A). I've added a few lines of options above this (lines B Fig. 1-7) in the below code just to match the variable names so you wouldn't need to change the code.

    Fig. B

    //onClick setups
      createComp.onClick = function(){
      //Gather user entered values
      var name = compName.text;
      var BPM = Number(myBPM.text);
      var Beats = Number(myBeats.text);
      var frameRate = fps.selection.text;
    
      var duration = ( 60  / BPM * Beats );
      var beat = (60  / BPM);
      //Creation Part
      var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate);
      var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration);
      firstLayer.label = 16;
      myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration);
      firstLayer = myComp.layers.addNull(duration);
      firstLayer.enabled = false;
      firstLayer.name = "Beats";
      firstLayer.label = 0;
      // Place a marker on the 64 first beat
      var myMarker = new MarkerValue("0");
      firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
      // Key every Beat on opacity
      var myProperty = firstLayer.opacity;
      myProperty.setValueAtTime(beat*0, 0);
      }
    

    Then line 2 Fig. b starts the call onClick for button and assigns a function. Within the function, we run the process. Fig. B Line 4 seizes the compName edit text attribute of the text control, using the Number() function convert us this text to a number for use online B Fig. 9 and 10 and B Fig. 5 line gets the text attribute of the text control edit BPM. Goes same for line 6 of the Fig. B and the beats variable. For line B Fig. 7, a drop-down list requires calling his selection of the attribute, then it is text attribute to get the actual string. The drop was more logical for FPS due to the standard rates that exist. This list can be changed of course to your liking. Now, there is no safety net as I like to call for the modification of the text controls to make sure text is not entered when you need a number and vice versa. It would be something of can check after line 7, Fig. B before trying to run the code in process (Fig. B lines 9-25). I hope that it will be easy enough for you to understand.

    If the script is as follows.

    {
    function myScript(thisObj) {
      function myScript_buildUI(thisObj) {
      var myPanel = (thisObj instanceof Panel) ? thisObj : new Window("palette", "My Panel Name", [0, 0, 300, 300]);
    
      res="group{orientation:'column', alignment:['fill', 'fill'], alignChildren:['fill', 'fill'],\
      myCompName: EditText{text:'Enter comp name'},\
      myBPM: EditText{text:'Enter BPM'},\
      myBeats: EditText{text:'Enter beats'},\
      myFPS: DropDownList{properties:{items:['23.976', '24', '29.97', '30', '59.97', '60']}},\
      createComp: Button{text:'Create comp'},\
      }"
    
      //Add resource string to panel
      myPanel.grp = myPanel.add(res);
    
      // Control Variables
      var compName = myPanel.grp.myCompName;
      var myBPM = myPanel.grp.myBPM;
      var myBeats = myPanel.grp.myBeats;
      var fps = myPanel.grp.myFPS;
      var createComp = myPanel.grp.createComp;
    
      //Defaults
      fps.selection = 0;
    
      //onClick setups
      createComp.onClick = function(){
      //Gather user entered values
      var name = compName.text;
      var BPM = Number(myBPM.text);
      var Beats = Number(myBeats.text);
      var frameRate = fps.selection.text;
    
      var duration = ( 60  / BPM * Beats );
      var beat = (60  / BPM);
    
      //Creation Part
      var myComp = app.project.items.addComp(name, 1920, 1080, 1, duration, frameRate);
      var firstLayer = myComp.layers.addSolid([0,0,0], "BG", 1920, 1080, 1, duration);
      firstLayer.label = 16;
      myComp.layers.addSolid([0,0,0], "FX", 1920, 1080, 1, duration);
      firstLayer = myComp.layers.addNull(duration);
      firstLayer.enabled = false;
      firstLayer.name = "Beats";
      firstLayer.label = 0;
    
      // Place a marker on the 64 first beat
      var myMarker = new MarkerValue("0");
      firstLayer.property("Marker").setValueAtTime(beat*0, myMarker);
      // Key every Beat on opacity
      var myProperty = firstLayer.opacity;
      myProperty.setValueAtTime(beat*0, 0);
      }
    
      //Setup panel sizing and make panel resizable
      myPanel.layout.layout(true);
      myPanel.grp.minimumSize = myPanel.grp.size;
      myPanel.layout.resize();
      myPanel.onResizing = myPanel.onResize = function () {this.layout.resize();}
    
      return myPanel;
      }
    
      var myScriptPal = myScript_buildUI(thisObj);
    
      if ((myScriptPal != null) && (myScriptPal instanceof Window)) {
      myScriptPal.center();
      myScriptPal.show();
      }
      }
    
      myScript(this);
    }
    

Maybe you are looking for

  • Satellite 210ct does not start - insert system disk and press a key

    I have a very old laptop and want to move down. It is a 210ct Satellite. When I start upward, he goes and initializes memory and then after about five minutes, to be on that screen it said to insert system disk and press a key... It is not the disk h

  • Satellite P10 - how to get the Netgear router to work?

    Morning Can someone tell me how to get my laptop Satellite P10 to work out of my router Netgear wireless zone that goes with my virgin package please? I work in the area of modem at the moment... or the P10 wi - fi like my acer laptop which is everyt

  • configuration of the programming for the cRIO module?

    Is there a way to programmatically access the configuration settings for the modules in use on a cRIO? I seeks to define the type RTD channels on the NI 9216 RTD by screws, not the exporer project module.  In this way, when the system is established

  • problem in installing xp on windows 7

    Currently, I'm using windows 7, I need to install xp, when I try to do by using cd, is to show a stop error message 'remove the new hard disk dive or hard disk controllers '.

  • How can I get the difficulty of resolution?

    After a McAfee REP worked on the pages of my Dell L.T., Microsoft Works and Task Launcher became larger and distorted, they work, but with difficulty. Have you tried the adj. unsuccessful resolution?