prologic
17 Mar 2008, 7:44 PM
Hi all,
I'm trying to get Jack's sample "Simple Tasks" example working with Adobe AIR in Aptana Studio and am not having much luck. I can run (clicking on the Run button) the application in Firefox okay, but not in Adobe AIR (click on the Adobe AIR icons for Tasks).
When run as an Adobe AIR app the following happens:
A new window opens
The content of the window is replaced with http://gears.google.com/
This states that my browser (WebKit ?) is not compatible
Presumably this is caused by the inclusion of gears.js (from Tasks.html). However if this is commented out or removed, nothing works. A blank window named "Simple Tasks" is created with nothing rendered.
Furthermore, I cannot debug this in Aptana as it seems debugging is not supported for Adobe AIR apps (despite the AIRIntrosepctor.js).
This is what I've done (following Jack's suggestion):
Installed Aptana Jaxer (latest version)
Installed Aptana Studio Pro (latest version / trial)
Installed Google Gears (latest version)
Installed Adobe AIR Runtime and SDK (latest versions)
Created a new Aptana Adobe AIR Project called Tasks using default settings (and including Ext-2.0.2 support)
Saved this project
Copied and overwrote the contents of examples/tasks/* from the Ext-2.0.2 source zip into the Tasks project directory
Modifed the src= attributes and fixed the locations of ext javascript and css references in Tasks.html
Can anyone reproduce this or offer any helpful suggestions ?
cheers
James
I'm trying to get Jack's sample "Simple Tasks" example working with Adobe AIR in Aptana Studio and am not having much luck. I can run (clicking on the Run button) the application in Firefox okay, but not in Adobe AIR (click on the Adobe AIR icons for Tasks).
When run as an Adobe AIR app the following happens:
A new window opens
The content of the window is replaced with http://gears.google.com/
This states that my browser (WebKit ?) is not compatible
Presumably this is caused by the inclusion of gears.js (from Tasks.html). However if this is commented out or removed, nothing works. A blank window named "Simple Tasks" is created with nothing rendered.
Furthermore, I cannot debug this in Aptana as it seems debugging is not supported for Adobe AIR apps (despite the AIRIntrosepctor.js).
This is what I've done (following Jack's suggestion):
Installed Aptana Jaxer (latest version)
Installed Aptana Studio Pro (latest version / trial)
Installed Google Gears (latest version)
Installed Adobe AIR Runtime and SDK (latest versions)
Created a new Aptana Adobe AIR Project called Tasks using default settings (and including Ext-2.0.2 support)
Saved this project
Copied and overwrote the contents of examples/tasks/* from the Ext-2.0.2 source zip into the Tasks project directory
Modifed the src= attributes and fixed the locations of ext javascript and css references in Tasks.html
Can anyone reproduce this or offer any helpful suggestions ?
cheers
James