Targeted custom HorizontalFieldManager does not click on Storm

Hello everyone!

I am facing a problem to make a compatible application to the storm. This application contains some managers of land and within a and that we have a list of custom HorizontalFieldManagers.

These fields are accept touch and to implement the development, we simply implement the code below:

protected boolean touchEvent(TouchEvent event){
    switch(event.getEvent()){
    case TouchEvent.DOWN:
        if(!this.focused){
            this.setFocus();
            invalidate();
        }
        break;
    }
    return false;
}

So, if you click directly on a ground without an accent, it works as expected. But if the field is already concentrated the click does not work! NavigationClick method is not called. In the hand of the command, as shown above, if the field is not well centered the navigationClick is called accordly.

protected boolean navigationClick(int status, int time) {
    return clickListener.onNavigationBallClicked(this, status, time);
}

What we need to do to handle that click when the field that is already worn? Or better yet, what we're doing wrong?

Thank you!!!

Sorted!

The trick is below:

protected boolean touchEvent(TouchEvent event){
    switch(event.getEvent()){
    case TouchEvent.DOWN:
        if(!this.focused){
            this.setFocus();
            invalidate();
        }
        break;
    case TouchEvent.UNCLICK:
           return clickListener.onNavigationBallClicked(this, 0, 0);
    }
    return false;
}

Tags: BlackBerry Developers

Similar Questions

  • my art custom brush does not appear in the brush palette

    Hello

    I created a custom art brush, but it does not appear in the brush palette. (I draw a shape, I drag it to the brush palette, I choose Art Brush, I see the Art brush Options window, I do all the settings, I click ok but my art custom brush does not appear in the brush palette.) It only happens for Art Brush. Please help if anyone knows why?

    Thank you

    Check the menu popup palette of brushes, this would happen if the art brushes is not checked.

  • the custom words does not appear in my iPhone

    Hello

    I joined my iPhone IOS 10 6 more and I noticed that the custom words does not appear in my iPhone, even if I have them in my iTunes library. I signed up with the same Apple ID on all devices. Very few of them, I can access the lyrics in my phone, but not all of them (as he used to be in iOS 9)

    any help is appreciated.

    Thank you

    Ahmed

    I downloaded a program on my Mac (no app store unfortunately) called "get lyrical". automatically add lyrics to iTunes. Then in iTunes file > library > Update music library to iCloud. doing this during the last 20 minutes and so far it seems to work.

  • My custom workspace does not randomly.  Restart the application sometimes fix it.

    Y at - it a fix for the problem of my custom workspace does not not every time?  I was hoping that it was just a problem with CC2014.  I'm under CC2015 now.

    Quit Illustrator

    Run disk utility and set your permissions.

    Finder (hold down the Option key) > select Library > obtained in this folder

    / Library/Application Support/Adobe/Adobe Illustrator 19.

    Adobe Illustrator 19 and rename old Adobe Illustrator 19

    Start Illustrator

    I would upgrade to El Capitan.

  • Drawing a custom profile does not work for me. It works for you?

    Drawing a custom profile does not work for me. It works for you?

    I can only apply on an existing line, but cannot make a new one with the selected profile. In fact if I change the profile other than the default uniform I also can't draw a new stroke with any other width than the default 1 point. This does not seem normal.

    Use the SC5 on a PC.

    You have "Art has basic appearance nine" checked in the appearance Panel Menu? If Yes... Clear the check box, and then try again.

  • Customer service does not meet the United States relative to the Compact Z3 repair

    Hello and happy new year!  I was wondering if anyone has experience with sending in a Compact Z3 for repair/replacement under warranty in the United States.  I live chatted and called several times and I can't get any information on the status of my repair or when I get my phone back.  I wonder if you guys could get some advice on what to do next.

    My Z3 Compact suddenly started having battery problems (first similar to this: http://talk.sonymobile.com/t5/Xperia-Z3-Compact/Battery-levels-jumping-randomly-and-not-charging/td-... and then it stuck at 50% and no loading or unloading).  My phone is under warranty until 2017, so I called, got an RMA number and sent him into their repair center in Laredo, Texas.  He arrived on 12/14, and here's the problem: no one can give me an update as to what is happening.  Many cats live and e-mail gave no information.  After a week, I called their customer service line and they said he was being sent to a Manager, who was supposed to send me an email in the next 24 to 48 hours, but didn't.  After the second week, I called again, and it's the same thing (promised an email of a Manager, who I have not received).

    I was told at the beginning that since my phone is an international model, they may have to order parts and could not give me an ETA, but they said that most of the repairs are completed within 14 working days.  They had my phone for at least 10 working days now (and 2.5 weeks in total), and I really should hear a kind of update now.  I'm trying to be patient because it's the holidays and I'm sure their technicians to repair a bit of time off the coast, but some communication would be the bare minimum of acceptable customer service.  At the very least, if Sony does not include automatic updates, I should be able to get some info by calling, instead of this ridiculous evasive.

    What else can I do to get information on the status of my claim?

    I feel your pain. I had a similar lack of information when the screen back of my cracked Z3C randomly after 3 days of property. He was sent to Laredo. I never had an update... called at least twice to get an update and told me I would soon receive a response and how if yes or no the repair would be covered by the warranty.

    Two weeks past, and all of a sudden I get a box from Sony with my phone repaired on the inside. No updates, no notification, no nothing.

    TL, DR: expecting anything near decent service communication or client with this Sony repair center is little more dreaming.

    We wish you the best of luck...

    -Evan

  • Windows 7 Home Basic: custom Option does not appear

    I have windows 7 home basic when I right click on the desktop customization option does not appear and I can't change the color of my task bar.pleaase help me

    Hi Matrix

    Missing customization is normal because Windows 7 Home Basic Edition does not support themes. See the following article for an explanation.

    The "Customize" option is missing from the drop desktop on Windows 7 Home Edition basic

    I hope this helps.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • Custom control does not?

    I tried to implement a custom for my application control, but it does not phase is...

    Help, please...

    /*
     * ImageSlider.cpp
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #include "ImageSlider.h"
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    ImageSlider::ImageSlider (Container *parent)
    : CustomControl(parent)
    {
        m_Container = new Container();
        m_Container->setLayout(new AbsoluteLayout());
    
        Sample->setText("Hello");
        m_Container->add(Sample);
    
        for(int i=0;i<12;i++){
            m_Trackers[i] = ImageView::create().image(QUrl("asset:///images/bullet-24-24.png"));
            m_Container->add(m_Trackers[i]);
        }
        setRoot(m_Container);
        setPreferredSize(600,600);
    }
    
    /*
     * ImageSlider.h
     *
     *  Created on: Jun 10, 2013
     *      Author: lalthomas
     */
    
    #ifndef IMAGESLIDER_H_
    #define IMAGESLIDER_H_
    
    #include 
    #include 
    #include 
    #include 
    
    namespace bb {
    namespace cascades {
    class Container;
    class ImageView;
    class TouchEvent;
    }
    }
    
    class ImageSlider: public bb::cascades::CustomControl {
        Q_OBJECT
    public:
        ImageSlider(bb::cascades::Container *parent = 0);
        virtual ~ImageSlider();
    private:
        float m_width;
        float m_height;
        bb::cascades::ImageView *m_Trackers[12];
        bb::cascades::ImageView *m_SlideImages[12];
        bb::cascades::Image m_Tracker;
        bb::cascades::Image m_TrackerCurrent;
        bb::cascades::Container *m_Container;
        bb::cascades::Label *Sample;
    };
    
    #endif /* IMAGESLIDER_H_ */
    
    // Default empty project template
    import bb.cascades 1.0
    
    // creates one page with a label
    Page {
        Container {
            layout: DockLayout {}
            Label {
                text: qsTr("Hello World")
                textStyle.base: SystemDefaults.TextStyles.BigText
                verticalAlignment: VerticalAlignment.Center
                horizontalAlignment: HorizontalAlignment.Center
            }
            ImageSlider {
                id: slider
                horizontalAlignment: HorizontalAlignment.Center
                verticalAlignment: VerticalAlignment.Center
            }
        }
    }
    
    // Default empty project template
    #include "applicationui.hpp"
    #include "ImageSlider.h"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    #include 
    #include 
    
    ApplicationUI::ApplicationUI(bb::cascades::Application *app)
    : QObject(app)
    {
    
        // Register our custom control
        qmlRegisterType("custom.lib", 1, 0, "ImageSlider");
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // If the QML document is valid, we process it.
           if (!qml->hasErrors()) {
    
               // Create the application Page from QMLDocument.
               Page *appPage = qml->createRootObject();
    
               if (appPage) {
                   // Set the main scene for the application to the Page.
                   Application::instance()->setScene(appPage);
               }
           }
    }
    

    In short, I'd add this in your QML file...

    import custom.lib 1.0
    
  • BlackBerry Smartphones SD card does not click in when inserting

    Hi, I just bought a san disk 16 GB micro-sd scard. I tried threading, (with the face of metal rods until you look at the screen). He slips but doesn't click in place, instead it comes out back unless I close the lid. It's not set up no matter what message detetecting say it's anything either. What is going on?

    Intrigued-

    I'm puzzled. You have posted in 9700 model section and does not state, that you had a 9000, then it was quite obvious that you have a 9700.

    But since you now that you have a 9000 "BOLD", the SIM card is insertedwith a press hard in the unit. Yes, you might think that you're going to push too hard.

    9000 SIM card is inserted in the side of the unit, and you don't have to press hard, Gold contacts facing the front.

    operating instructions shown here:

    http://www.blackberrytune.com/how-to-insert-media-card-into-BlackBerry/

    9700 Media card is inserted in the back of the unit, above the stack, the Gold contacts down, away from you, the contacts towards the screen, indications are here:

    http://www.blackberrytune.com/how-to-insert-media-card-into-BlackBerry/

    Good luck.

  • Alert on custom table does not

    Hello

    I create a custom alert based on a custom table. The event fires only when insert or update the table.

    And then I create or update the data, but the alert does not and then I check the history of this alert, no data found.

    My diagram is PVL and was recorded in Oracle.

    My custom table is XPV_INV_TRANSPORT_COST_DTL and has been registered with the AD_DD API. REGISTER_TABLE and AD_DD. REGISTER_COLUMN.

    and this custom table stands and all the privileges granted to applications too.

    Is there any step I'm missing to generate the alert?

    Any Suggestion?

    Kind regards

    THERY

    Hello

    I found a solution, in the installation of the tab of the alert form, I filled the work unit and how it works!

    My Question is if this (operational unit) field must be filled?

  • Customer CC does not open after the update/installation

    Hello

    I tried to upgrade to the latest version of the CC customer, but when I try to open it after installing it does not open and only told me (in German) "the program is not open.

    Furthermore, I'm not able to open any other application such as bridge/Photoshop and Lightroom cloud without getting "Error 16".

    I tried several steps to find the flaw, but for example, there is no log file to find an error; I tried to install with firewall/antivirus off but the same message popped up. I also changed the access privileges, but the result was the same.

    I couldn't uninstall Adobe CC, because a message told me I still have other applications on my system.

    I didn't uninstall my programs before consulting this forum - there you have an idea?

    I'm on Mac.

    Thank you very much

    Thanks for your help - I'll make one last try or contact support technique adobe Monday.

    I found this thread 16 error while using applications of the suite Adobe CC 2015...

    and finally, it worked!

  • 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 EventHandler does not update the reconciliation work in 11g r2

    Hello world

    I have three users of post process change custom eventhandlers.

    These eventhandlers works entirely success when I change all attributes on change screen.

    But these eventhandlers does not work after update of reconciliation (update succeeded).

    Why update eventhandlers does not work after reconciliation?

    Thank you.

    Best regards.

    Operations that use "Public BulkEventResult run (long arg0, long arg1, arg2 BulkOrchestration)"? --> Updates block as if you select more than 1 user in the advanced search and select the bulk edit options.  Also the reconciliation events to use it even if it is a single user.

    Operations that use "Public EventResult run (long processId, long eventId, orchestration of the Orchestration)"? --> Put attributes through the user interface when you save a user.

    -Kevin

  • New custom fonts does not

    I tired different download. OTF and. Test TTF font files, but none of them work on the iPad or the iPhone. Maybe is this feature still in beta and does not yet? If this is not the case, can you please tell how I can get this to work?

    Fonts should work properly. Using preflight DPS app? That does not support custom fonts. You build an application.

  • deploy from model with the custom form does not not - NIC becomes disconnected

    [We're using vcenter 5.1 update 2]

    I have created a new model for 2012 Server R2 and I created a specification tailored to go with it. I went to test the deployment of the other day and it seemed that the personalised has not quite finished. He had put the local administrator password and baptized, but he does not join the domain. I finally understood that after the deployment, the NETWORK adapter is not connected despite having me 'connect to light' checked in the model. We are using the VMXNET 3 card.

    I've been messing around with the template for the past 2 days and I am stuck as to why it does not work. I tried the following...

    -checked the windows firewall is disabled (3 options) (Re: ESXi 5 VM / Server 2008 R2 loses the network connection after reboot)

    -removed NIC; cleaned up the registry to the HKLM\System\CurrentControlSet\Control\Network\; restarted; readded NIC (it was to eliminate any ghost NICs) (http://vnetwise.wordpress.com/2012/06/09/vmware-template-deploymentspart-1-trying-to-modify/)

    -Remove vmware tools and reinstall. (http://vnetwise.wordpress.com/2012/06/09/vmware-template-deploymentspart-1-trying-to-modify/)

    -card network in the operating system, unchecked "allow the computer to turn off to save energy" (Re: ESXi 5 VM / Server 2008 R2 loses the network connection after reboot)

    -checked that my new 2012R2 model uses the same host cluster and storage as my 2012 model that works. Also on the same port group distributed. (Essentially, all parameters of vcenter are identical between the two models)

    -also tried disabling the NETWORK card in the model (Windows Server 2012 comments customization)

    I have re-deployed the same server about 10 times and each time after deployment, you can see restart and try starting the customization but it crashes. If I manually turn the NIC on it is completed successfully. The problem is that I don't want to have to do that each time I deploy a server. Why is it disable the NIC and unchecking my option to connect to turn on and how to fix this?

    6.23.2014

    Based on tests (as detailed below):

    5.1 U2 - when patterns of deployment Server R2 2012 using a custom form, the NIC is not on after the deployment despite having ' connect at power on "checked.

    * We use VMXNET 3 and we use vDS


    Any help is very appreciated!

    -Adam

    Post edited by: atom_acres

    Problem solved: you need to update the hardware VM version from 8 to 9 on the template (also be sure to check "running on check and put vmtools")

    When you create a new virtual machine from scratch in 5.1 U2, he apparently uses VM Hardware version 8 instead of the latest v9. Once I upgraded it, made sure to check the box to have check and tools upgrade vm market, deploying with customization works and the NETWORK adapter is enabled when lit!

Maybe you are looking for

  • Firefox closes with youtube.

    I use a MacBook Pro 2008 and every time that I use Firefox and try to watch a video of youtube, either from www.youtube.com or embedded in another website, the video screen appears garbled and the browser suddenly stops. I have made updates to Firefo

  • Not printing from Windows XP

    I was feeling of success with my Windows XP computer for years on my HP 7360 inkjet. All updates and patches are up to date. Last successful impression was about 14:34 on June 22. The current number is any attempt to print from any application provid

  • Some web pages redirects to the Questscan search engine.

    Original title: Scan of quest How can I get rid of Questscan? It does not appear to be installed on my computer. He was not in the list of programs, when I tried to use execute with C:\Program Files\Q =uestScan\uninstall.exe a box came it's nowhere t

  • My network card on my Inspiron 1750 has stopped working suddenly.

    My network card on my Inspiron 1750 has stopped working suddenly. I left the computer, while I was working online, went for about 2 hours, and when I came back, I wasn't online more. I can't reconnect to the internet. I was on the phone with the cabl

  • Payment button does not

    I am buying a Lightroom 6 upgrade. I recorded my current version 4 with Adobe and I can add it to the cart, however, when I try to press the payment button, nothing happens. I tried Firefox and Internet Explorer and that you have disabled all the Plu