Hybrid View
-
17 Jan 2013 2:54 AM #1
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
- Android 4.2 Emulator
- Ext.device.* functionality does not work in packaged app on android although it works in unpackaged browser.
- 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
- Same behaviour as in browser: notification displayed, camera functionality
- Nothing happens on pressing the button
- Windows 7
-
17 Jan 2013 7:52 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,637
- Vote Rating
- 435
Thanks for the report! I have opened a bug in our bug tracker.
-
18 Jan 2013 5:25 PM #3
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
-
21 Jan 2013 1:51 AM #4
-
23 Jan 2013 2:17 PM #5
-
5 Feb 2013 8:13 AM #6
So, when is Sencha Command 3.0.3.309 going to be released?
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-3911
in
Sprint 29.


Reply With Quote