Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Multi touch and phonegap

  1. #11
    Sencha User
    Join Date
    Dec 2012
    Posts
    2
    Vote Rating
    0
      0  

    Default

    Thanks troels for the quick reply...let me try the workaround you provided. Will let you once its working for me.


  2. #12
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    1
      0  

    Default

    I too faced the same problem and Toels solution helped me to patch it.

    In my observation, the issues does not arise when the Page is loaded as a web page in the Phone Web Browser. It seems the Web Browser somehow handles this multi-finger touch issue. However when the same Page is included in a Phonegap Native app, the issue occurs.

    - Eranga

  3. #13
    Sencha User
    Join Date
    Feb 2013
    Posts
    4
    Vote Rating
    1
      0  

    Default Where to implement that Code

    Hey guys,
    I've got the same problem and want to try troels solution.
    But where do I have to implement the three code fragments?

    Greets,
    Tom

  4. #14
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    1
      1  

    Default

    I just inserted "eventPublishers" part within the Ext.application configuration and the rest of the 2 code block at the beginning of the app.js, before the Ext.application
    - Eranga

  5. #15
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    1
      0  

    Default

    I found the same problem in Android version 3.2, so I modified the os version checking as below to get the working.

    Code:
    if(Ext.os.is('Android') && this.currentTouchesCount > 0){

  6. #16
    Sencha User
    Join Date
    Feb 2013
    Posts
    4
    Vote Rating
    1
      1  

    Default

    Quote Originally Posted by udesh View Post
    I just inserted "eventPublishers" part within the Ext.application configuration and the rest of the 2 code block at the beginning of the app.js, before the Ext.application
    - Eranga
    Thanks for the fast reply, but now I've got an error at the Line
    window.orgPinchEndMethod=Ext.event.recognizer.Pinch.prototype.end;

    The console says:
    "Uncaught typeError: Cannot read property 'recognizer' of undefined"

    -tom

  7. #17
    Sencha User
    Join Date
    Mar 2013
    Posts
    8
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by ThomasT View Post
    Thanks for the fast reply, but now I've got an error at the Line
    window.orgPinchEndMethod=Ext.event.recognizer.Pinch.prototype.end;

    The console says:
    "Uncaught typeError: Cannot read property 'recognizer' of undefined"

    -tom
    Hey Tom,
    If you run your app on device, it will work properly without this "recognizer" error.
    I am getting the same error after implementing Troels fix for this issue.
    Can you please reply with your resolution, if you got it already.
    Appreciate, if anyone can help in this regards.
    Thanks.

  8. #18
    Sencha User
    Join Date
    May 2013
    Location
    http://www.dienlanhminhkhoa.vn/
    Posts
    2
    Vote Rating
    0
      0  

    Default

    I have not had this issue in any of my apps. How can I reproduce it? Anything that triggers the error?

  9. #19
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    1
      0  

    Default

    You can get rid of "Uncaught typeError: Cannot read property 'recognizer' of undefined" after putting the Troels code inside a launch or Controller method, which will get executed upon app start.

    - Eranga

  10. #20
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    9
    Vote Rating
    1
      0  

    Default

    If you natively package (Sencha or Phonega) and install the app on an Android device and do multi-finger tap (2 or more fingers at the same time to touch the screen) on a panel, will freeze the App.

    If you continue multi-finger tapping it may unfreeze, randomly.

    - Eranga

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •