He can't handle the Pinch Zoom events?

Hi all

I use the following example to the event of Pinch Zoom malleable.

protected boolean touchEvent(TouchEvent message)
{
   switch(message.getEvent())
   {
      case TouchEvent.GESTURE:
         TouchGesture gesture = message.getGesture();
         switch(gesture.getEvent())
         {
           case TouchGesture.PINCH_END:
             Dialog.alert("Focal point: " + message.getX(1)
             +            ", " + message.getY(1)
             +            "\nFinal zoom value: " + gesture.getPinchMagnitude());
             return true;
         }
   }
   return false;
}

But this isn't woked for me. I put the breakpoint and there he never struck. My application cannot handle this event.

Can someone tell me why?

Thank you!
I just found the reason that I have not activated the pinch gestures.

Tags: BlackBerry Developers

Similar Questions

  • How can I activate the Pinch Zoom on a site with Parallax scrolling?

    Is there a way to activate the Pinch Zoom on a site that has scrolling Parallax?

    Hello

    Take a look at this topic, Re: Muse do not pinch or zoom on iPhone mobile site?

  • How can I change the default zoom for the new tab only?

    The new tab in Firefox 33 zoom is too high to see all 12 of my thumb nail. I changed it using ctrl - but the next time I opened a new tab, the zoom is 100%. How can I change the default zoom for the new tab only?

    I posted a style rule to shrink the tiles, which allows several of them on the page, but naturally reduces their legibility. You can experiment with the dimensions to find a look that works for you.

    https://userstyles.org/styles/106326/shrink-new-tab-thumbnails

    I use the Stylish extension to experiment because of its preview function that allows me to see the effect quickly. You can install it from the site of modules, then after restart of Firefox while searching for his "S" icon in the toolbar to manage Styles so you can edit and experiment.

    https://addons.Mozilla.org/firefox/addon/stylish/

  • BlackBerry smartphones, I can't clear the log of events completely! Bold 9900

    I don't know why, but I just can't clear the log of events completely. I always stayed with two newspapers which cannot be erased. The two newspapers said: error and mistake. It's only affect the phone, but it's pretty disturbing with two newspapers cannot clear. I had tried to pull battery, resets and it can always be removed. Help, please.! My phone is the Bold 9900. Carrier is Singtel. Operating system to 7.1.0. HELP PLEASE! Thank you!

    Nope.

  • How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    How can we change the default zoom setting so that when you open a PDF the size of the displayed document zoom is that you need it to be?

    Hi CKWAZTRANSINC,

    Open Acrobat Reader DC, navigate to the Edit-> Preferences-> Page Display menu-> set your required Zoom percentage.

    Click OK to confirm the change.

    Restart the Acrobat Reader DC to test.

    Let me know if it solves your problem.

    Kind regards
    Nicos

  • How to disable the pinch zoom on the touch screen of Windows 8

    I have a windows pc, 8 that is running a photo booth.

    When the kiosk software is open pick up the entire screen so that users cannot navigate in windows.
    Everything works fine, but in Windows 8, users are able to pinch to zoom it in software.
    This is done on the screen touch itself.  There is no mouse / keyboard to the user.
    Is there a way to disable the pinch to zoom so that this does not happen on the newsstand?
    Thank you

    Hello

    You want to disable the pinch to zoom, we can try to change the following setting:

    (1) go to the control panel

    Here is a link to open Control Panel:

    http://Windows.Microsoft.com/en-us/Windows-8/where-is-control-panel

    2) click the mouse

    3) click on device settings

    (4) select the device

    5) click settings

    (6) and then click on turn off pinch zoom.

    Try the above steps and see if it works.

    Thank you

  • new x201t owner, cannot get the pinch zoom to work

    When I bought this tablet with multitouch screen, I expect to be able to navigate as you can on an ipad for example using pinch and zoom on my internet browser, pdf documents and other.  I still have to figure out how to do the pinch and zoom stuff.  Am I missing something?  I watched videos on youtube other people doing it so why can not I?  Is there a way to adjust the settings in windows 7? (I have active multitouch incidentally).  Thanks for any help you can give.

    I can't explain why it suddenly started working - installed software has nothing to do with it.  Windows 7 natively supports this gesture, so no additional software is required.

    With respect to zoom, the finesse of it (and if it works in all) depends entirely on the application that you are running.  The application must interpret messages zoom from Windows and decide how to respond.  And I agree that many applications (like acrobat) did a bad job to update their software for touchscreens.

    What about firefox, I'm not sure because I'm not a user of firefox, but maybe check to see if they have some plugin allowing the touch screen gestures.  It's probably a good question for a forum of firefox.

  • How can I configure the page zoom? Page is small, have read of bad... I never had this problem with internet explorer, there is a bar to zoom at the bottom of the page.

    How can I change the size of the text or zoom, I have trouble reading of this size.

    jeffmc: first of all, you are using a version of Firefox that has been replaced/replaced and is no longer supported. The current version of Firefox if 6.0.2. you are using version 5.0. Consider the upgrade.

    If you use the Firefox button instead of the menu bar, you won't see a 'View' at the top of the window of the browser or in the menu on the Firefox button.

    • You can temporarily show the Menu bar by pressing ALT or F10 and make your selection in the Menu bar displayed temporarily. View > Zoom
    • You can instead, use ALT + V + Z for the Zoom settings
    • You can use CTRL ++ to enlarge, CTRL + - to zoom out, CTRL + 0 (<-that's a zero) to return the zoom to 100%
    • See-> Page Zoom and Text Zoom

    Add - ons:

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • How can I reduce the default zoom to 100%?

    Given that I put to update to the latest version of Acrobat Reader, my default pages to 176% which is very large.  I always to reduce in order to read the page.  How can I change the value by default, so I did not change the setting every time.  It becomes very annoying.

    Have you tried setting the zoom settings in Edit > Preferences > Page Display > layout and default zoom?

  • Prevent the pinch &amp; zoom?

    Hello!

    I'm going crazy.

    I tried everything to disable the page zoom on my layout of phone...


    Is it possible to prevent the pinch and zoom in mobile browsers for my layout of the phone at all?

    Hello

    Could you please try some steps here.

    Mobile Site Muse, how to disable the Zoom & pinch

    Let me know if you have any question.

  • Is there a way to activate the pinch zoom on Tablet and phone?

    Hello

    I made a Web site with the Tablet and phone page layouts, but I don't know if there is a way to enable pinch zoom for these layouts. Is there a way to do this is with a short snippet of code or a widget? Thank you.

    -Daniel

    If any provision of the tablet or phone includes effects of scrolling, pinch zoom is disabled. Popular mobile browsers are unable to provide a consistent and reliable for scrolling on a page with zoom effects, so on a page that contains a scrolling effects Muse disables pinch zoom to avoid aberrant in the browser behavior.

  • I can't see the all-day event

    Help, please!

    After adding all the events of the day to my iCal I can no longer see it!

    A one day event should appear at the top of the list of

    hours that day just after 12: 00 a.m. - just

    following the day of the week "Wednesday".

    Good luck, Tom

  • NB - 200 can not handle the compatibility mode for HDD Contoller...

    Hello everyone!
    I would like to make it work on my nb 200 ubuntu 10.04 netbook edition netbook. The installation is done, grub works very well (I kept windows xp and have dualboot grub-controlled). Of course, I asked first in the ubuntu forum to solve my problems. I thought it was done, but in fact it wasn't. See the ubuntu forum for more information: http://ubuntuforums.org/showpost.php?p=9346966&postcount=1
    Switch mode Compatible HARD disk (in bios) controller works great for ubuntu, but Windows XP have problems. XP is launched (I see the Welcome screen), but then the computer restarts. I updated the Bios to version 1.9 (02/2010), but this does not solve my problem.
    In the threat of ubuntu, a help very kin (darkod) says:
    + You can try, but if changing the controller type makes a difference, I'm not sure this will help. This seems not related to ubuntu. +
    + I'm surprised change compatible controller made XP no boot. If a hard drive is sata, you, instead, compatibility mode is required to even install XP because it does not include inside SATA drivers. +
    + I guess it depends how the manufacturer put the netbook. +

    Thanks in advance for your help.

    I tested the functionality of Windows XP Home edition on my Satellite with AHCI mode and if the WXP was preinstalled with the SATA mode enabled it will not work when the mode is replaced by the compatibility option. I get the blue screen every time if I want to start Windows XP Home edition.

    I think that you do need to make the decision. If you want to use both operating systems, I think you should change the AHCI mode to compatibility and reinstall Linux and Windows XP Home edition.
    Then it works well, but you will not have full disk under Windows XP Home edition as performance when you use the SATA mode.

  • I enjoy FSX, but can not handle the planes I downloaded - half of them appears on the screen "select the aircraft."

    I need more details or a utility to amange all my airplanes download

    Hello

    1. What is the operating system that you are using?

    2. what version of the FSX game installed on your computer?

    I suggest you to contact Microsoft Flight support for assistance on the issue:

    https://microsoftflight.com/en-us/contactus/

    You can also check out the link below:

    http://www.Microsoft.com/products/games/FSInsider/community/pages/default.aspx

  • Solutions of J611 HP 3051 icon disappeared and can not handle the Scanner

    I looked for a solution online. I called HP Support and they are not helpful at ALL. I uninstalled and reinstalled the whole program by using the original CD.

    The HP icon shows only a few items online.  There is no scan option manage AT ALL.  How can I enable and disable the scanner option if there is no evidence to do so.

    The OS is Windows 7.  On another computer with Vista - there is an icon together with solutions and management options to scan.

    What is the problem and why can one person apparently get a response on this forum?

    Hello

    Please try the following package:

    http://ftp.HP.com/pub/softlib/software12/COL37193/al-109013-2/DJ3050A_J611_1315.exe

    Kind regards.

Maybe you are looking for

  • I have Windows Live mail 2011 for Vista. I can't see attachments in my email here.

    I have Windows Live mail 2011 for Vista.  I can't see attachments in my email here.  However, they are visible in my hotmail where I have to unzip them and then save in my documents or something to open.  I used to be able to see exhibits attached, r

  • Envy 4500: Envy 4500 does not print right

    I have and HP Envy 4500 for a month that she was fine, then all of a sudden I tried to print and no matter what I print from a site is now not printing right.  I tried to re-align the book to help... I ran a printer status report, but it has not rele

  • a screen pop-up simple file name?

    ------------------------------------------------------------------------------------------- EditField bef = new EditField ("name:", 'name', 10, old Field.FIELD_LEFT);Dialog box d = new dialog box (Dialog.D_OK, "Input change the name:", 0, null, Field

  • Problem starting the Windows Media Player Media files

    I am using windows 7 Home Premium 64-bit on HP Probook 4530 s. These days, whenever I play any MP3, MP4 or any other media in windows media, the WMP player file starts the file, but the controls as start or pause button, volume control and screen WMP

  • Share fonts

    How does a share between several PC Win7 fonts?