-
21 Jul 2010 11:32 PM #1
Sencha Touch & Adobe AIR
Sencha Touch & Adobe AIR
Hi,
i'm trying to build a Sencha Touch / Adobe AIR application. I'm stuck 'cause i'm getting AIR security exceptions while running the application.
Does anybody knows if it is / will be possible to run Sencha Touch within an AIR environment?Code:C:\Users\Admin\Desktop\app>adl application.xml Error: Adobe AIR runtime security violation for JavaScript code in the application security sandbox (Function constructor) at app:/lib/sencha/ext-touch-debug.js : 2577 at app:/lib/sencha/ext-touch-debug.js : 2364 at app:/lib/sencha/ext-touch-debug.js : 715 at app:/lib/sencha/ext-touch-debug.js : 13189 at app:/lib/sencha/ext-touch-debug.js : 15313 at app:/lib/sencha/ext-touch-debug.js : 12517 at app:/lib/sencha/ext-touch-debug.js : 13752 at app:/lib/sencha/ext-touch-debug.js : 12405 at app:/lib/sencha/ext-touch-debug.js : 17723 at app:/lib/sencha/ext-touch-debug.js : 17711 at app:/lib/sencha/ext-touch-debug.js : 17855 at app:/lib/sencha/ext-touch-debug.js : 17683 at app:/lib/sencha/ext-touch-debug.js : 12654 at app:/lib/sencha/ext-touch-debug.js : 12751 at app:/lib/sencha/ext-touch-debug.js : 12485 at app:/lib/sencha/ext-touch-debug.js : 13752 at app:/lib/sencha/ext-touch-debug.js : 12405 at app:/lib/sencha/ext-touch-debug.js : 12287 at app:/lib/sencha/ext-touch-debug.js : 182 at app:/lib/sencha/ext-touch-debug.js : 182 at app:/lib/sencha/ext-touch-debug.js : 182 at app:/src/index.js : 50 at app:/lib/sencha/ext-touch-debug.js : 8424 undefined at undefined : undefined undefined at undefined : undefined
Best regards
-
21 Jul 2010 11:49 PM #2
Not without some major refactoring, no. It uses templates a lot, which are all dynamically generated at runtime using functions.
Evan Trimboli
Sencha Developer
Twitter - @evantrimboli
Don't be afraid of the source code!
-
22 Jul 2010 12:28 AM #3
Ohh, bad news for me
But thanks very much for clarification, so i won't spend more time on that.
Another approach: Maybe possible in any way to disable / bypass the sandbox security of AIR? (I will have administrator permissions as well as physical access to all client machines running the application)
-
22 Jul 2010 1:02 PM #4Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
It has nothing to do with your user permissions. Adobe just doesn't allow certain things in Air and template is one thing that is tricky.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
22 Jul 2010 1:52 PM #5
Sorry, i may have expressed myself unclearly.
I just meant i would be able to configure the clients as needed because i have admin permissions. Thought there may be some settings to grant more permissions to the AIR application (e. g. like Java's "java.policy" file).
But i fear there's no way to disable the sandbox security
-
22 Jul 2010 1:54 PM #6Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,121
- Vote Rating
- 453
Not that I'm aware of. Gotta love having control! haha
Hopefully Sencha is still working on their ION platform!Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
23 Jul 2010 12:25 PM #7
Did someone tried with Titanium yet? Would be an alternative to AIR, but couldn't get Sencha Touch working with it yet.. but I'm completely new to Titanium, so maybe it's easy for experienced users.
Similar Threads
-
Sencha Touch Releases & Notes (1.0RC)
By TommyMaintz in forum Sencha Touch 1.x: DiscussionReplies: 7Last Post: 9 Nov 2010, 9:01 AM -
Ext JS & Sencha Touch 勉強会7月@東京を開催します
By yuki in forum Ext Japan: オープンディスカッションReplies: 0Last Post: 13 Jul 2010, 3:03 AM -
Adobe AIR && Ext.Panel
By Digital God in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 12 Apr 2008, 1:37 PM


Reply With Quote