How do to make persistent status of ObjectChoiceField

I have an ObjectChoiceField on my screen where users can select an option. Now, I want to maintain this status that the user selected when it closed the app. How can I achieve this. Please help me

I used the storage for this but the State is not kept I receive the data that the user has selected before closing the application.

persist the selected index, using getSelectedIndex.
At startup, read the value and use setSelectedIndex.

Tags: BlackBerry Developers

Similar Questions

  • How to make the status of concurrent program error

    Hi Experts,

    I've written a PL/SQL package procedure, created an executable w / values for my 2 IN parameters and he attributed to a simultaneous program to the e-business suite.

    The specification of the procedure looks like this:
    PROCEDURE PROC1 (
    errbuf OUT NOCOPY VARCHAR2 ,
    retcode OUT NOCOPY NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char IN VARCHAR2 
    );
    Here my requirement is like this,

    How to make the status of the program contributing to the error even if the program successfully completes.
    Please let me know how?

    Thank you
    Suman V.

    Hello

    To give an error output, simply put the RETCODE contains 2
    To give a warning output set to 1
    for and OK output set to 0.

    If your procedure may be:

    procedure proc1 (errbuf OUT NOCOPY VARCHAR2,
    OUT NOCOPY RETCODE NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char in VARCHAR2
    ) IS
    BEGIN
    RETCODE: = 2;
    errbuf: = ' this CR WRONG because I wanted it ';
    END;

    This will give you an error.
    It may be good to your CR PLSQL like this:

    procedure proc1 (errbuf OUT NOCOPY VARCHAR2,
    OUT NOCOPY RETCODE NUMBER,
    p_contract_number IN VARCHAR2,
    p_end_date_char in VARCHAR2
    ) IS
    BEGIN
    RETCODE: = 0;
    return;

    exception
    while others then
    RETCODE: = 2;
    errbuf: = "an error has unhandeled."
    return;
    END;

    This way execptions generate an error.

  • How can I make icons clickable notification?

    Hello

    I am writing an application that runs at startup and is a background service. I have an icon that appears in the ribbon (?) at the top, alongside the missed calls and text message notifications.

    My question is, how do I make my clickable icon as the icon of missed calls? OR on non touch devices, how can I leave the focus of the user on the icon using the trackball?

    The reason why I want it to be clickable/Active is just if I post a status message and identification number.

    Thanks for the help!

    Welcome on the support forums.

    the class that you are referencing is
    http://www.BlackBerry.com/developers/docs/6.0.0api/NET/RIM/BlackBerry/API/MessageList/ApplicationInd...

    as much as I know there is no way to implement this feature, it seems that RIM uses the internal API to get the behavior of native applications.

  • Homegroup that my pc can't find the other pc, it seems that the Peer Networking Identity Manager service is not running. How can I make it work

    I lost contact with other computers in collective housing. It would seem that the Peer Networking Identity Manager service (p2pimsvc) does not work. How can I make it work?

    Hi Ken Jones571,

    ·         Did you do changes on the computer before the show?

    I suggest you to set the service to automatic and check if this is useful.

    a. click the Start button and type Services in the Start Search box and press enter.

    b. find the Peer Name Resolution Protocol (PNRPsvc) services or services Peer Networking Identity Manager (p2pimsvc), set it to Automatic to clicking on the service and selecting Properties and change the Startup type to Automatic.

    Method 1: I suggest you try a clean boot and check if the problem persists in the boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

     

    Note: After troubleshooting, be sure to configure the computer to start as usual as mentioned in step 7 of the article mentioned above.

    Method 2: It could be that the NVRP svc and p2pimsvc is corrupted, remove entry can help you solve your query. Check the following location and delete the file idstore.sst

     

    C:\Windows\ServiceProfiles\LocalService\AppData\Roaming\PeerNetworking\idstore. OSH

    Let us know if that helps.

  • How can I make US international default keyboard?

    Hello. I have two keyboards responsible, U.S. and international us. How can I make US International primary? In Control Panel, the input method, the one I use is listed as US International is not a real language. So I continue to have go with the key windows + SPACEBAR. Any ideas? Thanks in advance.

    Hi Bernard,.

    Let us, follow these steps and check the status.

    1. go to control panel and click language.

    2. click on options.

    3. in the input check method that only US International figure and remove other methods of entry from the list.

    4. Once this is done, click on save and restart the computer for the changes to take effect.

    Response with the State of the question and we will be happy to offer you our help.

  • How can I make Apple sent an official request for Andorra in the list of international codes?

    Apple acknowledges that Andorra Telecom (Mobiland) is an approved operator.

    However it does not include the international dialing code of Andorra (+ 376) in the list of phone prefixes in the country.

    This prevents verification services, such as in two steps and two-factor authentication.

    How can I make Apple sent an official request for Andorra in the list of international codes?

    Thank you.

    Return of goods - Apple

  • How can I make double click to single click to open files?

    How can I make double click to single click to open files?

    See:

  • How can I make the work/look like a Thunderbird 2 Thunderbird?

    I used Netscape/Mozilla/Thunderbird Mail since the middle / end of the 1990s and was disappointed by the changes after Thunderbird 2, so I went years of Claws Mail, but it is not enough for everything. How can I make Thunderbird current work/look like version 2? In other words, I would turn off the tabs for messages & research, including all traces of what it looks like a label, or space curved GUI / additional shadow separated, so also have only a single search box that will search and display in the current folder box and keep the menus easy to use (with shortcuts that appear when you type) standard for GUI programs While getting rid of the imitation chrome button. I guess that the tabs are okay for things like dealing with Add-ons, but that's all. Maybe there are other things I can think. I know that most/all this can be done in terms of configuration and I think a lot of people would like that there is a full article on it. Virtually everyone, many people that I talk about e-mail also let Thunderbird for all these reasons, of it being too influenced by web browsers, and the IRC channel is virtually dead, so I came here, hoping that this place is not as dead with what happened with the project (announcing that no major update will be When most of the people preferred it maybe before the latest GUI major updates)

    Seriously. You're in the minority, I think.

    No one took the trouble with this stuff since V3 came out. but I wrote a blog postabout this 5 years ago and Mozillazine did a knowledge article database that went further than my blog post. But I wanted to just my menu bar headings message and back small Mozillazine entered CSS change and I think some that can be made obsolete by Australis was two years ago. But if you want to go.

  • How can I make YouTube playback buttons and other plug-ins more great because they are so tiny?

    How can I make YouTube playback buttons and other plug-ins more great because they are so tiny in Firefox? I tried some suggestions dealing with entering "subject: config ' in a fresh browser, but does not. I also downloaded the add-on called "Theme font & size changer", but that no longer works. So I'm reaching here that it was a suggestion that offered another user here.

    Ah, Yes, that's - a ultra high resolution (dots per inch) display. It is a known problem in Flash Player, which Adobe is working on fixing.

    In the meantime, you can get some videos to have normal size controls from the Youtube HTML5 video player:
    In Firefox, go to https://www.youtube.com/html5 and click on the button "request the HTML5 player.

  • How can I make Android V35 behave like the V24?

    I use FF on Android, I've been holding until the update since 24 V for all newer versions will not auto play mp3 for download without interaction. I use this to play on Google voice email messages. How can I make 35 V behave like a 24 V?

    Thanks Roland, I guess all I can ask is that you can do occur in future releases and maybe make an adjustment if it is a problem for other users to access this feature.

    Thanks Bob

  • How can I make my smaller mailboxes, so that all the stuff does not appear after that I have opemed it?

    The email I'm reading is very large with a lot of things that I did not need to see. How can I make my mailbox smaller?

    Remove the stuff that you don't need to see and to compact the folders later.
    http://KB.mozillazine.org/Compacting_folders

  • Firefox keeps displaying old site, ff mobile detects the new site. How can I make Office go to the new site?

    I moved my site from the old host of godaddy. updated the dns at register.com. On my phone android with firefox, I can see the new site, after I dropped the wifi and went to the data. On my desk and my husband two computers, we can only see the old site, even after clearing cache. How can I make Firefox displays the new site?

    You can reload webpages and ignore the cache to refresh potentially stale or corrupt.

    • Hold down the SHIFT key and click the Reload button
    • Press 'Ctrl + F5' or 'Ctrl + Shift + R' (Windows, Linux)
    • Press 'Command + shift + R' (Mac)

    You can delete all data stored in Firefox with a specific area through "Forget this Site" in the context menu of a history entry ("" history > view history "or" view > sidebar > History "") or via the subject: permissions page.

    Using "Forget this Site" will delete all data stored in Firefox in this area as bookmarks, cookies, words of past, cache, history, and exceptions, so be careful and if you have a password or other data from that domain you don't want to lose then check that back up these data or make a comment.

    You can't recover from this "forget" unless you have a backup of the files involved.

    It has no lasting effect, so if come back you on such a 'forgotten' site, then the data of this Web site will be saved once more.

  • How can I make a permanent change in the zoom level?

    I want to know how I can make a permanent change is the zoom level? I don't want to constantly have to change the default value of 100% whenever I go to another page. Thank you.

    Hello

    You can also use the NoSquint add-on to change the zoom level by default for all websites at the same time. After setting your zoom level, you can adjust the zoom on different sites and set the options for NoSquint remembers the settings for each site.

    After installation of NoSquint, go to the Add-ons page to define the settings for each site:

    • Tools (or

      ) > Addons > Extensions

    • Click on the button 'Options' of NoSquint
  • How can I make iOS safari bookmarks 9

    How can I make a bookmark in Safari in iOS 9? My wife Samsung has bookmark icons that appear on the desktop. Can I do this?

    To Add a site to your Favorites in Safari, follow these steps. First of all, make sure you are at the top of the Web page so that you can see the address bar. Look at the bottom and tap and HOLD the third icon (it looks like a page).

    If you hold down the icon a popup appears:

  • How can I make a list of all bookmarks as my homepage?

    How can I make a list of all bookmarks as my homepage?

    You can set one of these pages as startup page:

    • chrome://browser/content/places/places. XUL
    • chrome://browser/content/bookmarks/bookmarksPanel.XUL

    The first one opens the Manager of bookmarks (library) and the second the bookmarks that see you in the box to Favorites (Ctrl + B; View > sidebars)

Maybe you are looking for