Adobe Air Cookies Removed When App Closed?
Hi,
I have a flex app which I would also now like to offer an Air client for. I don't want to create a new authentication system just for the Air app, I just want to use the cookie/session setup that I already have in place.
The cookies work and after logging in to the AIR app I can make subsequent requests without being asked to authenticate again, the problem is that the cookie seems to be deleted when the client is shut down, meaning that when I restart the air client I have to log in again which is obviously not acceptable for my users.
Is this expected behaviour in AIR and if so, what is the work around?
Cheers,
Chris
Hi Chris,
AIR uses the underlying operating system stack for managing cookies. As such, cookies can be shared between different AIR applications and with browsers that use OS stack (e.g. Internet Explorer on Windows).
From the official documentation as well as my experiments, cookies are preserved between application restarts.
I suspect the application uses session cookies for authentication -- these are meant to be cleared when the browser exits and for a good reason (mostly security). AIR clears session cookies when the application closes, unlike some browsers (e.g. Firefox) that don't always clear them.
From what I can tell, you have 2 choices here:
change the authentication system to not use session cookies anymore -- I strongly suggest *NOT* to do this.
write some code in the application to read/write the credentials from another kind of storage when run in AIR, for instance using the Encrypted Local Store. You could do this by inspecting the value of flash.system.Capabilities.playerType (see http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabiliti es.html#playerType ). You would have to write some AIR specific code, but it wouldn't require you to rewrite the authentication system.
Hope this helps,
Mihai
Similar Messages
-
Adobe Air error message when using PSE 10
When I try using the tips in PSE 10 I get an error message from Adobe Air stating that it is damaged. Have tried uninstalling and re-installing, but that hasn't helped. I have windows 7
Okay Jeff, this is as far as I have gotten so far. I'm using Air version 3.2.0.2070. This is the install log.
Runtime Installer begin with version 2.6.0.19140 on Windows 7 x86
Commandline is: -silent -eulaAccepted -programMenu AdobeHelp.air
Installed runtime (2.6.0.19120) located at C:\Program Files (x86)\Common Files\Adobe AIR
Invoking Application Installer for combined install
Launching subprocess with commandline C:\Users\Vette\AppData\Local\Temp\AIRD0CE.tmp\Adobe AIR\Versions\1.0\Adobe AIR Application Installer -runtime C:\Users\Vette\AppData\Local\Temp\AIRD0CE.tmp -silent -withRuntime -url -programMenu -eulaAccepted file:///E:/Adobe%20Photoshop%20Elements%2010/ElementsSTIInstaller/payloads/AdobeHelp/Adob eHelp.air
Application Installer begin with version 2.6.0.19140 on Windows 7 x86
Commandline is: -runtime C:\Users\Vette\AppData\Local\Temp\AIRD0CE.tmp -silent -withRuntime -url -programMenu -eulaAccepted file:///E:/Adobe%20Photoshop%20Elements%2010/ElementsSTIInstaller/payloads/AdobeHelp/Adob eHelp.air
Installed runtime (2.6.0.19120) located at C:\Program Files (x86)\Common Files\Adobe AIR
Unpackaging file:///E:/Adobe%20Photoshop%20Elements%2010/ElementsSTIInstaller/payloads/AdobeHelp/Adob eHelp.air to C:\Users\Vette\AppData\Local\Temp\flaE4EA.tmp
Application signature verified
Unpackaging/validation complete
No app located for appID 'chc' and pubID '4875E02D9FB21EE389F73B8D1702B320485DF8CE.1'
Converting unpackaged application to a native installation package in C:\Users\Vette\AppData\Local\Temp\fla71A.tmp
Native installation package creation succeeded
Starting silent combined runtime update and app install.
Updating runtime from version 2.6.0.19120 to version 2.6.0.19140.
Installing app chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 version 3.5.23 to C:\Program Files (x86)\Adobe using the source file at file:///E:/Adobe%20Photoshop%20Elements%2010/ElementsSTIInstaller/payloads/AdobeHelp/Adob eHelp.air
Reinstalling C:\Users\Vette\AppData\Local\Temp\AIRD0CE.tmp\setup.msi
Installing msi at C:\Users\Vette\AppData\Local\Temp\fla71A.tmp\setup.msi with guid {BD7F1DA3-5EA0-65F8-52B0-5E103FDC045A}
Application Installer end with exit code 0
Subprocess app installer succeeded
Runtime Installer end with exit code 0
Runtime Installer begin with version 2.6.0.19140 on Windows 7 x86
Commandline is: -silent "E:\Adobe Photoshop Elements 10\AdobePhotoshopDotcomInspirationBrowser.air"
Installed runtime (2.6.0.19140) located at C:\Program Files (x86)\Common Files\Adobe AIR
Invoking Application Installer for combined install
Launching subprocess with commandline C:\Users\Vette\AppData\Local\Temp\AIR4EA4.tmp\Adobe AIR\Versions\1.0\Adobe AIR Application Installer -runtime C:\Users\Vette\AppData\Local\Temp\AIR4EA4.tmp -silent -withRuntime -url file:///E:/Adobe%20Photoshop%20Elements%2010/AdobePhotoshopDotcomInspirationBrowser.air
Application Installer begin with version 2.6.0.19140 on Windows 7 x86
Commandline is: -runtime C:\Users\Vette\AppData\Local\Temp\AIR4EA4.tmp -silent -withRuntime -url file:///E:/Adobe%20Photoshop%20Elements%2010/AdobePhotoshopDotcomInspirationBrowser.air
Installed runtime (2.6.0.19140) located at C:\Program Files (x86)\Common Files\Adobe AIR
Unpackaging file:///E:/Adobe%20Photoshop%20Elements%2010/AdobePhotoshopDotcomInspirationBrowser.air to C:\Users\Vette\AppData\Local\Temp\fla634C.tmp
Application signature verified
Unpackaging/validation complete
No app located for appID 'PhotoshopdotcomInspirationBrowser' and pubID '4C35C4D325D350FE0114230CBADCA2DDD0AC8D25.1'
Converting unpackaged application to a native installation package in C:\Users\Vette\AppData\Local\Temp\fla7325.tmp
Native installation package creation succeeded
Starting silent app installation to C:\Program Files (x86)\Adobe. Installing app PhotoshopdotcomInspirationBrowser.4C35C4D325D350FE0114230CBADCA2DDD0AC8D25.1 version 3.07 using the source file at file:///E:/Adobe%20Photoshop%20Elements%2010/AdobePhotoshopDotcomInspirationBrowser.air
Installing msi at C:\Users\Vette\AppData\Local\Temp\fla7325.tmp\setup.msi with guid {4C184855-B85A-6873-C642-60A58682E721}
Application Installer end with exit code 0
Subprocess app installer succeeded
Runtime Installer end with exit code 0
Launching subprocess with commandline C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -updatecheck
Runtime Installer begin with version 2.6.0.19140 on Windows 7 x86
Commandline is: -updatecheck
Installed runtime (2.6.0.19140) located at C:\Program Files (x86)\Common Files\Adobe AIR
Performing pingback request
Pingback request completed with HTTP status 200
Starting runtime background update check
Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/2.6.0.19140/update
Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/2.6.0.19140/update to C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background
Unpackaging complete
Download success
Runtime updated downloaded
User has selected immediate install of the update
Starting runtime background update installation
Launching subprocess with commandline C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background\updater -update
Runtime updater successfully launched
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
Commandline is: -update
Installed runtime (2.6.0.19140) located at C:\Program Files (x86)\Common Files\Adobe AIR
Relaunching with elevation
Launching subprocess with commandline c:\users\vette\appdata\local\temp\airafa3.tmp\adobe air installer.exe -ei
Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_704_0 -ei
Installed runtime (2.6.0.19140) located at C:\Program Files (x86)\Common Files\Adobe AIR
Starting silent runtime update. Updating runtime from version 2.6.0.19140 to version 3.1.0.4880
Installing msi at c:\users\vette\appdata\local\temp\airafa3.tmp\setup.msi with guid {FE23D063-934D-4829-A0D8-00634CE79B4A}
Runtime Installer end with exit code 0
Elevated install completed
Runtime Installer end with exit code 0
Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -updatecheck
Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
Commandline is: -updatecheck
Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
Performing pingback request
Pingback request completed with HTTP status 200
Starting runtime background update check
Clearing unused background update directory
Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update
Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.1.0.4880/update to C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background
Runtime update not available
Unpackaging cancelled
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.1.0.4880 on Windows 7 x86
Commandline is: -arp:uninstall
Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
Runtime Installer end with exit code 6
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is:
Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
Relaunching with elevation
Launching subprocess with commandline c:\users\vette\appdata\local\temp\aire7af.tmp\adobe air installer.exe -ei
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_4784_0 -ei
Installed runtime (3.1.0.4880) located at c:\Program Files (x86)\Common Files\Adobe AIR
Starting silent runtime update. Updating runtime from version 3.1.0.4880 to version 3.2.0.2070
Installing msi at c:\users\vette\appdata\local\temp\aire7af.tmp\setup.msi with guid {47FA2C44-D148-4DBC-AF60-B91934AA4842}
Runtime Installer end with exit code 0
Elevated install completed
Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -installupdatecheck
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Performing pingback request
Pingback request completed with HTTP status 200
Starting runtime background update check
Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update
Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update to C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background
Runtime update not available
Unpackaging cancelled
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -arp:uninstall
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Relaunching with elevation
Launching subprocess with commandline c:\program files (x86)\common files\adobe air\versions\1.0\resources\adobe air updater.exe -eu
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_3840_0 -eu
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Starting runtime uninstall. Uninstalling runtime version 3.2.0.2070
Uninstalling product with GUID {47FA2C44-D148-4DBC-AF60-B91934AA4842}
Runtime Installer end with exit code 0
Elevated install completed
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is:
No installed runtime detected
Relaunching with elevation
Launching subprocess with commandline c:\users\vette\appdata\local\temp\airbda4.tmp\adobe air installer.exe -ei
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_764_0 -ei
No installed runtime detected
Starting silent runtime install. Installing runtime version 3.2.0.2070
Installing msi at c:\users\vette\appdata\local\temp\airbda4.tmp\setup.msi with guid {47FA2C44-D148-4DBC-AF60-B91934AA4842}
Runtime Installer end with exit code 0
Elevated install completed
Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -installupdatecheck
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Performing pingback request
Pingback request completed with HTTP status 200
Starting runtime background update check
Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update
Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update to C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background
Runtime update not available
Unpackaging cancelled
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is:
No installed runtime detected
Relaunching with elevation
Launching subprocess with commandline c:\users\vette\appdata\local\temp\air2fa8.tmp\adobe air installer.exe -ei
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_5396_0 -ei
No installed runtime detected
Starting silent runtime install. Installing runtime version 3.2.0.2070
Installing msi at c:\users\vette\appdata\local\temp\air2fa8.tmp\setup.msi with guid {47FA2C44-D148-4DBC-AF60-B91934AA4842}
Runtime Installer end with exit code 0
Elevated install completed
Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
Runtime Installer end with exit code 0
Runtime Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -installupdatecheck
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Performing pingback request
Pingback request completed with HTTP status 200
Starting runtime background update check
Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update
Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/3.2.0.2070/update to C:\Users\Vette\AppData\Roaming\Adobe\AIR\Updater\Background
Runtime update not available
Unpackaging cancelled
Runtime Installer end with exit code 0
Application Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -playerVersion=11,2,202,233 -sandboxType=remote -securityDomain=airdownload.adobe.com -https=false -fromUserEvent=true -- -url http://www.adobe.com/support/chc/air/350/AdobeHelp.air -- WWW aHR0cDovL3d3dy5hZG9iZS5jb20vc3VwcG9ydC9jaGMv
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Begin air file download from http://www.adobe.com/support/chc/air/350/AdobeHelp.air
Download destination is C:\Users\Vette\AppData\Local\Temp\fla7A97.tmp
Received download status 200
Response URL is http://www.adobe.com/support/chc/air/350/AdobeHelp.air
Download success
Unpackaging file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp to C:\Users\Vette\AppData\Local\Temp\flaB22B.tmp
Application signature verified
Unpackaging/validation complete
No app located for appID 'chc' and pubID '4875E02D9FB21EE389F73B8D1702B320485DF8CE.1'
Converting unpackaged application to a native installation package in C:\Users\Vette\AppData\Local\Temp\flaC7B.tmp
Native installation package creation succeeded
Starting app installation to C:\Program Files (x86)\Adobe. Installing app chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 version 3.5.23 using the source file at file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp
Got an unexpected fatal error while in stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: Directory can't be written to" errorID=5006]
Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR Application Installer -runtime "c:\Program Files (x86)\Common Files" -silent -logToStdout -url -location "C:\Program Files (x86)\Adobe" -desktopShortcut -programMenu file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp
Relaunching with elevation
Application Installer begin with version 3.2.0.2070 on Windows 7 x86
Commandline is: -stdio
.\pipe\AIR_4952_0 -runtime "c:\Program Files (x86)\Common Files" -silent -logToStdout -url -location "C:\Program Files (x86)\Adobe" -desktopShortcut -programMenu file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp
Installed runtime (3.2.0.2070) located at c:\Program Files (x86)\Common Files\Adobe AIR
Unpackaging file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp to C:\Users\Vette\AppData\Local\Temp\fla3260.tmp
Application signature verified
Unpackaging/validation complete
No app located for appID 'chc' and pubID '4875E02D9FB21EE389F73B8D1702B320485DF8CE.1'
Converting unpackaged application to a native installation package in C:\Users\Vette\AppData\Local\Temp\fla3BF3.tmp
Native installation package creation succeeded
Starting silent app installation to C:\Program Files (x86)\Adobe. Installing app chc.4875E02D9FB21EE389F73B8D1702B320485DF8CE.1 version 3.5.23 using the source file at file:///C:/Users/Vette/AppData/Local/Temp/fla7A97.tmp
Installing msi at C:\Users\Vette\AppData\Local\Temp\fla3BF3.tmp\setup.msi with guid {BD7F1DA3-5EA0-65F8-52B0-5E103FDC045A}
Application Installer end with exit code 0
Elevated install completed
Launching subprocess with commandline C:\Program Files (x86)\Adobe\Adobe Help\Adobe Help.exe
Application Installer end with exit code 0
Date: Thu, 12 Apr 2012 17:10:46 -0600
From: [email protected]
To: [email protected]
Subject: Adobe Air error message when using PSE 10
Re: Adobe Air error message when using PSE 10
created by Jeff A Wright in Downloading, Installing, Setting Up - View the full discussion
Vetteski65 I would recommend reviewing Troubleshoot AIR installation | Windows - http://helpx.adobe.com/air/kb/troubleshoot-air-installation-windows.ht ml for steps on how to resolve your difficulties. Please feel free to respond to this thread if you have any questions about the steps listed within the document. If you could also respond with the specific error message you receive it would be appreciated.
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4331328#4331328
To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4331328#4331328. In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Downloading, Installing, Setting Up by email or at Adobe Forums
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746. -
Include Adobe AIR in apk and app file.
Is there any way to include a Adobe AIR in apk and app file (Android and iOS), that the user dont have to download it and install separtely?
Is it possible to be done in Flash Builder 4.5 (ActionScript Mobile Project)?See Captive Runtime
http://tv.adobe.com/watch/adc-presents/adobe-air-with-captive-runtime-support-for-mobile/ -
Adobe air Won't install apps; won't even install
I tried installing the new seesmic desktop app and kept claiming the package was damaged, so I used perfect uninstaller to uninstall adobe air and tried a reinstall, it now says I need admin rights which is odd because I'm logged into an admin account.
Log file
Performing runtime install
UI SWF load is complete
UI initialized
starting user confirmation
Version of this installer: 1.5.2.8870
Installation type: additionalNewest
starting install
Scheduling runtime installation operations
uninstall scheduled for 1.0.4, 1.0.6, 1.0.5
Installed Product GUID: is same:false
Beginning runtime installation
Beginning install
Installing c:\docume~1\rpvonz\locals~1\temp\aire8.tmp\setup.msi
Error occurred; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
Rolling back install of c:\docume~1\rpvonz\locals~1\temp\aire8.tmp\setup.msi
Rollback due to error complete
error during install: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
runtime install entering error state: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="1625" errorID=5009]
begin quittingTry this:
Make sure everything is closed on you computer. Before trying to reinstall turn on Hidden Files and Folders. Go to C:\Documents and Settings\USERNAME\Application Data\Adobe\ and delete the AIR folder. Then clear your Temp files from C:\Documents and Settings\USERNAME\Local Settings\Temp. Empty your trash can. Try reinstall. -
Adobe Air 1.5 - Broken Apps, Can't Reinstall
Hi.....I installed Air 1.5 (foolishly) and now I can't get
any of my apps to work. I'm on OS X 10.5.6, and had everything
working prior. I'd like to get this working again, but I can't even
uninstall because the uninstaller is gone, and when I try to
reinstall, it tells me that I have it installed already. I'd really
appreciate any help whatsoever, and I'd like to get this working!
tahnks!Terminal is the application you can find in
Applications/Utilities folder.
After you download the AIR Runtime, double click on the
AdobeAIR.dmg file to mount the disk image. You can copy the Adobe
AIR Installer file
to your home directory( then you don't need to use the
command cd).
Launch Terminal. Then type in the command and hit
return. -
StageWebView crashes Adobe AIR on iOS when assigning it a stage
I'm having a problem with StageWebView on iOS (in Android it works fine). More exactly, It's an iPad app.
I'm loading a dynamic PHP URL with StageWebView's loadURL method, and then I start building Flash interface elements in a left column (the StageWebView browser is in the right column), which works fine, then I wait a couple of seconds for the page to load (with a Timer), and then I finally show the browser to the user with:
this.webView.stage = this.stage;
The moment I run that line, the whole iOS application crashes and the iPad goes back to its desktop (I suppose that should never happen in Adobe AIR no matter what you do).
But the process is still in memory, since if I double click the iPad physical button, I can see my application icon in the running apps bar (though if I click the icon, the app starts from the beginning, instead of resuming).
Using AIR 2.6. Any ideas on how to solve this crash?
Thanks.Thanks for the link. I've checked it, but the differences listed are not relevant in my app, I think.
Yes, I know there is also the "Event.COMPLETE" event, but I can't use that because it only fires after the page is fully loaded, with all its images, and the page I'm trying to load has 200 images or so and takes almost a minute to load, so I can't have the user wait that long. I just want to wait until the HTML has loaded.
Anyway, I've also tried Event.COMPLETE and after the long wait, the app still crashes when trying to show the StageWebView.
I've even tried a complex solution, by using StageWebViewBridge by Pedro Casaubon to communicate with the JavaScript in the page, using JavaScript's "DOMContentLoaded" event, so it fires as soon as the HTML (but not the images) has loaded. That works, but as soon as I make the StageWebView visible by assigning it the stage, AIR crashes!
So, AIR crashes when trying to assign the stage to the StageWebView object in all these three cases:
- After waiting for AS3 Event.COMPLETE event listener added to loadURL()
- After waiting for JavaScript "DOMContentLoaded"
- After waiting for a fixed period of time set with a Timer event
The only way AIR doesn't crash when assigning the stage to StageWebView is NOT waiting at all. That is, running the loadURL function and immediately running the "this.webView.stage = this.stage;" line to show the StageWebView object in the stage. In that case it works, but it shows some ugly white box in the StageWebView area while loading, which I was trying to avoid, plus JavaScript events don't work until the page is loaded.
All those crashes described above are most likely a bug in Adobe AIR, but I don't know how could somebody else reproduce it since it could be caused by anything (the dynamic PHP page I'm loading, the JS code, something in the AS3 code, though I don't think that code has anything out of the ordinary...)
Also, when I test the app with ADL in the PC, everything works as expected. The crashes only happen in the iPad (it's an iPad 2). -
We're currently studying to develop a video player app using AIR 14 targeting Windows, Mac OS and Android.
Access DRM is needed but reading online tech specs (URL Adobe Access - Tech specs), there is no mention of windows 8+, Mac OS 10.8 &10.9, android 4+ support.
Can you please give us accurate information on that topic ?
Thank you.Hello,
Sorry for delayed reply.
Adobe Access DRM are supported on those platforms.
Basically Adobe Access requirements are same as Adobe AIR requirement.
Thanks,
Hiroshi -
Adobe air exe to ios app - the process?
Hi,
I am new to app development. I am wanting to know what is possible and my cheapest option in creating an app for IOS from windows.
The app I am creating is a technical publication wanting to be displayed on anipad.
I have an adobe Air version exe published from robohelp/ framemaker. Is there a way to turn my adobe air application into a IOS App?
If not, what are my other options to get a tech pubs document as a IOS App? I would like to use ideally windows adobe products for the creation of it.
ThanksYe that Merapi definitely seems interesting but it's the Java chops part that I think I'll fall down lol
I've also asked on a java forum if anyone with experience of using Flex in Conjunction with Java can create the function that I'm after but my topic has been ignored like the ugly girl at the prom.
I've never heard of a socket server. Would they be required to be installed on each machine that the interface is installed on?
I'll definitely look into it. Thanks a lot mate. -
Anyone else getting adobe AIR error 2032 when trying to download Adobe max companion?
Hey;
I'm attending max for my first time and am psyched. I've tried downloading the Adobe MAX companian at http://www.max.adobe.com/companion but I keep getting error 2032. I'm wondering if I'm the only one experiencing this problem and if so what can I do to fix it? Thanks for your replies in advance.Thank you for responding. I found the problem. No it isn't a flash player
issue it is an AIR issue. I didn't know there was an AIR forum. I will post
the answer here instead of duplicating posts. If you are a developer and
have a virtual server on your computer you most likely will run into the AIR
error 2032 when trying to download the MAX companion for the conference
starting tommorow-Wednesday (Monday-Wednesday). You need to either add in a
chunk of code to your server that allows AIR to run or use a different
computer. I used a different computer but I read that someone found the
solution to this error is to add the code to their virtual server. I use
XAMPP, which is a rather popular Virtual Server. Okay well I hope this helps
anyone in the future. -
Will Adobe AIR support Google Glass app ?
I'd like to develop Google Glass app using Adobe AIR. Will GDK support be included in the future Adobe AIR release ?
That's great insight Colin.
What are the complications? Can you go into any more detail?
I have published an APK from FlashPro it contains just an image and loaded it on Glass (there were no errors) but it's not running.
Thanks -
Adobe air 3.9 when released?
adobe air now is v3.8 beta,
has not been updated for a long time.
adobe ready to give up adobe air?
sading...The release notes that are linked on the page I gave does show the full version numbers. Look at the bottom of the first page:
http://labsdownload.adobe.com/pub/labs/flashruntimes/shared/air3-8_flashplayer11-8_release notes.pdf -
Adobe Air and SharedObject in app-storage
Hi there,
I'm developing an air application that loads external swf files from the app-storage folder. In my external swf file I have to store a local object, but every time I try to flush (write) my object I get an error that the SharedObject can't be flushed.
I assume that the Sandbox don't allow this?
I searched the whole web but I found nothing that worked for me.
Maybe it is possible to start (or install) the air application from the app-storage folder?
many many thanksOk, I've found a solution that worked for me. Loader.loadBytes did the job for me. I know that is not recommended but in my case I take control for the external swfs.
-
Hi guys,
I might be a little early with the question, but actually its something which will bug us all at some point.
Windows 8 METRO apps.
On tablets the metro interface will not support the flash plugin on websites, so we cannot have flash apps on it unless we can really make metro apps (which I heard will only be available through the MS webstore? )
Is this then the same like when we now create an APK for android or a IPA for Iphone using flash cs5.5 ?
Is there any more information available on this apart from the message from Adobe that the THINK it will run ?
Kind regards,
BartI haven't heard any more than you Bart, but I'll +1 this for some answers!
-
Prevent macbook air to sleep when lid closed
Hi All
I would like to know since I've already tried to configure it but it still do not work, I am trying to prevent my macbook air to sleep while the lid is closed and on power adaptor.
I went to energy and preferences but i couldn't find any settings regards the lid.
Can you please assist me ?
thank you in advanceI found this http://www.macupdate.com/app/mac/22211/insomniax
is it my only solution? -
Mac: adobe air & cookies
hi,
i am trying to write a little air project, that make it
possible to take someones login data and logon
www.somedomain.com/login.php ... after that i want to switch to
www.somedomain.com/mypage.php. My problem is, that my air app dont
set any cookie and on the second URLRequest i am not authorized to
see the page.
If i enter www.google.com in my safari prefs, 1 cookie was
set, but if i am trying this small code
quote:
var request:URLRequest = new URLRequest();
var loader:URLLoader = new URLLoader();
request.url = "
http://www.google.de";
loader.load(request);
... no cookie was saved.
Is there anything to do?
thanks for any helphi Erica,
i tried your hint, but this doesnt work for me. is there some
code, that explain how these method work? because i dont get any
cookie or been logged in my www.testurls.com.
_steffen
Maybe you are looking for
-
How to Add Friends on Game Center
Hi ppl... Me and my friend are trying to figure out how to add friends on the Game Center(or atleast I am). So any way she has friends in the game center and keeps on trying to friend me but i dont get the invite/request and I cant find the add frien
-
My 1st geno Apple TV hard drive crashed. Ive lost all my media that was purchased from iTunes. I want It back. I attempted to backup to my laptop and the thing would just time out. Who do I contact and how at Apple? I tried express lane and they sen
-
Hi, I have problems connecting my APe to the internet with PPPoE. Normaly my APe is configured as a wireless client of my existing network only used for airtunes. Now I want to use the APe at another place as DSL-router. So I´ve setup a new profile u
-
hi i am xi admin and this is error message i am getting ''Error during communication with System Landscape Directory: User credentials are invalid or user is denied access'' plz help me out...
-
Import Address Book after upgrade from panther.
Hello folks, A friend of mine recently upgraded to leopard from 10.3.9. Made backups but can't import her old addressbook files. The way i told her to do it is just to take the addressbook folder from 10.3.9 and replace it in Users > library > applic