Results 1 to 10 of 10

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

Hybrid View

Previous Post Previous Post   Next Post Next Post
    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
      1  

    Default 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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

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

  3. #3
    Sencha User voloshyn's Avatar
    Join Date
    Jan 2012
    Posts
    118
    Vote Rating
    1
      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
      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
      0  

    Default

    Where is Sencha Command 3.0.3.309?

  6. #6
    Sencha User
    Join Date
    Jan 2013
    Posts
    13
    Vote Rating
    5
      1  

    Default

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •