Hybrid View

    Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-3911 in a recent build.
  1. #1
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    5
    NineBerry is on a distinguished road

      1  

    Default Ext.device.* not working on native Android app with Sencha Touch 2.1

    Ext.device.* not working on native Android app with Sencha Touch 2.1


    REQUIRED INFORMATION Touch version tested:
    • Touch 2.1 rev 447

    Command version tested:
    • Touch 3.0 rev 141
    Devices tested
    • Android 4.2 Emulator
    Description:
    • Ext.device.* functionality does not work in packaged app on android although it works in unpackaged browser.
    Steps to reproduce the problem:
    • sencha generate app path C:\BlaBla\Demo2
    • modify app.js to require Ext.device.Camera and Ext.device.Notification
    • modify packager.json with appropriate values
    • modify Main.js to add button that calls Ext.device.Notification.show() and Ext.device.Camera.capture
    • Open index.html in Chrome browser via Web Server -> Functionality works (Notification displayed, Camera.capture() returns demo url)
    • sencha app build native
    • Start emulator
    • adb -install -r MyApp.apk
    • run demo app on Emulator
    The result that was expected:
    • Same behaviour as in browser: notification displayed, camera functionality
    The result that occurs instead:
    • Nothing happens on pressing the button
    Test Case: See full project code and packaged apk at http://www.neunbeere.de/ExtRef/SenchaTouch2Demo2.zip HELPFUL INFORMATION Operating System:
    • Windows 7

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


    Thanks for the report! I have opened a bug in our bug tracker.

  3. #3
    Sencha - Sencha Touch Dev Team voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
    voloshyn is on a distinguished road

      0  

    Default


    Whatever it was it's fixed now, I can not reproduce the issue with Sencha Command 3.0.3.309 neither on Mac or PC

  4. #4
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    5
    NineBerry is on a distinguished road

      3  

    Default


    3.0.3.309 doesn't seem to be released yet?

  5. #5
    Sencha User
    Join Date
    Nov 2012
    Posts
    7
    Vote Rating
    0
    alepht is on a distinguished road

      0  

    Default


    Where is Sencha Command 3.0.3.309?

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    5
    NineBerry is on a distinguished road

      1  

    Default


    So, when is Sencha Command 3.0.3.309 going to be released?