How to upgrade multiple textfields different managers of a screen?

My camera - BB Torch

JDE - BB JDE 6.0

Hello

I have a main screen, containing the three following horizontal frames. each contains a rich text field and other components. I'm listening to global events.

on the event, update all fields of rich text and add/remove some components of managers.

I am gettting the eventlock of the user interface thread before putting on the screen.

But the screen is not updated. The first richtextfield gets updated properly. The rest of the screen is updated until I start the application (the data is populated based on data stored in a persistent manner)

synchronized (UiApplication.getEventLock())
{
    iVStatusScreen.iRTF_SOC.setText(info[1] + "%");
    iVStatusScreen.iRTF_DAT.setText(info[0]);
    iVStatusScreen.iRTF_ChargeTime.setText(info[3]);
    iVStatusScreen.setBatLevel(info[1]); // function which removes or adds or scales certain image fields based on the battery level
    iVStatusScreen.setChargeStatus(info[2]); // function which adds/removes or changes the image field for the charging status

    iVStatusScreen.invalidate();
    iVStatusScreen.iBFM.invalidate();
    iVStatusScreen.iHFM2.invalidate();
    iVStatusScreen.iFFM.invalidate();
};

the iRTF_SOC of rich text field is updated correctly. the rest of the changes does not appear until the screen is created again.

How to upgrade to the full screen.

I tried to invalidate the entire screen and individual managers too.

no need what, whether setText invalidate does this automatically.

Check the values you have with the debugger. are the referenced fields added to the screen in time? Check with the debugger, too.

Tags: BlackBerry Developers

Similar Questions

  • How do you get the different backgrounds on several screens?

    I have a Setup dual monitor and would like to have a different wallpaper on each. How this is done?

    May be of help to the: http://www.howtogeek.com/howto/windows/dual-monitors-use-a-different-wallpaper-on-each-desktop/

  • How to upgrade to the icon of the application screen (not App Store icons)?

    Recently, I built two apps with Indesign, DPS and Viewer Builder - a single folio and a multi-folio.
    In both cases, I want to do an update on the iPad screen icon I provided initially by spectator Builder, and I wonder how simple this process?

    Can I do this without having to re - build the folios?

    Is there a difference in both cases?

    The sheets are working well, so I don't want to make "too much" work. In other words, accidentally delete or destroy anything.

    I had changed my icon designs when I added apps in iTunes Connect, so the icons in the App Store are correct.

    I agree that the correct display on the iPad screen icons during the installation of the applications, but they change the old or false those who once installation is complete.

    You can do this without rebuilding the folios.

    Generator Viewer Viewer select on change. Click on the following button unless you just start screen icon, change icons with new ones and build the new Viewer.

    Test Viewer on Ipad before submitting to Apple for approval.

    If your application is already approved and then re-submit to Apple for approval again under a new version of the app.

  • How to upgrade to the user interface of a screen that is extracted from the stack?

    Hello

    I am currently having a problem in the UI update.

    I have two screens called 'OverviewScreen' & 'DetailScreen' and in the upper part of the two screens, I have three buttons

    (i) back

    (II) next

    (III) charging

    In the entry of the app normally I posted the 'OverviewScreen' and in this screen, back, next buttons are inactive positions (just to have two sets of images, one active and one for idle) and if the user clicks on an item that is displayed in the cell, then I'll navigate the user to the "DetailScreen".

    Now the stack should have two screens,

    at the bottom - "OverviewScreen".

    at the top - "DetailScreen".

    and in the "DetailScreen" - I showed the image is active for the "back" button (because the screen is lower in the stack) and for the next inactive button image.

    Now if the user clicks the back button I navigates to the "OverviewScreen" which is called the UiApplication.getUiApplication (.getActiveScreen) (m:System.NET.Sockets.Socket.close ()); in the case of touch

    Now the "OverviewScreen" located in the bottom of the stack to the front UI (basically when I built it for the first time, it contains inactive images next and back) - what I want here is I need to show the following active image therefore needs to update the user interface of the screen that displays battery

    Because,

    OverviewScreen (back, next inactive images)--> DetailScreen (back - active, next - inactive)--> new OverviewScreen (should show the back - off, next - active)

    For this, I tried with what follows, but none works,

    If (event.getEvent () == TouchEvent.CLICK) {}
    UiApplication.getUiApplication () .getActiveScreen () .getScreenBelow () .updateDisplay ();
    UiApplication.getUiApplication () .getActiveScreen () m:System.NET.Sockets.Socket.close ();
    Returns true;
    }

    I even tried with invalidate() and dopaint() but none works

    However, I realized the functionality if I press the off button in the "OverviewScreen" he navigated me to the "DetailScreen", juice wants to show the icon active next button?

    What should I do to repaint or update the user interface of the screen here?

    Thanks in advance,

    Kitty.

    Found a solution

    Override the method which is found in the net.rim.device.api.ui.container.MainScreen and in this method, I have changed the image for the button and this method is called in the current active screen using getActiveScreen () .getScreenBelow)

  • How to watermark multiple images with different dimensions in Photoshop?

    Is there a way I can place a watermark on the bottom right of the multiple images, any size images? I tried to use Photoshop Scripts > image processor, but it only works for images of the same size. I want to put the watermark on multiple images of different sizes. It is the output I got.

    For the first image watermark placed properly, but for the second picture watermark is distracted. As you can clearly see the dimensions are different. Please suggest me a solution.

    additional1.jpg

    test.jpg

    As this video should help you.

    How to watermark multiple images in Photoshop CS6 - YouTube

  • How to enable multiple audio output on Windows 7? Speaker and headphones play audio different...

    How to enable multiple audio output on Windows 7?  In Vista and XP it did automatically... I'm running Media center and Media player at the same time.  And plugged in a USB headset.  Media Player will automatically play through the headset and Media Center will go to the speakers.

    Why this feature is LEFT?

    Hi jibberz

    Welcome to the Microsoft Answers Forum!

    Unfortunately, several audio output is not a supported feature in Windows 7.  You may, however, check with the manufacturer of material for possible programs for that purpose.

    To work around the problem, try the steps listed in the link below and check: http://social.technet.microsoft.com/Forums/en-US/w7itprogeneral/thread/b1d1acac-1f21-4d23-8d68-98964d67c2c7

    For any comments, you can see the link: https://connect.microsoft.com/

    Thank you, and in what concerns:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Satellite L310 - how to upgrade the processor?

    Can I upgrade my processor?
    How to upgrade processor T5750 to T8300?

    Hello

    Many people ask the CPU upgrade, but the answer is always the same;
    Update CPU is not really recommended and in most cases not possible for different reasons.
    First, BIOS was not designed and tested with different processors.
    Secondly, it depends on the chipset what CPU would be compatible.
    Check the specifications of the chipset.

    Finally and above all, the laptop must be disassembled and it's tricky!
    You could damage other parts and make more trouble.

  • iOS 8.4.1. A newer version of the iPad (9.2) is available, but he says that this version of iTunes (12.2.2) is the current version. How to upgrade my iOS iPad 9.2?

    iOS 8.4.1. A newer version of the iPad (9.2) is available, but he says that this version of iTunes (12.2.2) is the current version. How to upgrade my iOS iPad 9.2?

    iOS and iTunes are two completely different things. It could be that your computer is not capable of running the version of iTunes need iOS en 9. Have you tried simply OTA update?

    https://www.Apple.com/support/ios9/

  • HP5643: HP 5643 All in One - how scan you multiple pages

    I can scan my wireless printer unique pages, but for the life of me I can't understand how to scan multiple pages.   I read the other posts on other threads on by clicking on the sign (+) sign to the left of the display after scanning one page, but I don't have a (+) sign to click on.  Someone has this model of printer, that can help me?    Thanks in advance for your help.

    In addition, any way to speed up the scanning process?     My old printer could easily scan a 10 page document in time, that it takes to scan a single page.

    @TXXpress

    Assuming for now your printer to provide the "Document Scan" and the little "+" feature, you don't have to have the "Preview Scan" selected.

    See:

    Scan_Multiple_Documents-combined

    If all else fails, you can try to use a different program to scan multiple pages into a single document.

    Options of the digitization program

    I don't have the same printer model - I can't comment properly on scan "slow".

    • In general, the printers to "do a bit of everything" cheaper still not 'all' as well as more expensive printers, a full service.

    Other things that could cause a "slower than ideal: sweep

    • Wireless, if they are available and used to connect the printer, may cause slow response - which can be attributed to anything between a bad router and a bad signal for a slow wireless card in the printer or the computer.  The answer "slower than snail" may be caused by the network is too busy with other wireless / network diagram.

    Finally, the "so slow I want to die" may be caused by the printing software - programs sometimes even 'good' can develop problems just hanging out on the computer for awhile.  You can remove the program from the printer and then replace it with a new copy of the software service Support full page for the Web site of your printer.

    Printer: printer e-all-in-one HP ENVY 5643

    Full software features:

    File name: EN5640_117.exe

  • How to upgrade to windows 7 from windows xp

    I use HP mini loptop that uses a windows XP. How can I he switch to windows 7?

    The first thing you need to do is purchase a license.

    Amazon.com: Microsoft Windows 7: software

    Because Windows 7 is in limited stock because Microsoft ended sales in October 2013, this created demand due to its rarity. This means the retail boxed copies request a bonus, while the OEM System Builder copies remain affordable.

    Full version (retail):

    -Includes the rights of transfer to another computer.

    -Does not require a qualifying earlier version of Windows.

    -Expensive

    Upgrade version (detail):

    -Includes the rights of transfer to another computer.

    -require a qualifying earlier version of Windows.

    -Expensive, but less expensive full version

    OEM System Builder version:

    The OEM of Windows 7 versions are identical to the versions commercial full license with the following exception:

    -OEM versions don't offer any free direct support from Microsoft technical support Microsoft

    -OEM Licenses are tied to the computer first you install and activate it on

    -OEM versions allow all hardware upgrades except for an upgrade to a different model motherboard

    -OEM versions does not move directly from an older Windows operating system

    There is nothing wrong to use it too, especially that all future versions of Windows will be full versions.

    Then, review:

    http://www.notebooks.com/2009/10/13/WinXP-to-Win7/

  • How to upgrade the Switch application icon

    Hello

    I'm working on a UiApplication in Java that runs in the background all the time.  I need support the 7290, some 8,000 s and the "BOLD".  The screen resolution is very different between the 7290 and "BOLD" and the icon that looks good on the 7290 seems jerky on the "BOLD". And the icon that seems good on the "BOLD" is not full screen on the 7290, and we know, that there is a problem.  So, I followed the information contained in these two links to update my icon based on that screen resolution that we, to make my icon looks good no matter what device has a user.

    BB in Knowledge Center article - how to set an icon of overview

    BB Forum of Discussion on the overview icon

    Now on the 7290, I use an icon of size 32 x 32 pixels and on the "BOLD", I use an icon of size 64 x 64 pixels.  I know that 64 x 64 is not the recommended size for the "BOLD"... and it looks better for what I do.

    OK, so to enter some details, I have a main entry point, which has an icon associated with it (which is the icon that I have 'default', you can tell).  And it's the icon of my startup code updates (via HomeScreen.updateIcon (getHomeScreenIcon (), 0) and is what you see in the Applications folder (or on the main Menu, depending on what device, of course).)  And on the menu, when you click this icon, it brings my application in the foreground and here we go. It works just as advertised and is great.  I have the icon on the right showing on the right screen resolutions.  No problem.

    Is then where I run into trouble.  I have another point of entry, who calls my startup code and gets my application running in the background.  It has an associated icon also (once again just the icon I want 'default' before I can get the Update icon.  It is the icon that can be found on the Ribbon for switching applications (when the user presses ctrl-esc).

    And once again, in my startup code, I try to use - HomeScreen.updateIcon (getHomeScreenIcon (), 3); -Please note the different entry point number that corresponds to this entry point.  I checked the CAP file to determine the correct entry point number and this update still does not take effect.  I also tried each number from 1 to 5, no chance.  I can't get this icon to update.

    How to upgrade the icon that appears on the Ribbon for switching applications?  And if I can't be updated for a reason, how can I specify a different icon for different screen resolutions?

    Thank you, Tara

    PS. I use JDE 4.1.0.185, simulators and devices of 7290, 8100, 8300, 9000 (Bold).

    The issue of the HomeScreen.updateIcon do not update the icon displayed in the application of task switch has been resolved in BlackBerry handheld software version 4.7.0.  The only work-around from earlier versions is to have several versions of the application that are built with different application icons.

  • How to create multiple CSS navigation bars?

    Hello

    How to create multiple CSS navigation bars?

    I currently have the code below (and it works very well) for a navigation bar, but I'm trying to create navigation bars .  Can I just change the 'nav ul li a""NAV ul li b"(note the 'a' change to a 'b') or something similar?  I can not understand the correct coding...

    Thanks in advance for any help!  I very much appreciate quick and precise Adobe support team answers!

    NAV ul {}

    margin: 0;

    padding: 0;

    }

    NAV ul li {}

    list-style-type: none;

    float: left;

    Display: block;

    height: 60px banner;

    Width: 333px;

    text-align: center;

    line-height: 55px;

    do-family: Arial, Helvetica, without serif.

    font-size: 33px;

    }

    NAV ul li a {}

    text-decoration: none;

    color: white;

    }

    NAV ul li: hover {}

    background-color: rgb (0,0,255);

    }

    NAV li: hover ul a {}

    Display: block;

    color: white;

    }

    No, the 'a' you see is an html element, , you can not change this.

    It's very simple.

    You can create a class, the name you want (I used .yourclass), add it to the second

  • How to upgrade to iOS 10

    How to upgrade to iOS 10 on Ipod touch?

    Check below link it's simple, you must have 1.2 GB of free space and only iPod touch 6th generation will support.

    Update to iOS 10 - official Apple Support

  • How to upgrade PHP

    Just try to find how to upgrade PHP on El Capitan

    You will need to do this in terminal:

    https://coolestguidesontheplanet.com/upgrade-PHP-on-OSX/

  • How to upgrade a newly purchased iWatch series 1?

    My sister bought me an iWatch, series 1, end of August. She didn't know that series 2 is coming. I have not opened the package, how to upgrade to the new series 2?

    Hello

    Apple's Standard return policy is 14 days.

    Your sister can ask Apple if they will allow an exception, but I'm afraid that no one here can tell you what Apple decides (there is a community based on the user).

    Also note that the 1 series does not refer to this first generation watch. He referred to a new Apple Watch model that has the same characteristics as the original Apple Watch, with the exception of a new dual-core processor.

Maybe you are looking for

  • Extension of Weather Channel 1-Click

    What happened to my 1-Click Weather Channel extension? His is no longer in my toolbar of Safari? I don't the is not in the Apple extension so was I got it from. Anyone know if they took out a reason any possibly malware or a virus. If anyone knows ho

  • How can I change the tab settings so that when I manually opened a new tab, my home page opens in it?

    Internet Explorer provides the following options to open a new tab:"When a new tab is opened, open:-A blank Page-The new tab Page-Your first homepage. On Firefox 3.6.10, the only option is the new tab page. If you click on 'Close' an empty page is di

  • Chat popups

    Whenever I get a message in Skype as a popup with the picture of contacts appears, she does instead of a normal box showing with the contact person and the message. The main problem I have is that the image and the message of the contact will not dis

  • Satellite A30: question about XP service pack update

    I have a satellite A30 2.80 ghz - and that you have recently purchased a midi keyboard, but unfortunately you have XP (SP2).I only have xp. My computer works fine if I download the SP2 version as I've heard that it doesn't always.

  • 23 inch monitor W2371d: W2371d unable to power off, locked out

    When pressing the power bed button "Power Button locked" and will not shut of monitor