Problem with slot onTouch in ImageView.

When I do a count function to get the number of times a photo is affected.

But when I touch picture just 1 time, but the show 2 function.

I don't know what is happening. Help, please.

Thank you.

You can try this please? (in QML)

onTouch: {
  if (event.isDown()) {
    // ...
  }
}

Here is a list of all key events:

https://developer.BlackBerry.com/Cascades/reference/bb__cascades__touchevent.html#IsDown

Slot machines and Q_INVOKABLE functions can be called from QML.

Tags: BlackBerry Developers

Similar Questions

  • Problems with slot-shaped table and set the values of column

    Hello

    I have a problem with a tabular presentation.

    I have two tables

    P_detail and table v_master

    columns of v_master:
    v_id
    v_Name
    v_info

    columns of p_detail:
    P_ID
    p_master_fk
    p_name
    p_info

    I want to have a tabular presentation where I can store permanent data retail values. That's why I want to keep the default main column join the detail columns.
    In SQL, I can do this with an outer join:

    SELECT m.v_name, d.p_master_fk, d.p_name, d.p_info
    OF v_master, p_detail
    WHERE v_id = p_master_fk (+)

    I get the lines that exist for the master data and can add values for the columns of detail. I removed the "add lines" because that makes no sense, because the amount lines are already offered at the opening of the tabular presentation.

    Now, I want to get/save the v_id (main table) in the p_master_fk column value

    How can I do this?

    Thank you and best regards,
    Matthias

    Hello

    One approach is to use a database instead trigger. If you define a database view using the query:

    SELECT m.v_id, m.v_name, d.p_id, d.p_master_fk, d.p_name, d.p_info
    OF v_master m, p_detail d
    WHERE v_id = p_master_fk (+)

    Then, create a trigger on the view that will insert in the detail table if d.p_id is null and update the secondary table if d.p_id is not null instead.

    The Apex tabular form is then based on the view (with identifiers like hidden columns) and all treatments multirow Apex should work without modification.

    Rod West

  • Problem with slots Usb not work after installing Windows 7

    Hi all

    I just had a guy fix my brand new computer, after that it was abandoned due to an accident than an anne 5. I told him that I wanted Windows 7 installed on the computer instead of 8. He did and got it all and running, no seven complaints only 1 usb slot works now and don't rest. Question is how can I solve this problem? I tried unistalling and reinstalled it a nothing still.

    Want HP dv7-7230us

    Product #: c2n66ua #aba

    Possible the AMD Chipset is required - includes the drivers for the USB 3.0 ports:

    http://support.AMD.com/us/gpudownload/Windows/pages/raid_windows.aspx#2

  • Problem with P10-873 SD Slot

    I'm having a problem with the slot SD on my P10. The problem is that when I insert an SD card, it reads the card and keep reading. Then, the computer stops responding. When the computer finally answers I get an i/o device error.

    Any ideas how I could get this to work? I've had the problem since I bought the PC and tried several SD cards, brand new and very functional. I tried to uninstall and reinstall the driver for it on the CD and also the Web site with no luck. When I did this, the computer would read then don't detect any card and stop playback.
    Then I reinstalled again and I'm back to this old problem.

    The SD slot is installed as "SDA Standard compatible SD host controller."

    When I insert the card, it appears as "Secure digital storage device." If I try to change the driver for this I get two options:

    > Version: 6.0.4064.1 [2002-01-10] SD storage card

    When I use it, the card is read and read continuously until an IO device error appears. The ocmputer does not respond within the interval.

    > Version: 6.0.4069.1 [2002-01-10] SD storage card

    When I use it, a yellow exclamation point appears on the SD card in the Device Manager and the error message indicates that the device failed to start. Even after a reboot, same problem.

    Any help would be appreciated, thanks.

    Post edited by: hamidelaosta

    I just found out that the problem was caused by Norton Antivirus. The problem was that norton is set to scan all removable media for boot sector viruses, this is for a reason any causes the SD card to stop responding for a very long time, and then causes an error of e/s. I have disabled removable media scanning and it's working now, at the expense of some system of protection.
    Hope this helps someone find something else that they have problems with this.

  • Problem with PCI-e slots on the S51200ZCTO Pavilion

    Hello.  I bought this computer for use as a media server, replacing a 3300Z failed two weeks ago.  One of its functions is my AV receiver Rs232 command  I bought an adapter cheap PCI-e series online and installed.  The machine refused to start with the card installed in one of the three locations.  Attached to the HP splash screen.  Decided that my card 12 was obvious junk, I went downtown and bought another card for $30.  Same question.

    What I did:

    Disabled all 3 PCIe x 1 slots and slot of the minimap.

    The machine will start with the card installed, but of course, it's kind of useless.

    I activated the slots selectively.

    The machine will fail to start whenever the first location is enabled and one of the two cards is installled.

    If the first location is disabled, I can activate only two and three slots and the machine starts correctly with each installed card.

    I installed each card in turn in slot 2 and enabled only the slot 2 in the bios.

    Windows 7 can not find two cards.

    I manually installed each card in turn.

    They have installed but shows an error code 10 (device cannot be started)

    I have about confcluded that there must be a motherboard problem.

    I am a very technical user.  I have been upgraded and now my own machines for about 25 years and I've never met this kind of problem with a simple installation device PnP.

    If anyone has any idea I will try it.  I'm not enjoying the thought of working my way through levels of support for HP to convince them that there is a real problem or to ship the computer for repairs.

    Thanks for the chipset, here is another card:

    http://www.Newegg.com/product/product.aspx?item=N82E16815124112

  • Problems with Compaq Presario 5BW220 RAM

    This office is 8 years old and supposedly supports 512 MB memory SDRAM PC100.

    Recently, I worked on this for my son-in-law.  It came with 64 MB of SDRAM PC100 and Windows Millennium Edition.  I tried to install 2-256 MB memory SDRAM PC133 maximum amount supported RAM, but it refused to start.  I replaced every 256 MB module with a 128 MB PC100 module and managed to do start.  I expected to read 384, but he will read only 256 MB.  I had not all PC100 256 MB modules to use.  I finally installed modules from 2 to 128 MB PC100 and he left like that.

    I never had a problem in the past with an old desk accepting a combination of PC100 and PC133 modules, so it was a first for me.

    The Compaq Presario 5BW220 have a problem with the acceptance of this combination, and she actually says a maximum of 512 MB?

    This could be useful in the future:

    http://www.crucial.com/

    If you click "scan my system" he can tell you all sorts of things on the RAM.

    I have a system built home (with all the paperwork by moving the boxes...) who had a chip spoil.  I could not remember what RAM took it and I didn't go root through the boxes in the garage. =)

    Their scanning system could not see what kind of memory I had, but he told me exactly what my motherboard could support. (Type and max of 1 GB per slot)  He even suggested several configurations of memory.

    Once I saw what he said, he had, I remembered that I had bought before and it didn't fit.

  • Satellite Pro L10 problem with Ports COM/Hyperterminal & Bluetooth

    Hello
    I have the following problems with the above machine:

    (1) I have attached an external series COM port to the machine. However, I can not connect to the COM Port using Hyperterminal.
    (2) I installed a Bluetooth USB adapter, but I can't view the protocol configuration.

    Each of the above works perfectly with another laptop that doesn't have a Bluetooth or even a network card.

    Everyone has experienced similar problems. I use WinXP SP2.

    Thank you

    MC

    Hello

    1, in which is the external COM port connected? Is detected in a straight path in Device Manager? What is the error msg to Hyperterminal?
    When connected via PCMCIA, try to change the settings for PCMCIA slot in the BIOS!

    2, try to reinstall the Toshiba Bluetooth stack! There may be some problems. The MS Bluetooth stack does not work properly with the Toshiba devices and one of the earlier Toshiba Bluetooth stack is not signed by Windows XP Service Pack 2!

    Hans Bye

  • Problem with RAM Pro 4600 - Original RAM is not compatible!

    Hi, first sorry for my English.

    I ve had some problems with original module Toshiba PA3069U-M 256 MB of RAM for my Toshiba Satellite Pro 4600.

    History: (# = number of RAM)

    #1 was delivered to the original box from Toshiba and works in the slot A and B without any problem, but was damaged after only 2 weeks (!) --> Distributor sent me a new: #4

    #2 has been delieverd by the same distributor (same tine as #1), but only in the bag to shield static orginal. The laptop shows that the RAM is incompatible in the slot A and B--> I return

    #3 was delivered by another distributor, a few days after #1 was also damaged in the original Toshiba box. It still works fine in both slots.

    #4 was delivered yesterday, but only in the original static shield bag. The laptop shows that RAM is not compatible in both slots.

    The RAM in the box and the RAM that in static shield bag are two RAM Toshiba original from the manufacturing, seems to be quite the same. But still those in the area of work others are incompatible even after a BIOS update.

    Someone had the sampe problem or can help me?

    THX Braumeister

    Hello

    This seems very strange! The PA3069U-M 256 MB Ram Modules must adapt and work! So it may be that no work modules were damaged by sending by mail just packed in Toshiba box modules that work!

    Goodbye, TOK

  • Problem with the Satellite Pro 2100 and new modules of RAM

    Hello

    I have a Toshiba Satellite Pro 2100 and I have a problem with the memory upgrade.
    My notebook of startup only if a plug-in module to a ddr, but if I insert the two modules IN CC led orange flashing start when I try to turn on the pc. The stop led not blinking unless I take out the battery and the dc adapter.
    Here is the code of the modules:
    KTT3614/256 (original)
    KVR266X64SC25/256
    256 MB pc2100 both.
    Starting the PC with any of them, as well as the modules are both compatible.

    Any ideas?
    (Sorry for my English but I'm Italian: D)

    Post edited by: DaK_TaLeS

    Hello

    the second location of memory perhaps is the problem.
    Try to start with a module in the second slot, first an empty slot.

    Good bye

  • Is there a problem with the maximum size of the RAM for Satellite 320CDT?

    I have a 320CDT Satellite with the latest BIOS (v8.00) and Windows 98 Second edition installed. There are 32MB memory base and a 32 MB module in the single expansion slot. If I change it to a plug-in 64 MB I see that 64 MB of total memory reported, not 96 as expected; the specification for the machine indicates that the admissible maximum memory is 160 MB (32 MB base + 128MB expansion). Does anyone know if there is a problem with the maximum memory size for this model and if there is a solution or workaround? I need to know quickly, in order to decide if I should return the memory module to the vendor! Thanks a lot for any help, Peter

    Satellite 320CDT supports an internal memory of 32 MB and a single slot can be used!
    You can improve it to max 96 MB (32 + 64 MB)
    I found a few old memory modules. You can use the modules SODIMM 144 pin EDO PA2043U 32 MB or 64 MB PA2044U

    Greetings

  • Strange problem with on my Satellite A200-1 SD card reader has 9 & A100-338

    I have two Toshiba laptops, one for work (A200-1 to 9) the other for home (A100-338), both have the same problem with the reading of the internal reader SD cards.

    Most of the time when I insert an SD card (256 MB, 512 MB, 2 GB of varying sizes) laptops require the driver disks. It's VERY frustrating because the readers are standard build within these models. What makes this worse is the fact that every now and then, there is a map that can be read by both machines. If you read on one, he reads on the other always the same cards never changes. By so if the drive IS able to read SD cards without a driver, why is that it requires drivers for others. Drivers that are not provided, do not seem to exist and altermately mean that I can't use these cards.

    I just don't understand why there is a problem.

    There must be an answer out there, I hope someone reading this Post knows and is ready to share. Thank you!

    Hi guys

    -First check in the user manual which cards are supported! The cards can be used!

    -If you use Vista and have some issues with the SD card reader please check this Microsoft Knowledgebase document:
    http://support.Microsoft.com/?kbid=936825

    -In addition, the information that there is no SD card driver is completely false!
    On the European driver Toshiba page, you will find the Flash Media Driver. This is the driver for your bridge Media Slot. This slot allows you to insert an SD card, Memory Stick (Pro) or xD picture cards.
    In addition, you will find the Support of Flash memory card utility. This allows your computers to Flash card slots.

  • Y510p problem with jack

    Hello

    A few days ago I bought the new y510p and I have a problem with headphones.

    When I put headphones jack slot after a few minutes, I can see message on the next connection and disconnection. It is to arrive at lasting a few seconds.

    Anyway, system, sometimes with micro when I never used this slot...

    Someone has an idea?

    Thank you

    Yes, I tried. It does not work on these drivers and others. Support of Lenovo in Poland said probably a manufacturing defect.
    It is probably a hardware problem

  • Graph - problem with battery

    Hello

    Ive got 3 problems with stack slots:

    1. in the legend, the first value in the array is the last of them, why?

    2. always when I remove only one value (in this case), the last chart is remove

    3. when I turn the button second stop (the rest is on), the name of the track in the legend is double.

    Does anyone have an idea what I can do with that?

    Thanks for all the answers.

    Well, you only have to code differently.

    Try this:

  • Problems with Acer Iconia W5 I received

    Hi all

    I got 4 Acer Iconia W5 (cannot find anything more of a model than the number) with various problems to watch.

    2 of them are ok, I can get them in Windows, all right.

    However, 2 of them have problems and I'm not sure how best to proceed without a USB slot

    Tablet 1 - begins to start, but then says that windows did not start and takes me repair options. I tried pretty much all of them, but nothing works.  Reset your machine simply takes you to a page showing "There was a problem with resetting your PC"

    Tablet 2 - customary on switch at all.  When connected to the power there is no indication he has all power connected at all.

    I think that 2 tablet is just dead, but if you have any ideas, I'm happy to hear.

    1 tablet should be repairable, but generally I'd stick to a bootable USB to fix, but these things have only slot for SD card and sim.

    Any help appreciated

    Thought you said that you have four--the others work? If you can you use it to create a recovery flash drive and use it to repair others.

    During this time with the open BIOS select "F12 at startup" so that you can tell it to start the USB.

  • Problem with the display of pictures of USB ports and CD player!

    I'm having a problem with my USB port and CD player.  I tried to put a USB stick and card reader in both slots USB and a CD in the CD drive, and whenever the prompt appears, as it did before, asking me what I would like to take.  In the box gray top of page it says "Windows can perform the same action whenever you insert a disk or connect a device with this kind of file:

    Photos

    What do you want Windows to do? »

    Then in the white box below, it is totally blank, without options, where, as he used to give me several options.

    Can someone help me please?  I would really appreciate that I have a photo tour to finish as soon as possible, and I need to get my pictures on the PC!

    Thank you very much!

    Hello

    · What is the service pack installed on the computer?

    · Do you have any software installed on the third CD burning?

    · Do you remember all the recent changes on the computer before the show?

    1. If you have any software installed on the computer of third-party CD burning temporarily uninstall the software and check the results.

    2. you can also run the Autoplay Repair Wizard and check if it helps. You can download the tool from the link below: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c680a7b6-e8fa-45c4-a171-1b389cfacdad

Maybe you are looking for