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)

Tags: BlackBerry Developers

Similar Questions

  • FF22 parameters adjusted to resize the large icons - but the text user interface - (bookmarks, etc.)-is too small to read... How to enlarge text in user interface only?

    I adjusted the FF22 settings to resize the icons large - but the text of the UI - (bookmarks, history, etc.)-is too small to read... How to enlarge text in user interface without enlarging the text of the page Web - or re - expand FF22 icons?

    Have you tried the extension?

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

  • How can I delete a file on my iOS device that I downloaded from my iCloud? I just want to keep the Preview on my iOS device without using my storage iOS for the entire file.

    How can I delete a file on my iOS device that I downloaded from my iCloud? I just want to keep the Preview on my iOS device without using my storage iOS for the entire file. This means that the file is still in the iCloud and available to be downloaded to any device.

    In practice, I want to be able to scan and download through my documents located in my iCloud and once I didn't need them on my iOS device I would like 'load their return to the cloud' to my storage of the iOS device is not used.

    Thank you in advance to the community!

    Max

    The only way I found to do that once a file has been downloaded is to remove it and add it again through either from Finder on Mac or iCloud.com.

  • How to use JSP as user interface

    Hello

    I use 10gR 3 OBPM.
    How to use JSP as a BPM project user interface

    Thanks in advance.

    Edited by: 804625 on October 22, 2010 22:58

    Hi Sid,

    First import the JSP page in your BPM workspace.
    In the flow of the screen where you have the interactive activity (you want to attach the JSP) declare a variable of type BPM (say jspObj) instance active then in activity interactive properties select the interactive BPM call, select the BPM object you defined (say jspObj) and select the Jsp custom radio button and select the jsp page in the customJSP folder.

    To make communication between the JSP and the BPM object, you must use the object of the BPM (say jspObj) in your JSP page.

    for example the text field using as follows:

    value ="" / > ".

    I hope this help you

    Sidonie

  • HP Support Assistant: older version give problems, how to upgrade to the latest version?

    Hello world

    My computer is a HP Pavilion laptop running Windows 7 Home Premium 64-bit. I have problems with one of the HP software programs pre-installed - HP Support Assistant. It appears once a week (it works for a while after Windows has loaded and then appears a screen) and I opened Assistant support and attempted to change his schedule, but he simply refuses to save the changes I have made to its settings. I noticed that the version number is 4.2.5.3. The program when searching for updates (manually triggered), cannot access HP servers, but fails to download updates, cannot gather information can not analyze the system and tells me that my computer has all the updates (which, given the number of HP Support Assistant version) ", is obviously not correct). So I ran HP Update (version is 5.001.000.014), but it says that I have the updates.

    Finally, via msconfig, I searched for HP Support Assistant, but he wasn't anywhere. However, while it was in operation (which slowed down the computer), I saw it listed in the Task Scheduler (under applications, I think).

    I did some reading, and it seems that the latest version of HP Support Assistant is version 5. How can I upgrade to the latest version? Other preinstalled software of HP update and HP Support Assistant that came with the laptop includes:

    Center of HP solutions-

    -HP Advisor

    -HP MediaSmart

    -HP Photosmart Essential 3.5

    -HP Smart Web Printing

    -the printer drivers and software for my HP all-in-one printer

    I disabled the following HP services as they could slow down the process of starting Windows:

    -HP Health Check (disabled via services.msc)

    -HP Digital Monitor (I think that it has been installed with the printer software. Disabled via msconfig)

    Can someone help me please? Thanks in advance for your time.-)

    Hello

    Most HP installers contain several languages and you should be able to choose German during the first part of the installation.

    I recommend you to uninstall your current version first by using programs and features.  When it is uninstalled, it is often a good idea to restart the laptop before proceeding with the installation of the latest version.

    All the best,

    DP - K

  • How to upgrade are the value of the column and the new column value created

    Hi all

    create the table xxc_temp

    as

    Select donnees_1 'AB103', 'AAA' data_2 data_3 '123', 'RED' data_4, NULL status in all the double union

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3, data_4 'BLUE', NULL status in all the double union

    Select donnees_1 'AB106', 'CCC' data_2, '333' data_3, data_4 'BLUE', the double NULL status

    create the table xxc_base

    as

    Select donnees_1 'AB103', 'AAA' data_2, '123' data_3 data_4 'RED', 'Inactive' status of Union double all the

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3 data_4 'BLUE' status 'Active' of all the double union

    Select donnees_1 'AB106', 'CCC' data_2, '333' data_3, data_4 'BLUE', 'Inactive' status of double

    I need to update the status column xxc_temp with xxc_base value of the status column and also if the user tries to insert new values/lines in the xxc_temp

    So how can I update the status column? I mean automatically set to day and also new values/lines

    I need to update only that are Inactive then these lines should be updated in the temporary table

    We can do this by using the stored function, but I need to update the new status of lines also

    Please help me

    Here's another way to do it, using VIRTUAL function column as expression to get the status of the other table

    CREATE or REPLACE FUNCTION GET_STATUS (pDATA_1 IN TANK) RETURN VARCHAR2 DETERMINISTIC

    AS

    vstatus VARCHAR2 (8);

    BEGIN

    SELECT status in vstatus FROM xxc_base WHERE donnees_1 = pDATA_1;

    RETURN vstatus;

    END;

    /

    DROP TABLE 'XXC_TEMP ';

    CREATE TABLE 'XXC_TEMP '.

    ('DONNEES_1' CHAR (5),

    "DATA_2" TANK (3).

    "DATA_3" TANK (3).

    "DATA_4' VARCHAR2 (4).

    'STATUS' VARCHAR2 (8) GENERATED ALWAYS AS (SUBSTR (GET_STATUS (DATA_1), 1, 8)) VIRTUAL

    ) ;

    INSERT INTO 'XXC_TEMP' (data_3, donnees_1, data_2, data_4))

    Select "AB103' donnees_1, data_2 'AAA', '123' data_3, 'RED' data_4 of any double union

    Select donnees_1 'AB105', 'BBB' data_2, '222' data_3 data_4 'BLUE' of all the double union

    Select donnees_1 'AB106', 'CCC' data_2 data_3 '333', 'BLUE' double data_4);

  • How to upgrade all the agenst with new alerts log list ignore

    Hi all

    I have a requiremnt for updating the list of exclusions for filters for journal alerts on my Oracle agents form, we currently have 170 + databases monitored then select them all and click on administer agenst isn't practical. one other way I can update all at the same time, can be via a script?

    See you soon

    Stuart

    Hello

    Apart from the filing of a case of pension for more than the most simple diagnosis is to identify the subsystem that is cause by generating thread dumps via "fms t" while the user interface is busy. The information can help to identify a known problem.

    Concerning

    Nils

  • How to upgrade to the MUSE to the latest version?

    I'm trying to update my version of MUSE CC. MAO said he is up to date, but I know there is a newer version. I tried uninstalling and reinstalling, but it still isn't the latest version. How can I install the latest version?

    Install the desktop application creative cloud using the link below: -.

    https://creative.Adobe.com/products/creative-cloud

    And check if you have the option to install the latest version of Muse.

  • How to upgrade at the same time a table on multiple files?

    I use Dreamweaver CS3 update web/file aspx pages. There is a table with 20 cells (5 x 4) in a single file, I need to be updated by adding a line more. What I can do. However, each cell is a link to another file, and each of these 20 files contains the same table. How can I update the table on a single file and easily, or at the same time, do the same for the other 19 files (preferably without copy and paste 19 times)?

    I have not to create these files, but I need to update. If you need more information, let me know. Thank you in advance!

    Arrays are identical codewise?

    If Yes, an Include server-side won't work well.

    Put the table code in an include file.  Add a side server specifying your 19 pages. Next time you need to edit your map, simply open the include file.  Edit, save, and download.  Voila!

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB

  • Satellite C660 - how to upgrade with the webcam internal?

    Hello!

    I just bought a satellite C660, however it did come with a webcam or a microphone, I need now.

    I note the slot above the screen that should accommodate a web cam - it is relatively easy to buy something to get into that and install it myself (I'm not very technical and is not a good range of tools)?

    Or, is it a reliable add-on camera / mic combination should I get?

    The camera lens is especially Skype videoconferencing. Might be interesting to make the recognition of faces too, but not absolutely necessary.

    Thank you!
    Chris

    Hello

    There are different models on the market with a different hardware configuration.
    Your laptop was released would accuse this cam.

    You can't pass this laptop with the internal webcam.

    I recommend that you buy a simple USB webcam, which can be connected to the USB port if necessary.

    Welcome them

  • How to upgrade all the record for a particular column in a table based on search criteria.

    Hi all

    I'm new to ADF. I have a requirement where I have to perform the update of mass on a table.

    Scenario:

    Ex: I have a search region manual dept. where I search with deptId: 20. I get 20 records in my table. now I have another area where I have an inputchoice list that contains all the column names that exist in the dept table. Beside that, I have a text box and a button update

    The user now, first research with dept id: 20 and click on the button Search, where it shows 20 record in the table. He then select an input choicelist(ex: ManagerId) column, then enter the new value in the decision-making box(ex: abc) then click on the button update.

    Now, I want to, all the records in the ManagerId column with dept id: 20 update with the new value 'abc '.

    Can someone help me with the code.

    Thanks in advance...

    Hello

    If you go to your VO and generate the ViewObjectImpl, here you can create a method that contains two parameters, 1 the name attribute and 2 the value.

    Then you can follow something as explained in this post:

    ADF tutorial: how to apply actions in bulk to a view object lines

    The only difference is that you must create a method like this:

    ' Public Sub updateAttribute (attribute String, Integer value) {}

    RowSetIterator iter = createRowSetIterator (null);

    While (iter.hasNext ()) {}

    Line = iter.next ();

    row.setAttribute (attribute, value);

    }

    }

    Then execute you who expose a customer interface and then after you filter your table according to your criteria just this method passing the correct parameters.

    Concerning

  • Tabular form - how to upgrade by with user access

    Hi all

    I created a tabular presentation with 20 columns editable with MRU and DSM.

    Now, I need to update column of database user connection apex for the updated records. How can I achieve this?

    Thanks in advance...

    Thank you

    Chandra

    Hi Chandra,

    You could do this with a database trigger and a code like this:

    column_user_modified := coalesce(apex_application.g_user,user);
    

    Kind regards

    Kees Vlek

    -----

    + If the answer to question please change replied and mark the appropriate post as correct / helpful. +

  • Satellite L675-10R - how to upgrade to the most recent display drivers?

    How to change the display drivers - AMD Radeon HD5650 to the newest.

    AMD is the new 11.11 on the site Web of Toshiba to download is 8.712.2.1. Some new games have performed better on the latest Radeon drivers

    Please don t forget you have laptop and not of office. There is big difference in support for mobile and desktop.

    Generally manufacturers doesn't support graphics card machines mobile and the responsibility is on the laptop manufacturers. Due to limited and specific design of cooling capacity that it is not possible to use the latest drivers you can find on the page of graphics card manufacturer s.

  • Can I get the lock event of user interface for a class that extends the Application class?


    Here's an article in the knowledge base on the subject:

    http://supportforums.BlackBerry.com/T5/Java-development/alert-a-BlackBerry-Smartphone-user-from-a-BA...

Maybe you are looking for

  • Ideas for driver control of motors stepper with USB-6009

    I have a stepper motor driver that supports a digital input for the control signal.  Each rising edge on the driver entry corresponds to the movement of a single step.  I have two devices USB-6009.  Is it possible to generate a digital signal with th

  • Cannot delete all emails in hotmail

    Why hotmail page layout changed, like as it was before. I tried to delete all the emails at once, but would not go so had to delete one at a time, and then to remove the last email he just stood there. And I don't like the layout, much prefer the oth

  • Live-mail, Hot-mail, and other microsoft accounts

    I disabled the cookies and then could not sign. Then I reactivated them and now unable to connect... Help, please... This affects all services live and other accts microsoft I have.

  • Vista repair disc

    If a 32-bit computer family vista premium problems file OS vista ultmate 32 bit CD can be used as the repair disk?  Please notify

  • Install blackBerry Smartphone App

    Hello 2nd round I want to install an application from a source of nonAppworld. I have several options, including an option QRscan. Which one should I use and / ground how do I use the QRscan?