Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-1321 in a recent build.
  1. #1
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    twinsen71 is on a distinguished road

      0  

    Default Event Dispatcher bug? in android

    Event Dispatcher bug? in android


    Hi all,

    I'm testing touchevent example of Kitchensink in Sencha Touch 2 pr2,
    in Android the orientation a.pageX, a.pageY are zero.
    but in iphone they are non zero.
    Is it a bug? How can I get the touched orientation?

    Code:
    eventDispatcher.addListener('element', '#touchpad', '*', function(a,b,c,d) {
         var name = d.info.eventName;
         
         if (!name.match("mouse") && !name.match("click")) {
             var logger = Ext.getCmp('logger'),
             scroller = logger.getScrollable().getScroller();
    
             logger.innerHtmlElement.createChild({
                 html: d.info.eventName + '[' + a.pageX + ',' + a.pageY + ']'
             });
    
             setTimeout(function() {
                 scroller.scrollTo(0, scroller.getSize().y - scroller.getContainerSize().y);
             }, 50);
         }
    });

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,522
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thank you for trying to wrap your code but use the CODE tags not QUOTE.

    Can you give me a local test case to run to reproduce?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Mar 2011
    Posts
    4
    Vote Rating
    0
    twinsen71 is on a distinguished road

      0  

    Default


    REQUIRED INFORMATION


    Ext version tested:
    • Sencha Touch 2.0.0 PR3
    Browser versions tested against:
    • ____
    • Mobile Safari 5 (iOS5)
    • Mobile Safari 4 (Android 2.3.3, Galaxy TAB )
    DOCTYPE tested against:
    • ____
    Description:
    • In touchevent example of Kitchensink,
    • The coordinates info about 'tap' events weren't obtained on Android device.
    Steps to reproduce the problem:
    • Excute Kitchensink example
    • select Touch Event menu
    • tap 'Touch Here !' panel
    • check event log
    The result that was expected:
    • coordnates values of 'touchstart' event in Android.
    The result that occurs instead:
    • coordnates values of 'touchstart' event in Android are [0,0].
    Test Case:
    • Modify the function 'initialize()' in TouchEvents.js
    • In this test, the code colored in red added to 'all-classes.js' file.
    Code:
    eventDispatcher.addListener('element', '#touchpad', '*', function(a,b,c,d) {
         var name = d.info.eventName;
         
         if (!name.match("mouse") && !name.match("click")) {
             var logger = Ext.getCmp('logger'),
             scroller = logger.getScrollable().getScroller();
    
             logger.innerHtmlElement.createChild({
                 html: d.info.eventName + '[' + a.pageX + ',' + a.pageY + ']'
             });
    
             setTimeout(function() {
                 scroller.scrollTo(0, scroller.getSize().y - scroller.getContainerSize().y);
             }, 50);
         }
    });


    HELPFUL INFORMATION


    Screenshot or Video:See this URL for live test case: http://redballoon.kr/sencha2/examples/kitchensink


    Debugging already done:
    • none
    Possible fix:
    • not provided
    Additional CSS used:
    • only default ext-all.css
    • custom css (include details)
    Operating System:
    • ________
    • WinXP Pro

  4. #4
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This has been fixed for the next release. As a temporary workaround, you can use a.touch.point.x and a.touch.point.y which will provide you with accurate positions.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 2

Tags for this Thread