Using screens of the child within an Application

Hello

I'm developing my first Blackberry application and I'm trying to set up a kind of a tab page layout where a user would click on one of the 3 buttons on a bar of buttons at the bottom of the screen and a special screen based on the clicked tab or the button.

That's how I'm currently trying to achieve

I have a MainWindow() stretching screen that I add to the request.  I added a HorizontalFieldManager to this window I add 3 buttons.  Currently, it appears at the top of the screen, but finally, I would like to have it on the bottom of the screen.  In fact, I wish it were exactly like button bars, you see in the last OS you see on the screen of e-mail inbox.  Is it possible to use a built-in component of blackberry to have my buttons custom like this?

I created 3 screens that extend the screen containing the appropriate for each particular form fields:

-DataSubmissionScreen()

-ReportingScreen()

-PreferencesScreen()

When a user clicks on a button, I want to add the relevant display in the remaining space in the MainWindow remaining after the button bar has been added.  However, whenever I try to add a screen MainWindow I get an IllegalStateException error when the program is launched.

How can I get this feature of child screen on the Blackberry?  It would be more logical for my child 'screens' actually extend FieldManager instead of the screen and add THOSE of MainWindow?

Thank you

Mike

There is no concept of a "child monitor" in Blackberry. There is a single stack screen, and the screen at the top of the stack, period.

You can push a screen on the stack, it becomes the top of the screen and appears.

When you jump a screen, the following in the stack screen (if there is one). If you skip the last battery screen, your application will end (unless you plan to do this and avoid it).

Perhaps this article will provide a few ideas:

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

Tags: BlackBerry Developers

Similar Questions

  • Issue of APEX 5.0: symbol of continuous loading when using parts of the tree with Mobile Applications

    I use a use of a region of the tree Mobile Application. The tree implementation is defined on Tree APEX.

    When I run the Application, I get a symbol of continuous loading.

    When I use the same SQL, region and implementation in a desktop app it works fine.

    I can't get it working on a Mobile Application with the implementation of jsTree.

    bug?

    Hi Matt,

    The area of the tree is not supported for mobile pages. If you use the new page Wizard to create a mobile page, you will see that it is not established that the area of the tree. It only appears if you decide to display unsupported. What seems like a bug, it's that the tree is displayed in the Gallery of areas of the page designer.

    The implementation of the tree of the APEX (widget.treeView.js) is a jQuery UI widget. Even if the core of widget in jQuery UI and jQuery mobile are essentially the same tree view widget has additional dependencies such as $. UI.mouse. the reason why the old jsTree can work at least a little, is that it is a jQuery plugin not a jQuery UI plugin (if I remember correctly).

    I also think that on a small phone size screen that a tree would not work so well.

    Kind regards

    -John

  • I can't open anything without: "choose which program you want to use to open the file with" and "Application not found".

    I got a used computer and it worked fine for a while. I guess that I did something for her, because now I had a problem with the opening just like files and almost all of the icons in the start menu. I found someone had mentioned this on another post, but it has not been answered and I have the same problem:

    "I don't know what to do. I tried reseting IE back to its "settings by default, but nothing seems to work. It doesn't let me open any programs on my computer. I can't even find the virus because there asking what program I want to open it with and when to choose IE he sent me through a series of 'SAVE or RUN' windows and then back to the "choose a program you want to run the file with.» I am only able to access the internet via a shortcut of Internet Explorer button that I dragged on the start menu, because the original one on my desk does not open. »

    It's the best way I can explain this problem. I've had this problem for a while now and I have looked everywhere for an answer and still nothing. It would be great to get help, thank you!

    After much research, I found the answer here:

    http://WindowsXP.MVPs.org/exefile.htm

    But thanks for the help!

    This problem has not helped me with my problems to download iTunes correctly, that's why I set out to solve this problem in the first place. I also get a lot of it popping up every 10 minutes:

    "MobileDeviceService has encountered a problem and needs to close. We are sorry for the inconvenience. »

    The error signature is always:

    szAppName: AppleMobileDeviceService.exe szAppVer: 17.88.0.8

    szModName: kernel32.dll szModVer: 5.1.2600.5781 offset: 00012afb

    It won't do anything when I click to send error report or not, it does not close anything as it is normally would. I think it might have something to do with the steps I took to reinstall iTunes properly...

    And

    1. I use Microsoft Windows xp Version 5.1, at least that's the stuff I wrote, do not know if this is the answer you're looking for. I am not sure computers.

    2. my anti-virus software is ESET NOD32 Antivirus 4

  • Black screen after the child press the buttons.

    My old 3 year grandbaby was taken by pressing the buttons on my laptop. My screen went black. When I shine a flashlight on the screen, I can see it. I tried to push the FN button and pressing the arrow upwards the button and nothing happens.  I'm not what I was doing, but I went for help and tried to change the resolution. Don't know that I did anything.  Can you please help?

    Hello dawn,

    It also seems that if the brightness has been set at a minimum level.

    We will try to increase the brightness level

    Best regards

    Matthew_Ha

  • Search and index of all projects of the child seem incompatible.

    Hello

    I have created a new master of the project and added a child project using RoboHelp 9 HTML to create a file HTML from Microsoft.  When I opened the master chm file, I can view the index for the complete project (master and child) as well as to search through the entire project.    Then I added another project of the child (after you have created an index in children) and rebuilt my master.  When I discovered the new master chm file, the index does not include second child, although it does not include the first child, and the search does not search the second child.  Any help would be greatly appreciated.

    Maybe the path for the second child is hardcoded? Hhp open it in Notepad and check what it says the MERGED FILES section. If you don't see a name of file, everything is good. If you see a path as well, which could explain why the search and index do not work.

    I'm not sure how you would get a path for a project and not for the other hard-coded, but it's possible I think.

    There was a recent suggestion that a fix for the hard-coded path is to ensure that the child chm exists in the main project before creating the fusion in the table of contents. If you don't want to keep the child within the main project, the only solution I know is a double compilation (compilation, open the HHP file and remove the path information in the FILES FUSIONNES section, then recompile) whenever you build a final version of the help.

    HTH

    Amber

  • Presenter PowerPoint on Mac mini mode displayed on the screen and the projector when using HDMI splitter

    We have a Mac mini connected to a screen and a projector via HDMI using a HDMI splitter.

    It works fine for most applications, but during presentations PowerPoint, presenter is displayed on the monitor and the projector.

    When I disconnected the mini Mac's HDMI cable and put it in a MacBook, the presenter appeared on the MacBook screen (as it should) and only the slide appears on the screen and on the projection screen.

    Of course if we have to use the MacBook for presentations instead of the Mac mini, you would need to have seen the presenter on both the screen and on the screen of the MacBook.

    In the Mac mini display preferences there is no button to "Gather Windows" when the Mac mini is attached to the screen and the projector via HDMI splitter is a tab "setting."

    But these two things appear on the MacBook when it is connected.

    Any help would be greatly appreciated.

    Thank you!

    Mike

    I'm confused. When you use a video separator the same screen will appear on the two monitors connected to the separator. This is how works a separator

  • Locked out of my iPad on lock due to restrictions of the child screen

    When we use FaceTime we always allow child restraint (disabling screen etc) for our child can also facetime with family, preventing to end the call.

    We just got a call, answered he, restrictions enabled by clicking the home button 3 times.

    the call is completed on the other side, the iPad has jumped into the lockscreen.

    But the restrictions of the child are still on. Outside of the FaceTime app.

    but the lockscreen does not allow me to push the code to turn off the child lock.

    So now I'm locked out of the iPad. all buttons and off screen.

    Anyone an idea how to get back?

    Resolved now power + home until you restart.

    After the reboot, the lock is disabled.

  • With the new Apple TV, I'm stuck on a black loading screen in the application to access all CBS. How can I solve this problem?

    I have the new Apple TV, and after seeing a show in the application to access all CBS I'm stuck on a black loading screen. This happened almost 10 minutes now and I don't know what to do to be able to find the main screens of the application and to be able to continue to watch the shows within the app.

    Press twice on the logo TV button then slide upward on the touchpad.

    The CBS app is stuck and hitting the button twice allows you to force the application to quit.

  • Prevent the child class dependency when the conditional use disable to specify the class in the development environment

    Hello

    I develop an application that I want to run on the normal systems and in real time using LabVIEW Proffesional Development System 2012 SP1

    To control how the application interacts with the user, I created a class that defines the type of user interface behavior that should allow me to have nice dialog boxes when the system is running on a machine windows and no dialog box (or any other friendly code in non-real time) if they sail on a real-time target.

    The parent class is the code that suits the actual time and the class of the child is the one with dialog boxes.

    To control the class of which it is responsible, I have a structure conditional disable. It works fine when the application is built in an executable or executable file in real time, but the problem arises when I want to use the code during development on the target in real time.

    I think that with the application under a target in real time (RT PXI), the proper case of the conditional - disable is enabled for the parent class is used, but the child classes are also listed under dependencies - I pressume it's because they exist on the block diagram in the case of persons disabled conditional turn off the diagram.

    This means that I can't deploy the code on the target in real time as it is unhappy with the class of the child code - even if it will never run.

    To save the poster my real project, I created an example with a Parent and child class and a flag to disable conditional 'class' to illustrate the problem.

    If you run Test.vi, you will see that the child class always gets locked (i.e. is addictive) while running even if it is not called.

    So - basically my question is: is what I can do about it or will I enough to disable it with conditionals and simply put the constant to correct class on the block diagram in the tests?

    Thanks in advance

    John.

    I feel your pain.  I came across something similar some time back.

    Apparently official NOR position is that you have to put a conditional structure of Disable IN EVERY ONE OF YOUR CLASS live.  In the Windows screws, you simply have a case of empty disable conditional with the windows code in another case and vice versa on the RT.

    I also much prefer the method you describe...

  • What key combination can be used to capture a screen to the Clipboard? __

    What key combination can be used to capture a screen to the Clipboard?

    http://en.Wikipedia.org/wiki/screenshot

    In Microsoft Windows, pressing the button print screen capture a screenshot of the whole office and put it on the Clipboard. Pressing the combination Alt - Print Screen captures only the current active window. In most versions of Windows, captured screenshots do not include the mouse pointer.

    Video content in the programs using a hardware overlay video converter is not captured by the method described above. Windows Media Player on Windows XP in its default configuration on supported hardware is affected by this. However, some third-party applications can capture overlay images.

    By default, Windows does not record the screenshot to an image file; the user is required to paste the image into a separate program (such as Microsoft Paint, which is integrated) imaging for the economy. Some programs, however, especially online multiplayer, will automatically save screenshots in a specified folder. From Windows XP (or any version based on Windows NT), it is no longer possible to take screenshots of windows DOS full screen without other software.

    Windows Vista and Windows 7 include a utility called Snipping Tool, first introduced in Windows XP Édition Tablet PC. This is a screen capture tool, which allows you to take screenshots (called snips) of windows, rectangular areas, or a free-form area. Shears tinsmith can then be annotated, saved as an image file or an HTML page or by e-mail. Unfortunately, it does not work with uncompressed, XP versions but represents an XP compatible equivalent.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://en.Wikipedia.org/wiki/Print_screen

    In Microsoft Windows, pressing print screen will capture the entire screen, while pressing the alt key pressed in combination with the screen print will capture the selected window. The captured image can then be pasted into an editing as a word-processing, electronic mail, or graphics softwareprogram. On the keyboards that have a caps lock key, you may have to press lock first. Pressing print screen, with the alt key and the SHIFT key pressed, turns on a mode of high contrast for people with visual impairments.

    See you soon.

    Mick Murphy - Microsoft partner

  • What program to use to take the video of your screen? AND: How to convert .swf in .mp4?

    What program (free) can I use on my HP laptop (running on Windows 7) to take video of my screen? I used Jing to capture video, but it registers as a .swf file. I have not anything that can play a .swf. I tried Zamzar, but he's not convert .swf files. So, what can I use to convert the .swf in .mp4, please?

    I tried to download CamStudio, but Google Chrome has blocked, saying that the zip file would affect my browsing experience.

    I'm not a technology person. Any help is appreciated. Thank you.

    DM

    If you want a basic registration application that TechSmith is also Snaggit that will record audio and video, making the screenshots & is $ 49 for life.  Your call.

  • How to get the active screen of the BlackBerry application?

    Hello

    I'm trying to get the active screen of the BlackBerry application, for example the home menu.

    I tried to use the screen ActiveScreen = getUiEngine () .getActiveScreen () in my code, but found error during execution.

    I know that this is because the getActiveScreen() method applies only for screens created by this application.

    So is there a way to capture the screen of the other application, for example the mail filter BlcackBerry?

    Thank you.

    Not wanting to not to repeat me, but there is no general way to get access to the Screen of another application object, unless you are on good terms with this application - which basically means that you have access to the instance UiApplication.  You cannot ask the operating system to get that to you, you must have a way to get you.  Which implies execution of something in the context of the Application.

    Even in this case, you may not be able to do what you want.  You will probably need to iterate over the screen and content managers and find the field you want, and even if it covers anything you understand (like BasicEditField) it still cannot handle standard things like setText in a way that is useful to you.  And you might not find fields you recognize, if you access a browser screen, I think you'll find there \are RIM not standard fields in there, so there is nothing you can interact from a standard application of the RIM.

    If you want to do this kind of treatment in General, that will deal with in a number of applications, you should watch event Injection.

    There may be other options for specific applications.  For example, you can simulate of electronic mail by writing a program that sends an email, rather than interact with the BlackBerry.  Or for the same application, if you try to test the headphones, then the listener has access to the UiApplication.  Aye, we be able to help you find approaches less General in some places, if we understand what you're trying to do.  This is the reason for the specific question that I asked in my last post.

    Regarding your second question

    "Another question is, can two separate applications of myself interaction by the user interface?

    For example, to call app2. ButtonField.click () or something. »

    It is in fact just an extension to your first question.  The difference is that you will find the UiApplication associated if both applications are on good terms, in fact you can "spend" the UiApplication via a Global event.  Once you have the UiApplication, you can use

    .invokeLater (...)

    to run the user interface code in the other Application.

    But I look at injector event because I think it might be a more general solution.

  • Code to get the data in the child table in composite SOA using the IOM APIs

    Hi all

    I am a new bie to IOM. I have a query related to obtaining data in the child table using the API of the IOM in the task of embeded java SOA composite.

    I've created a workflow that has a form of child of providing service of slef. I created a composite SOA custom also approval. In the composite approval I have embedded java code and I want to get the values entered in the child form using the API IOM inot the java code embeded in composite SOA.

    I tried gettting the child form data by using getChildAttributes(), but I'm getting the following exception.

    The local Exception stack:
    Exception [EclipseLink-7242] (Eclipse - 2.1.3.v20110304 persistence Services - r9073): org.eclipse.persistence.exceptions.ValidationException
    Description of the exception: an attempt was made to navigate a relationship using indirection that had a null Session. This often happens when an entity has a relationship of LAZY not instantiated is serialized and this lazy relationship is crossed after serialization. To avoid this problem, instantiate the LAZY relationship before serialization.
    at org.eclipse.persistence.exceptions.ValidationException.instantiatingValueholderWithNullSession(ValidationException.java:994)
    at org.eclipse.persistence.internal.indirection.UnitOfWorkValueHolder.instantiate(UnitOfWorkValueHolder.java:218)
    at org.eclipse.persistence.internal.indirection.DatabaseValueHolder.getValue(DatabaseValueHolder.java:83)
    at oracle.iam.request.vo.RequestBeneficiaryEntityAttribute.getChildAttributes(RequestBeneficiaryEntityAttribute.java:100)
    to com. CASApproval.main (CASApproval.java:137)

    Please suggest me if I'm following the correct procedure of the child form data or if we can use another approach.

    Can we get the data using formInstanceOperationsIntf.getProcessFormChildData ().

    Thanks in advance for the help.

    Thank you
    PT

    When you're in approvals, there is no form of process data. Process form data would come only when approvals are completed. If you want to read data from the child form of the DataSet (i.e. the form object as in OIM9.x) you can use the RequestService on the id of the request and read the data. Or another approach would be to the child the dataset data value in the payload of the request and read the XML payload in the composite.
    Let me know if you need more information about the second approach. As for the first approach, search through the forums here and you should find my previous posting on how to reach child dataset values using the ask service API.

    -Marie

    Found these for you:
    OIM11G: Way to get values from dataset of the application for approval
    Re: How to get the value of the AD details of payload of SOA user group

  • Tips on the screen of the universal application of filling

    My application settings are:

    Image format: landscape

    Full screen: checked

    My flash animation is 1024 x 768

    The app now looks and plays well on all devices.

    Problem is when I was creating my screenshots to present my application to Apple, I noticed there are black bars on the LHS and RHS of the iPhone 4 and iPhone 5 screenshots.

    I thought surely I can just add some additional graphics outside the stage space of my Flash animation that extend horizontally in both directions. However, when you perform a quick test of this, it doesn't show all.

    Before adding additional graphics, my bucket of the iPhone 5 has a surface 853 x 640 that displays content from my

    After adding additional graphs to the left and to the right the image display area is 960 x 640, but there are black bars rest. I'm confused that I added more images outside the scene that was 1024 x 768 in each direction.

    No idea what the solution is to get this display of additional background graphics to fill all black on the sides?

    Your tests, I see that you have a time scale to its default value of 'show_all '. That's fine, and you can have just the additional background images to the left and right of your stage of 1024 x 768. If that works for each of your screens, and the additional background does not seem irrelevant, then it's the simplest solution.

    You will need approximately 1365 pixels of width background image on your stage of 1024, to ensure that it fulfils the iPhone 5. The inclusion of the [email protected] is enough to make it work for iPhone 5 locally, but be sure that it is acceptable to Apple you will want to use AIR 3.5 or 3.6. If your game is associated with objects moving in and out of the sides of the area, make sure they come beyond the edges of the bottom 1365, while iPhone 5 on the mysteriously appear out of nowhere.

  • When youtube ask me if I used to open the video full screen, I press none by mistike and save it the mozilla and now I can't open full screen more, what to do

    When youtube ask me if I used to open the video full screen, I press none by mistike and save it the mozilla and now I can't open full screen more, what to do

    Hello ronbn1, while you are on youtube.com, make a right click on a blank spot on the page, go to view page info > permissions and re - activate the approval of full screen in the list.

Maybe you are looking for