Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
Copy link to clipboard
Copied
I think the links may be mixed up for the File type association and URI handler registration sections of the OS X instructions.
Copy link to clipboard
Copied
They're not really mixed up. It's just that the information for both is on the same page and the links are missing anchors.
I'll fix this. Nice catch!
Randy Nielsen
Senior Content and Community Manager
Adobe Systems Incorporated.
Copy link to clipboard
Copied
This is nice articles.
Copy link to clipboard
Copied
This would be a great solution for a current project if not for "launching an AIR application from a web page is not supported". Any possibility this feature will be supported in future?
Thanks.
Copy link to clipboard
Copied
Unfortunately File.createTempDirectory() doesn't work with CD-ROM and captive runtime.
It points to the root directory of my CD-ROM drive. Is there a way to copy data to a temp dir on the hdd?
If have problems with CD-ROM spin-downs when loading content.
Copy link to clipboard
Copied
@Stiefel_Eurocart,
Maybe try applicationStorageDirectory: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/filesystem/File.html#applic...
HTH,
-Randy
Copy link to clipboard
Copied
Thx for your quick answer.
I found the problem, it wasn't really the temp-Directory:
This one works with the CD-Rom:
var theDatatoCopy:File = File.applicationDirectory.resolvePath("data");
This one works with USB-Stick and on HDD, but not on CD-ROM:
var theDatatoCopy:File = File.applicationDirectory;
So the problem was not the temporary path, but the
theDatatoCopy.copyToAsync(tempFile, true); call.
I don't know why it's different on CD-ROM and USB, but maybe the problem has to do with, that I shoulnd't copy all the stuff in the appDirectory, since some of the content is used.
That would have been easier with relative path names, but that's ok to handle.
"IOError —.... On Windows, you cannot copy a file that is open or a directory that contains a file that is open."
Thank You!
Copy link to clipboard
Copied
Hi!
I try make runtime bundle package for Mac OS and Linux OS from .air file.
But always trap exception "unknown package target bundle". It's sadly. Because in Windows all created normally.
Code:
adt -package -target bundle :/...path to export .../ppp.app :/...path to source.../name.air
Copy link to clipboard
Copied
Tomasz Misiewicz pointed out a few things we should clarify here:
Packaging ANEs in a Captive Runtime is not supported in Flash Builder 4.6 but Flash Builder 4.7 has the following support:
However, the other two export options (Signed AIR installer and Intermediate AIRI package) are not supported for applications using native extensions.
Also, you can always use command-line ADT.
Regards,
Randy Nielsen
Senior Content and Community Manager
Adobe
Copy link to clipboard
Copied
As it turned out problem was version AIR SDK. For Linux (max version is 2.6) is not decision. For Mac start working from versiom 3.5 (version 3.1 do not working too)