Search Type: Posts; User: george.m

Page 1 of 5 1 2 3 4

Search: Search took 0.05 seconds.

  1. try


    url: 'resources/f.json',
  2. I had the same problem and I found this bit of code on the forum that fixed it for me, see if this helps you. The thread is below the code:



    Ext.define("Ext.ux.touch.select.ItemSelectedAddOn",...
  3. Remove the listeners from the other components then.
  4. Great thanks!
  5. I get what you are doing in the code but can't seem to work out where the oldConfig and newConfig will come from? Is this supposed to be added as an override to the list class?

    Cheers.
  6. I'm having a problem with a list whose setOnItemDisclosure method does not work properly.

    If the disclosure is set to false initially and I set it to true via .setOnItemDisclosure(true), the...
  7. If you do
    myStore.getData().all you can see all the records there, I'm guessing loop through that array.
  8. It seems like Sencha Cmd (if that is what you're using) generated a new app.css file from app.scss when it made the build. If you still have your custom css, add it to the bottom of app.scss in...
  9. title: '<img src="path/to/image.png"/>',
  10. window.location will work

    Or if you're using cordova 2.3, they have included the 'childbrowser' into their library, that's better than window.lcoation.
  11. Great, works a treat, thanks!

    It's strange that the css rule that it generates is exactly the same as the one that I wrote in my stylesheet which didn't work.
  12. I'm having a bit of trouble with some CSS. What I'm trying to do is on certain views, replace the standard list item disclosure arrow with a different image. I'm attempting this by:

    1. Adding a...
  13. Replies
    4
    Views
    404
    Erm, I'm not sure without having a look at some sample code.

    Maybe something like MyApp.app.<...> (Where MyApp is your app name).

    But it depends how you have declared them really
  14. Replies
    4
    Views
    404
    You need to use phonegap for that. The events you would use are resume and pause.

    http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#pause
    ...
  15. I always receive this error when testing on a device too. I just ignore it as it doesn't seem to have any noticeable effect on the app.
  16. Have you built your app using phonegap?

    I build my app onto an android device wrapped in phonegap.
  17. That alert did show for me when I used your code exactly as it is, but once I reached the Ext.device.Notification code, I received an error in logcat, I consequently found a typo in the Sencha...
  18. Oops sorry, I copied that from my code and forgot to change the event name. I've edited the post now.
  19. Put this in your app.js launch function:



    var onPause = function(){
    alert();
    }
    document.addEventListener("pause", onPause, false);
  20. You can use phonegap for that.

    http://docs.phonegap.com/en/2.2.0/cordova_events_events.md.html#pause
  21. The error is a namespacing issue. In your Ext.Application code, you have set name: 'Sencha', but in your view, you have set the class name to 'GS.view.Main'.

    So to solve this, replace name:...
  22. Replies
    5
    Views
    350
    I don't think you need to have your view in the 'requires: []' config. In my controllers, I only add the view reference in the 'views:[]' config, and also you don't need to include 'Mobile.view.'...
  23. Replies
    5
    Views
    350
    No problem, I've wasted lots of time in the past from mispellt variables, events etc.

    Regarding the view: array explanation, I'm not fully sure either but I did find this line in...
  24. Replies
    5
    Views
    350
    I'm a bit unclear of what you mean. do you mean that the event isn't firing on the button? If so, your event is incorrect, it should be 'tap', not 'tab'.
  25. Aye that's because the value in the array (in bold) needs to match the current list index.



    var jsNode = Ext.DomQuery.select('.x-list-item-inner')[0]


    So you're going to have to increment...
Results 1 to 25 of 119
Page 1 of 5 1 2 3 4