Navigation screen

I use 4.5.0.7 and 8300 Simulator JDE

I have more than 7 screens in my request that the user navigates to and from that they finish their work.  At this time I create a new screen whenever they browse it.  This is of course put several versions of a single screen in the list of the screens where they are pushed.

What is the best way to handle this situation?  Is there a way to determine if a form already exists in the list, and if so, find and use it, rather than create a new one reproduced time?

If not, there is a way to make what would be the best way to a memory and point of view of the transformation?

If If pointing me to some examples would be helpful as I am new on this.

Thank you

Regardless of the treatment/memory used, your first consideration should be the user desires/expectations.

To facilitate this, I will call your Screen1, Screen2, Screen3 screens... Screen7.

Usually the screens are used hierarchically, in order to pass from one to the other and to escape, then you'll go Screen1, Screen2, then Screen3, but never to Screen1 Screen3.  In this case, it is quite reasonable to create a new Screen2 in Screen1, then push it and when you escapes from screen 2 (by popping), resources used by Screen2 will all be released and Screen1 will magically appear because he was next on the stack of the display.

However if your username can go from Screen1, Screen2, then Screen3, then in Screen1 and so on, creating a new screen each time will lead to a large number of screens.  With this method, the user can escape quite happily back to where they started, which might be what they need to do.

However, if the user expects to move Screen1, Screen2, Screen3 then Screen1 how the Screen1 original values should be there, then create new screens every time does not work.  In this situation, you can save all screens and perform the screen changes by jumping the current screen and pushing the new screen at the same time, Exchange effectively high stack display screens.  But if you do this, you lose the ability to go «Back»

OK, to your questions:

"Is there a way to determine if a form already exists in the list.

Yes - Screen.isDisplayed () will tell you that.  I don't know how it is useful because it can be buried in the stack to display and you may have to pop a number of screens to get it back.  You can have the same screen in two places on the stack of the display.  I have not tried a screen that was not on the top of the stack, which could work to burst and if that were the case, you can then press the screen actually move it to the top of the stack of the display.  Note that he would lose his place when the user declined screens.

"what would be the best way a memory and point of view of transformation"

I would make sure that the structure is what the user wants, then try to make it more effective.  That said, the best thing is to create screens only once and destroy them when the application is closed.  You can do this in a number of ways that I use is to have someone from the screen and just ask for the screen you wanted - the display manager will create and maintain if it is not already created.

I hope this helps.

Tags: BlackBerry Developers

Similar Questions

  • Question of Safari and Chrome. indicates on the navigation screen. "An element of the Protection of the family filter does not work as expected. Restart your computer. If the problem persists, contact support.  Error: failed to hose CPI. »

    Question of Safari and Chrome. indicates on the navigation screen. "An element of the Protection of the family filter does not work as expected. Restart your computer. If the problem persists, contact support.  Error: failed to hose CPI. »

    Quit Safari, Chrome to quit smoking. If necessary Forcequit.

    Start Safari while holding the SHIFT key, select the menu Safari ClearHistory, then after this check that the homepage is the one you want.

    Do the same for Chrome.

    Close all browsers, restart the mac.

  • How to get around the main navigation screen and connect to different responsibilities

    How to bypass the main navigation screen and connect to the home page of different responsibility directly?

    Hello

    Update of "User Preferences" on the home page.

    Navigation:

    -Entrust--> region 'Start Page' desired preferences;

    the user will be accessed directly to accountability.

    Kind regards
    skannegulla

  • OutOfMemory error which occurred between navigation screen

    Hello

    I get an outofmemory error navigationg between screens, im not sure whats the cause because I'm not burst the current screen before the new loading screen. Not poping up the scree to free up the memory resources? Is there another method to prevent this, when caused by navigation of the screen? Any help much appreciated.

    Screen ActiveScreen = UiApplication.getUiApplication () .getActiveScreen ();
    UiApplication.getUiApplication () .popScreen (activeScreen);
            
    UiApplication.getUiApplication () .pushScreen (screen);

    Fix this problem by using the abstract class in French - http://stackoverflow.com/questions/1123414/how-to-navigate-back-to-the-previous-screen-in-blackberry

    Seems that just popping the screen appears the stack display screen, but it doesn't appear off the coast of the stack of memory.

  • Navigation screen problem

    Hello

    I'm new to the application development Java BB and facing problem with navigation of the screen.

    I have two screens in my application. One is the table edge with an icon, and when you press this icon user should be able to navigate to the other screen. I created two screens separately, now when I try to incorporate the same i.e. when I create the instance from one screen to the other screen I get exception as: java.lang.RuntimeException: application already running in this process

    The two screens are extending from UiApplication.

    Could someone please help me with this thing?

    Thank you Rex ... its done

  • Navigation screen in my application problems

    Hi all

    I created several screen app, I use CustomObjectList to display data

    I have display folder 25 per call and create a previus / next button to navigate to the folder

    problem is if I browse over 2 page and press the back button it return to the previous page

    for example if I navigate to page [number of page 4] and press the button [ESC key in blackberry] back it back to page 3.

    I want to access the homepage if I press ESC [ex main page is called MyAccountDetails.java and I need to pass the object to initialize it]

    appreciate any help

    Thank you

    Osada

    Instead of pushing a new screen with the next and previous buttons, use a single screen. Keep a field that defines the index of the record at the top of the page currently on display on the screen. When you press the next or previous button, adjust the top of the page index of the record and again fills the CustomObjectList.

  • Approach to Navigation screen

    Hi all

    The user interface can be managed by one of the 2 following ways. Which is better?

    (1) create new classes of screens for separate formulas and push the object on the stack.

    (2) create a class form and edit fields on the object of the screen

    Kind regards

    Abhijit chatelain

    Abhijit - I don't think that there is only one answer to your question which applies in all circumstances.

    However I choose usually approach (1), unless I have good reason to choose another approach.

    I do this before all because adding and deleting fields in a form takes a long time - a test I did with a pop-up screen, addition and deletion of 30 fields took 5 seconds on a real device.   This means also that I can do other things that will speed up the perception of the user, for example, can I pre-fill a screen displaying then something for the user is fast enough.  Finally, it means that I have a number of smaller classes "Screen" to maintain, each of which has one goal, rather than having a giant screen that has several pieces of code in it.

    That's just my opinion you mind.

    Hope this helps

  • delete the historical navigation screen,

    Delete Browsing History screen. What areas are generally checked. Checking the box removes or save personal newspapers in info for commomly read websites

    THX

    The very top is checked by default and one who records the data of Web sites as well as the four lower, Favorites

    Which can also be the problematic area, should be regularly deleted.

    To start, you must set the fields like this,

  • iPhone upgrade of the navigation software now works not properly

    iPhone 5

    New IOS software updated and now the navigation screen not working not properly

    is your site on?

  • How can I remove "navigation" on my watch?

    I had to use "find my phone" to locate the phone my wife and in the process, a navigation screen popped up, which I could not clear, even disabling the app. After the signing of my account he finally disappeared from my phone. However, it is always on the main screen on my watch. I tried to disable all notifications of maps location services and nothing seems to disappear.

    Any ideas would be greatly appreciated.

    Hello

    To stop navigation in the Maps app on your watch, press firmly on the screen, then press on for policy decisions.

    Otherwise, it can help to restart your iPhone and your watch. Close the two devices together, and then restart your iPhone first:

    -To switch off your watch: press and hold the button side until you see the cursor off the power; slide it to turn off;

    -To reactivate: press and hold the side button until you see the Apple logo.

  • Background desktop images is not full screen

    Original title: pozadie pracovnej plochy

    When I give the image of wallpaper of my images,
    wallpaper appears

    not all photo (which I stored in my pictures), but only the section part of the whole picture.

    It seems bigger then a screen?
    Why?

    Thank you for any response

    Hi Zlatko,

    ·         What is the desktop resolution?

    ·         Are all the photos in the same resolution?

    You may experience this problem if the position of the image is not defined correctly for. wallpaper Follow these steps and check if that helps:

    Step 1: Change the position of the background image of the image of the desktop:

    (a) on the start screen, press or click on desktop.

    (b) press on and hold or right click on an open space on the desktop and then tap or click Customize.

    (c) click on wallpaper, under the Position of the image changes the fill or fix and check parameters

     

    Step 2: Check the resolution of your screen. To do this:

    (a) right click on the desktop, and then click screen resolution and your resolution will be written by virtue of the resolution. He notes down.

    (b) now, right click on your image and click on modify. It will open the painting. There is option resize select it and then clear the check box maintain proportions and pixels-click and type your resolution width then height, and then click ok and then save your picture again with a different name.

    (c) close everything and go back on the desktop and select again your navigation screen background image newly save image. Everything will be fine now.

    For reference, see this link:

    Change your background, colors, lock screen and photo account

    http://Windows.Microsoft.com/en-in/Windows-8/change-backgrounds-pictures

    Work in the familiar office

    http://Windows.Microsoft.com/en-us/Windows-8/desktop

    I hope this helps. If you need help with Windows, let us know and will be happy to help you.

  • How to disable the navigation bar in an article

    I have an image slider in a HTML article which can go full-screen. The button to exit full screen, however, is at the top of the display window and becomes hidden by the bar when the user clicks on the navigation screen. Is there a way to disable the navigation bar for a HTML article? I've attended MAX and remember them mentioning something HTML API, but I don't know how it works.

    Hi Zac,

    There is an API, and you can use it to block gestures are passed to us in your HTML article. See Digital Publishing Solution helps | Create articles to HTML for DPS 2015. There is information at the bottom of the page.

    Neil

  • Link to goto navigation toolbar does not

    We create a custom library, and I want to be able to link the html code of the library to one of the icons custom navigation toolbar we created.

    I tested the custom icon works but I can't seem to HTML code of the custom library, we have created a link to it.

    I tried to use < a href = "goto://ApplicationViewState/contentviewer" > element content viewer toolbar open < /a > and < a href = "goto://contentviewer" > toolbar of the viewer open point content < /a > or work.

    If I change the link http://www.Yahoo.com it works

    This is the navigation screen point from the manufacturer of the app. (v32)

    contentviewer_navigation.png

    Goto: / / URL does not work in custom locations. Use instead the goToState API: Adobe DPS - library and store SDK 2.32: adobeDPS-ApplicationState: JsDoc reference.

    Neil

  • A movie can be stored on a usb flash drive?

    I would you ask my camcorder recorded videos, currently stored in Photos, iMovie, and the camcorder on a USB flash drive SD card so I can read in my car on the navigation screen. How can I upload videos to a USB key?

    Yes, you can store movies on your USB.  Probably the easiest way is to drag the movies.  USB drives which are formulated FAT 32, as most of them, are limited to 4 GB in size for any single file.  Would be good to try with a movie just to make sure that your USB will play your

    navigation screen of the car in any way you are intending to do.

  • Overheating my Atrix

    I don't really know how an Atrix must generate heat.

    But I want my own get hot, especially when I use it's hard.

    Heat is located right next to the MotoBlur logo.

    Any idea on the amount of heat is normal?

    It depends on what you're doing... Heat is generated in 2 places - CPU/radio and battery.

    If you use your phone a lot, it gets hot. A lot of voice/data means the hot chips and if the battery quickly, it gets hot. The fires heat - download maps, navigation screen is activated, gps chip is running, is discharge the battery, etc.

    Many background apps and widgets also add more cpu usage and data.

    The phones are designed to stop if they get hot, but other then that there is not much else you can do.

Maybe you are looking for