Custom AlternatingCellRenderer BB10 Air 2.0 sample does not work

The following example of the custom AlternatingCellRenderer class of the BB10 Air 2.0 Documentation throws the following error in Flash Builder 4.6:

The path location type Resource Description
1144: interface holder get method in namespace qnx.fuse.ui.listClasses:ICellRenderer is implemented with an incompatible signature in class MyCustomCellRenderer.    MyCustomCellRenderer.as

Example of documentation: https://developer.blackberry.com/air/beta/apis/qnx/fuse/ui/listClasses/AlternatingCellRenderer.html

Example Code:

package
{
    import flash.events.Event;
    import flash.events.MouseEvent;

    import qnx.fuse.ui.buttons.CheckBox;
    import qnx.fuse.ui.listClasses.AlternatingCellRenderer;

    public class MyCustomCellRenderer extends AlternatingCellRenderer
    {

        private var myCB:CheckBox;

        public function MyCustomCellRenderer()
        {
        }

        override protected function init():void
        {
            super.init();

            myCB = new CheckBox();
            myCB.x = 250;
            myCB.y = 10;
            this.addChild(myCB);

            myCB.addEventListener( MouseEvent.CLICK, onClick );
            //add this listener in order to block the mouse down event from the list
            //see the onMouseDown method to see how to stop the event propagation
            myCB.addEventListener( MouseEvent.MOUSE_DOWN, onMouseDown);
        }

        //this will prevent the cell from being selected when the button is clicked down
        private function onMouseDown(event:MouseEvent):void
        {
            event.stopImmediatePropagation();
        }

        private function onClick(event:MouseEvent):void
        {
            dispatchEvent( new Event( Event.SELECT, true, true ) );
        }
    }
}

I already went through this guide and did all this. Here are the screenshots of my configuration.

Tags: BlackBerry Developers

Similar Questions

  • T410 AiO customer CAPS, NUM, and scroll keyboard stop does not work with PCoIP view desktop computers

    We have problems with our t410 AiO customers, where the CAPS, NUM and scroll stop lights on the keyboard do not work with view PCoIP desktop computers.

    I found the below information and a work around:
    If you use the Protocol PCoIP to display on a client system Ubuntu 10.04, the CAPS Lock, NUM Lock, and Scroll Lock lights on your keyboard do not work with desktop view. Although the lights do not work, the keys themselves work.
    Solution: Set the following configuration in a configuration file, such as/etc/vmware/config:
    mks.keyboard.useXkbSetNamedIndicator = 'TRUE '.

    The problem is this difficulty is already in place via the latest version of the HP, Z6A440, software that is installed within our Organization.

    What I discovered, is that the model that we initially bought for the test doesn't have this problem.  However, the models that we ordered since that time, DO have the problem and the solution above does not work as expected.

    The model originally ordered for test is still a customer of IOA t410... but there are 4 "under models' for customers of IOA t410... that we have to test is a H2W20AA, while those we receive and distribution are the H2W21AA model.

    No idea why, when connected to the desktop from view, that models of H2W21AA have this problem?

    H2W20AA is with Teradici PCoIP optimized, which can support PCoIP better, but H2W21AA is not with Teradici. That's the difference.

    However, the issue that you are experiencing does not matter in fact, we have not heard of this problem before. I would suggest that you do the following to see if there is no change:

    1. Go to download the latest VMware View 2.3.4 for t410, follow the instructions to install.
    2. If suggestion 1 does not work for you, try to connect to another VM group or set up a new machine virtual clean
    3. Call HP service center to save your problem for further investigation if the suggestion above did not work

  • Air Navigator: djvu plugin does not work

    Hello

    I'm building an air Navigator for my business using the component HTML.

    It works very well in general but my company made extensive use of the technology of djvu for viewing of images online.

    Problem: the djvu plugin does not work on the air Navigator. After you have installed the latest version of the plugin (6.1.4) repeat me that it is necessary to install the plugin. (it works well with other browsers, also with google chrome).

    All the world has already met a similar problem?

    Thanks in advance

    Marco

    Hi Marco,.

    unless something has changed between the versions documented limits include:

    -support for the plugin (version 8.1) or later version PDF - with api to check the availability of DURATION if it is available on the machine

    -support for the version of the Flash plugin (without external dependencies)

    So that other plugins are not supported:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=AboutHTMLEnvironment_2.html

    Kind regards

    Peter

  • BlackBerry.Launch.newmap sample does not work

    Hi people,

    I try to open the maps app from a web page. I was able to start the maps app, but it does not show the location. Now, I'm not even able to open the application. I use the example of code to:

    http://docs.BlackBerry.com/en/developers/deliverables/11849/blackberry_launch_971534_11.jsp#Blackber...

    that is to say:

    blackberry.launch.newMap({)
    "latitude": 4346518,
    "longitude":-8052237
    });

    I also use in similar problems with the launch.newContact and the launch.newAppointment. I can't get the dates informed correctly according to the examples.

    I coded the javascript code in an asp.net page that is published on my local web server and I am accessing the page via the simulator of blackberry 9800.

    Anyone have any ideas?

    Thank you

    Carlo.

    Well, I think I found the solution. I put in the code samples and I managed to get it to start up the card. I reduced the code until I'm at the point where I found that what missed me was:

    blackberry.location.refreshLocation ();

    I called who, before calling the launch.newMap. Is this really what was needed or is it just a case of what I call the programming of pasta: throw the code to it and when when something sticks, it's done.

    Thank you

    Carlo.

  • APP created with air for Android but does not work on the emulator to test - help!

    When I create an application using Flash CS5.5> > > AIR FOR ANDROID.
    After creating a test page I'm going to publish parameters and Send le App on Emulator RELEASE of ... Le APP is load correctly but as soon as you start the emulator, give this error " application XXnameappXX (process air .)" XXnameappXX) has stopped unexpectedly. Please try again"Please Help!

    "Okay I find this before ' Adobe Flash CS5/AIK2.5/runtimes/air/android/emulator/Runtime.apk" and install it on the android emulator! Now work all that I hope so! Thanks for your response!

  • UCM, RIDC sorting using custom metadata does not work

    I'm doing a search using GET_SEARCH_RESULTS and I am trying to sort the results, but unfortunately it does not work. I get this exception:

    Unable to retrieve search results. Error occurred while retrying the search query. Error occurred while processing. Unable to return results.
    oracle.stellent.ridc.protocol.ServiceException: Unable to retrieve search results. Error occurred while retrying the search query. Error occurred while processing. Unable to return results.

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:142)

    at oracle.stellent.ridc.protocol.ServiceResponse.getResponseAsBinder(ServiceResponse.java:108)

    to the sample. Connection.main (Connection.Java:661)

    The binder is like:

    binder.putLocal ("IdcService", "GET_SEARCH_RESULTS");

    binder.putLocal ('ResultCount', '10');

    binder.putLocal ("QueryText', 'xDocAudvTitle < contains >"togados"');

    binder.putLocal ('SortField', 'xDocAudvTitle');

    binder.putLocal ("SortOrder", "Asc");


    If I do not use the sortField and SortOrder parameter, the query retrieves the correct results.


    Any idea on this exception?


    Kind regards

    Juan Carlos.

    Thank you all,.

    The problem is that the custom metadata field is of type Memo, both because of its size is not optimizable, so I can't sort by using xDocAudvTitle.

    I'm done with the help of another field to sort.

    Once again, thank you to you two.

    Kind regards

    Juan Carlos.

  • custom ring tone does not work

    After the update this morning I hope this question was correct.

    I use a custom for some people to know how ringtone call by ringing. But nothing changes.

    It does not work.

    Nobody knows or has heard of this problem?

    Thank you

    Try these general steps. They could help.

    1 reset your iPhone by pressing and holding the sleep/wake and home buttons.

    2 disconnect you from your iCloud account and reconnect again.

  • SHIFT key does not work on the bluetooth keyboard connected to the Air ipad on ios 10

    the ipad reboots when we use the uppercase key on the air of the iPad. And in some cases, it shows the changing language selection when the SHIFT key is pressed. The keyboard is perfectly fine and works with ipads o

    I also have the same problem.

    I use 2 keyboards, Bluetooth,

    A wireless Apple keyboard - I mean Magic Keyboard

    The other is universal foldable keyboard from Microsoft

    After updating iOS 10.0.1, Caps Lock does not work, but change language or restart the iPad or it's like restarting the application (kick out of the home screen),

    I thought it happened to MS only the product, but when I connected my Apple Magic Keyboard, the same thing happens!

    Difficulty please, Apple!

  • "Hey Siri" does not work on iPad Air after updating iOS 10

    iPad Air does not "Hey Siri".  On the other hand, Siri works when I hold the home button.  I disabled Siri and then turn it back on and did the same for the Air iPad and not luck.  My iPhone IS working as it should with Siri.

    Hi Charles!

    I see that you are curious, why "Hey Siri" does not work for your iPad Air after update to iOS 10. I know it's important to make sure that everything works correctly after an update. I'm happy to help you!

    Looks like your iPad model is not compatible with this feature, unless it is plugged into a power source. The problem persists while your iPad to the that air is charging? Take a look at the following Web site:

    Enable or disable the "Hey Siri" and customize the functionality

    To ask questions without pressing the Home button, plug your electrical appliance and turn on ' Hey Siri. With iPhone 7, iPhone iPhone iPhone 6s, 6s, 7 more more, iPhone and iPad (9.7 inches) Pro SE you can use this feature without plug power.

    Use Siri on your iPhone, iPad or iPod touch - Apple Support

    Have a great day!

  • It does not work with macbook air 2008! What should I do?

    It does not work with the macbook air 2008 os x 10.5.8. What should I do?

    What does not work?

    More details please!

  • no service to customer without having to pay when the product does not work?

    no service to customer without having to pay when the product does not work?

    You will need to tell us more of the history for anyone to be able to give advice. The WHOLE story would be great!

  • MacBook Air 11 Facetime camera does not

    A friends MacBook Air 11, model A1370. After the installation of El Capitan the facetime camera has stopped working (No. Camera work icon is displayed in all applications). I tried all the solutions I could find:

    • Reset SMC
    • Reset the PRAM
    • sudo killall VDCAssistant & sudo killall AppleCameraAssistant

    Nothing seemed to fix it, so we left in East. And then surprise, after I installed a Digital Camera RAW compatibility update the camera started working. But our happiness was short-lived, after having put the mac to sleep it stoped working again. I have tried everything but no luck.

    I suspect that there is a process that runs after an update is installed, that somehow erased the bug in the operating system and that was why the camera started working.

    Does anyone have an idea why a camera raw compatibility update started the camera, or why it does not work? Thank you.

    1. the present proceedings is a diagnostic test. It doesn't change anything for the better or worse and therefore, by itself, will not solve the problem. But with the help of the results of the tests, the solution may take a few minutes, instead of hours or days.

    The test works on OS X 10.8 ("Mountain Lion") and later versions. I do not recommend running it on older versions of Mac OS X. It will do no harm, but it will not do not much good.

    Do not be put off by the complexity of these instructions. The process is much less complicated than the description. You make the tasks more complicated with the computer all the time.

    2. If you do not already have a current backup, please back up all the data before doing anything else. The backup is needed on the general principle, not because of what anyone in the test procedure. Backup is always a must, and when you encounter any kind of problems with the computer, you can be more than the usual loss of data, if you follow these instructions or risk not.

    There are ways to back up a computer that is not fully functional. Ask if you need advice.

    3 here is instructions to run a UNIX shell script, a type of program. As I wrote above, it doesn't change anything. It does not send or receive data over the network. There is no to generate a report on the State of the computer human readable. This report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents for me or someone else.

    You should ask yourself if you can believe me, and if it is safe to run a program at the request of a foreign national. In general, no, he's not sure, and I encourage it.

    In this case, however, there are ways for you to decide if the program is safe without having to trust me. First of all, you can read it. Unlike an application that download you and click to start, it is transparent, anyone familiar with the code can check what it does.

    You may not be able to understand the script yourself. But variations of it have been posted on this site several times over a period of years. One of the million registered users to have read the script and set off the alarm if it was dangerous. Then I wouldn't be here now, and you would not be reading this message. See, e.g., this discussion.

    However, if you cannot satisfy yourself that these instructions are safe, do not follow them. Ask other solutions.

    4. here is a general summary of what you need to do, if you decide to go forward:

    ☞ Copy text from a particular web page (not this one) to the Clipboard.

    ☞ Paste into the window to another application.

    ☞ Wait for the test to run. It usually takes a few minutes.

    ☞ Stick the results, which will be copied automatically, in a response on this page.

    These are not specific instructions; just a glimpse. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait and paste it again. You don't need to copy a second time.

    5. try to test in conditions that replicate the problem, to the extent possible. For example, if the computer is slow intermittently, run the test during a downturn.

    You may have started up in safe mode. If the system is now in safe mode and works pretty well in normal mode to test run, restart as usual before running it. If you can test only in safe mode, this.

    6. If you have more than one user and a user is affected by the problem, and the user is not an administrator, and then run the test twice: once under the affected user and one administrator. The results can be different. The user that is created automatically on a new computer, when you start it for the first time is an administrator. If you are unable to log in as an administrator, verify that the user concerned. More personal Mac have only one user, and in this case this section does not apply. Don't log in as root.

    7 load the linked web page (the site "Pastebin.") Press the combination of keys command + A to select all the text, then copy it to the Clipboard by pressing command-C.

    8. start the Terminal application integrated in one of the following ways:

    ☞ Enter the first letters of his name ("Terminal") in a Spotlight search. Select from the results (it should be at the top).

    ☞ In the Finder, select go utilities ▹ of menu bar or press the combination of keys shift-command-U. The application is in the folder that opens.

    ☞ Open LaunchPad and start typing the name.

    Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing Command + V, then press return. The text that you pasted should disappear immediately.

    9. If you logged in as an administrator, you will be prompted for your login password. Nothing displayed when you type. You won't see the usual points instead of the characters typed. Make sure that caps lock is turned off. Type carefully, and then press return. You can get a warning to be careful. If you make three unsuccessful attempts to enter the password, the test is still running, but it will produce less information. If you do not know the password, or if you prefer not to enter, just press back three times at the password prompt. Yet once again, the script will run.

    If the test takes much longer that usual to run because the computer is very slow, you can be prompted for your password a second time. The permission you grant by entering it will expire automatically after five minutes.

    If you are not logged as an administrator, you will be prompted for a password. The test will run. It just will not do anything that requires administrator privileges.

    10. the test may take a few minutes to run, depending on the number of files you have and the speed of the computer. A computer that is abnormally slow may take more time to run the test. During execution, a series of lines is displayed in the Terminal window like this:

        Test started
            Part 1 of 4 done at: … sec        …        Part 4 of 4 done at: … sec
        The test results are on the Clipboard.
        Please close this window.

    The intervals between the parties will not be exactly the same, but they give an approximate indication of progress.

    Wait for the final message "Please close this window" appear - again, usually within a few minutes. If you don't see this message in about 30 minutes, the test probably won't be completed within a reasonable time. In this case, press the Ctrl + C key combination or the point command to stop it. Then go to the next step. You will have incomplete results, but still something.

    In order to get results, the test should be allowed to perform or be stopped manually as shown above. If you close the window of the Terminal, while the test is still running, the partial results will not be saved.

    11. when the test is completed, or if you manually stopped, leaving the Terminal. The results have been saved to the Clipboard automatically. They do not appear in the Terminal window. Please do not copy from there. All you have to do is start a response to this comment and then paste it again by pressing Command-V.

    At the top of the results, there will be a line that begins with the words «Start time.» If you do not see that, but rather to see a mass of gibberish, you wait for the message "close this window". Please wait and try again.

    If personal information, such as your name or e-mail address, appear in the results, make anonymous before posting. Usually it will be not necessary.

    12. in the validation of the results, you see an error message on the web page: "you have included content in your post that is not allowed", or "the message contains invalid characters." It's a bug in the software which manages this website. Thanks for posting the results of the tests on Pastebin, then post here a link to the page you created.

    If you have an account on Pastebin, please do not select private in exposure menu to paste on the page, because no one else that you will be able to see it.

    13. When you are finished with the test, it is gone. There is nothing to uninstall or clean.

    14. This is a public forum and others can give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but all that you can not be. For others who choose to run it, I do not recommend that you view the results of test on this Web site unless I ask.

    15. the related UNIX shell script is a notice of copyright. ASC readers can copy for their personal use. The whole nor any part can be redistributed.

  • Third party material does not work on iPad 2 Air

    I recently brought an iPad 2 Air, but it was found that some of my third-party devices do not work with it. I also own an iPad mini, so I try the equipment on the mini, it works. I've been worrying is that my iPad 2 Air was a problem of equipment causing it or what. Two iPads running iOS 9.3.1.

    My Equil Smartpen 2, it can connected on bluetooth, but the software does not recognize that the pen was connected.

    My I-Flash Drive have the same problem, the software does not recognize it and hang.

    No matter what iPad 2 Clean Air there have the same problem, or should I send it for repair?

    Denny Lee

    First of all, I would like to try a reset by pressing the power and Home keys until the Apple logo appears.

    If this does not work, I suggest that you visit an Apple store (with all your gear) and ask them to test/diagnose the problem.

    Barry

  • updated my iPad to 9.3 air activate iPad display does not not my account information, but the Mac computer accepts my Apple ID and password

    updated my iPad to 9.3 air activate iPad display does not not my account information, but the Mac computer accepts my Apple ID and password

    A lot of people is affected by this problem, and Apple has worked on the issue.  Some found the following steps useful for this issue:

    Go to iCloud.com and select settings once you are connected.  Click on your device listed there and remove them from the account (not typing not erase or lost mode).  Restart your device and must ignore this lock of Activation screen because you actually disabled the lock by removing the device for iCloud.com

    I hope that helps!

  • When I try to buy a book, it seems it download but does not work. If I am able to get a sample and try to buy the sample goes far &amp; no new book. There are funds in my account iTunes Help!

    When I try to buy a book, it seems it download but does not work. If I am able to get a sample & try to buy the sample goes far & no new book. There are funds in my account iTunes Help!

    Mine just did the same thing. I've even went and was sold again in case I did something wrong the first time. Still no book! I had to happen a few weeks ago, but when I closed iBooks and reopened, the book was there. This time that didn't happen.  I prefer to read on the iBook, but I'm not if my books download

Maybe you are looking for

  • How can I disable the homepages of synchronization?

    I have Firefox Sync enabled on three devices, a desktop, a laptop and an android phone. All three have tabs sync disabled. When I open Firefox on my laptop that it opens with the tabs on startup I use on the desktop. How can I keep separate without t

  • Need help with installing the drivers on the laptop Satellite Pro

    I reinstalled windows xp with drivers Utiity chip, Lan, sound Driver realtic, ATI Display Driver, I can't put my computer on standby, which driver should I for this.Also, I went into the Device Manager and the following drivers are highlighted in yel

  • Equium M40X - help Touch Pad disabled - how to restore?

    Hello I seem to be disabled the touchpad somehow and can point only via a mouse. It would be appreciated if someone could give advice on how to restore the touchpad if Graeme

  • Access the BIOS in Windows 8.1.64

    How to access the BIOS screen when the computer restarts?

  • Help installing graphics card

    Hi, I recently bought a new graphics card for my computer trying to install it, with the new card, that I can't in front of the screen of the bios at startup. I don't know much about computers, but am guessing it's a compatibility issue with some of