16 Aug 2012 9:20 AM #11
once again confirm:The main thing that Ext.device.Connection will works without native (with less features) and without any errors.
16 Aug 2012 9:25 AM #12
If Ext.device wasn't undefined when I ran my web-app I wouldn't be commenting about this. Do you include the device library any other ways?
16 Aug 2012 10:17 AM #13
I just created simple demo for my OnlimeManager http://mindsaur.com/demo/online/
This is not native app - just web app and all works fine
Upd: code of the demo app already on GitHub
16 Aug 2012 10:20 AM #14
Yes, but how did you create that demo? Did you use Sencha Command? How did you include Ext.device?...
16 Aug 2012 10:24 AM #15
Yes, demo app created with sencha command. You can see on GitHub repository now
How did you include Ext.device?...Code:
requires: [ 'Ext.device.Connection', ... ],
16 Aug 2012 10:30 AM #16
When I try including that code in my web app, it doesn't work.
Uncaught Error: [Ext.Loader] Failed loading './device/Connection.js', please verify that the file exists sencha-touch-all-debug.js:7889 Ext.apply.onFileLoadError sencha-touch-all-debug.js:7889 (anonymous function) sencha-touch-all-debug.js:3167 Ext.apply.loadScriptFile.onScriptError sencha-touch-all-debug.js:7613 Ext.apply.injectScriptElement.onErrorFn sencha-touch-all-debug.js:7543
I don't use Sencha Command to create my web-apps.
16 Aug 2012 10:45 AM #17
16 Aug 2012 10:57 AM #18
No thanks.. I really have no use for Ext.device. If I did, I would use Sencha commands. I don't like how the commands create the app structure and everything and my company follows a certain structure that would be hard to rearrange. I figured it was the reason once you told me you did use commands to create your app.
Anyway, it is a great plugin
16 Aug 2012 11:04 AM #19
Of course you can create app structure (etc) without sencha command. But, if you uses - your apps will be more lighter. Microloader - is a super feature of Sencha Touch SDK
16 Aug 2012 11:08 AM #20
I use custom bootstraps instead of the microloader. I understand what it all does. It doesn't really make a difference when you have a web-app that is 40,000 lines of code with tons of enhancements. I would definitely use sencha command if I was working on my own app and it wasn't such a big one.