1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    pagameba is on a distinguished road

      0  

    Exclamation Supporting Blackberry Webworks trackball/mouse

    Supporting Blackberry Webworks trackball/mouse


    In trying to get TabBar buttons working with a blackberry trackball/mouse in a webworks packaged application, I've discovered that Blackberry supports an x-blackberry-focusable="true" (or false) attribute on elements which enables them to be focusable by scrolling the trackball. This doesn't actually make it work, though. It also needs to support a 'click' event which I have faked by creating my own Ext.Button subclass and adding a click handler since the Ext.Button init method only tacks on tap events. This only works on buttons that I specifically create with my own xtype, I'm not sure how to get it to work with the automatically generated back button in a NestedList (for instance). Which also brings up the point that items in a list/nested list are not clickable either.

    Are there any quick work-arounds that would enable both tap and click events to be registered everywhere? Is this something that could make it into the next release?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Vote Rating
    828
    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


    Problem is we don't support non-touch blackberry devices.
    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
    Oct 2011
    Posts
    12
    Vote Rating
    0
    pagameba is on a distinguished road

      0  

    Default


    I realize that What I am suggesting is that it is theoretically it shouldn't be too hard to support non-touch events since the framework does already support them for browsers and, if you add a handler for click as well as touch it will actually work. What I could not discover (and I wasn't sure if I should be hacking around in the core) is how to generically enable routing touch and click events to the same handlers when running on a mobile device. I believe this is worth doing as all blackberry phones seem to include the trackball and users seem trained to use it.

    Cheers

    Paul

  4. #4
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    111
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    Sorry for self-plug but see my blogpost. This was for ST1.1, I haven't tried it on ST2

    http://resilientcoder.blogspot.com/2...rk-on-non.html

  5. #5
    Sencha User
    Join Date
    Oct 2011
    Posts
    12
    Vote Rating
    0
    pagameba is on a distinguished road

      0  

    Default


    Interesting ... hopefully I can get to try this out shortly and report back here. It would be great if Sencha would add this to the main code base!

  6. #6
    Ext GWT Premium Member
    Join Date
    Apr 2009
    Location
    NYC
    Posts
    111
    Vote Rating
    1
    stan229 is on a distinguished road

      0  

    Default


    Yup, if you see my other post I show how to set up a listener on scrolling with the ball since you can't touch and scroll on some BB OS6 devices. (make sure to check comments, some have their own implementations that may/may not be better)

  7. #7
    Sencha User
    Join Date
    May 2010
    Posts
    20
    Vote Rating
    0
    FidoX is on a distinguished road

      0  

    Default


    Hi, I'm trying to start working with st2 for blackberry. I'm using a bold 9780 with os6 I have not tested yet your proposal to scrolling using the trackball but I want to incorporate it to my application. Before it, I have an issue I need to solve:

    I have an application that works (more o less) in the emulator but in a phisical device doesn't render anything.

    Doing some testing I've discovered that the sencha-touch-all-debug.js is not fully loaded. Seems stop loading at any moment and only what I get is a blank screen.

    Since this only occur in the phisical device I have not so much alternatives to inspect where the problem is.

    Here you have the details of the device:

    Blackberry 9780 (3G, Wifi)
    6.0 Bundle 2391 (v6.0.0.534, , platform 6.6.0.200)
    I ve tested the st2-pr3 and the st2-gpl final release with same results

    This is the application I'm testing:



    HTML Code:
    <!DOCTYPE html>
    <html>
       <head>    
            <meta charset="utf-8">    
            <script type="text/javascript" src="sencha-touch-all-debug.js"></script>
        </head>
        <body>
              <script type="text/javascript">
                Ext.setup({
                     onReady: function() {        
                           alert('start');    
                     }
                });
               </script>
           </body>
    </html>
    Please, could you tell me what devices have you tested, and if you know how can I debuggin from a phisical device?

  8. #8
    Sencha User
    Join Date
    Feb 2012
    Posts
    4
    Vote Rating
    2
    shanesmith is on a distinguished road

      0  

    Default


    FidoX, sencha-touch-all-debug.js is pretty big, try the non-debug version sencha-touch-all.js

    Also, I've found Sencha Touch 2 too slow for BB6 so I've had to bump the min requirements to BB7....

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi