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

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.

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

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

  • Transition between screens for WebView White flickers questions

    Hi all

    Application architecture: HTML/JS/CSS hosted on an HTTPS URL to a web server.

    BB10 app is conditioned to invoke this URL and start pages in the application.

    Here are the contents of the config.xml file:

    
    
    http://www.w3.org/ns/widgets"
            xmlns:rim="http://www.blackberry.com/ns/widgets"
            version="1.0.0"
            id="Dropbox_app">
        Dropbox
        
      
    
        DropboxApproval
        
        
        Loading...
        http://www.apache.org/licenses/LICENSE-2.0">
            Licensed under the Apache License, Version 2.0 (the "License");
            you may not use this file except in compliance with the License.
            You may obtain a copy of the License at
                http://www.apache.org/licenses/LICENSE-2.0
            Unless required by applicable law or agreed to in writing, software
            distributed under the License is distributed on an "AS IS" BASIS,
            WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
            See the License for the specific language governing permissions and limitations under the License.
        
        
                        
        
        
                        
        
        
        
    
            
            
            
            
            
            
              
              
        
            
        
    
        
    
    
    

    Here's index.html file content:

    
    
    
        Login
        
        
        
       
        
    
    
    
    

    Now when you navigate to index.html file, it is showing white screen as follows:

    This is perhaps due to the network latency or loading javascrip and css in the HTML page. I found two post associated with white screen below:

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues/202

    https://github.com/BlackBerry/BB10-WebWorks-framework/issues/244

    Is it possible to put the indicator type thing on this webview activity.

    A solution is I'm thinking or trying to load all my JS and css after the body tag.

    Please, help me to overcome this obstacle. It's very urgent.

    Thanks in advance

    BBUI uses an Ajax approach to navigation, but it's not exactly cross-platform (depends on the BlackBerry API):

    https://github.com/BlackBerry/bbUI.js/

    jQuery Mobile also has this implementation approach.

    http://demos.jquerymobile.com/1.0a4.1/docs/pages/docs-navmodel.html

    A more complete list can be found here:

    http://en.Wikipedia.org/wiki/List_of_Ajax_frameworks#JavaScript

    Let us, I'm not sure of a library that can just be "inclusive" and resume with all being based on Ajax navigation. You should encode your application based on a chosen framework process.

    I don't have an example to do directly with pure HTML/JS. If all of your "pages" are located in the same document, it is simply a matter of showing / hiding one another (or replace a common 'visible' div with the content of another.) If your pages are located in separate files, you need to load these files programmatically, and then insert them into the div 'visible '.

    On other platforms, they asking the web are disadvantaged from an external site as well? If so, it's probably just that the process is a little different from BB10 in terms when the document is destroyed / new document is presented.

  • 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

  • Auto refresh report what auto closing modal pop-up window.

    HI all the gurus of the apex

    I use apex 4.1.1 to implement this but I've recreated the question here

    https://Apex.Oracle.com/pls/Apex/f?p=54261

    workspace out user Tester/test

    Tab is question

    What I'm doing...

    I have a classic report on what link column is built around another page which is a form where the user can only update certain items.,.

    I use widow of contextual modal window to minimize the navigation screen... when I got to day mede then I want that report to refresh.

    My approach was to return an element even triggering via the form on the page 5 of the report and and dynamic action dynamic / live

    But my operation is fail :/

    A better idea for this... this report or page is updated on the fly without submitting the page.

    and also note allow partial refresh is marked YES

    Thanks for the help in advance

    Concerning

    Neel

    Hi Neel,

    You can try it now. I created the new DA fires on Auto Close. If you refresh all reports, you don't need ID to identify modal Pages, but I added the code that you can identify what modal page is closed.

Maybe you are looking for