Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3494 in a recent build.
  1. #41
    Touch Premium Member
    Join Date
    Apr 2007
    Posts
    118
    Vote Rating
    -4
    hbeing123 can only hope to improve

      0  

    Default


    thanks Sven, that's actually the same as my code and it's still not working on sencha 2.1 final.. I don't get it, and it's throwing an Uncaught TypeError: Cannot read property 'Device' of undefined error in the Chrome console

  2. #42
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    560
    Vote Rating
    24
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    Have you required the Ext.device.* package?


    Code:
    Ext.Loader.setConfig({
        enabled: true,
        paths: {
            Ext: 'touch/src',
            'Ext.device': 'touch/src/device',
            'Ext.ux': 'ux'
        }
    });
    
    Ext.application({
    
        requires: [
            'Ext.device.Camera',
            'Ext.device.Device'
        ],
    ...
    Sven Tore Iversen

  3. #43
    Touch Premium Member
    Join Date
    Apr 2007
    Posts
    118
    Vote Rating
    -4
    hbeing123 can only hope to improve

      0  

    Default


    Quote Originally Posted by svenna View Post
    Have you required the Ext.device.* package?
    I didn't include the package, thank u sir.

  4. #44
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    560
    Vote Rating
    24
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default


    No worries

    If some one could solve my package signing issue on production builds I would be really happy to
    Sven Tore Iversen