AIR captive runtime application for MacOS
Hi!
I create application with captive runtime for Windows and MacOS. I have some problem connected with MacOS specific, cause I'm newbie in this OS.
I dont want to publish my app in appstore, cause the app have problems with appstore rules.
1) How I should to sign my application? I just pack my app as described in manual http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html but I don't see any track of code sign in my .app. I thought that it isn't a problem, before I download my app from network - it don't want to run because dveloper unidentified.
2) My application require update system. I Realize it simply for Windows: my AIR application download updates if it necessary (resources, air lib, main swf file, and exe) and then I replace files with other program. There is no problems with updates, cause codesign is only spread on exe file.
But as I understood I can't use same way to update my .app cause it destroy my codesign, as I know. So, how I should update my MAC app?
UPD1: I found a bit information about 1st here: How to sign your Mac OS X App for Gatekeeper | Successful Software. So, I can't use not apple's sign certificate?
It's a good idea to add :tumbleweed: smile to this forum
I spent 3 days for searching answer and making experiments. So, as a result:
1) To pass MacOS Gatekeeper I should use apple developer certificate.
2) I could change content of signed .app file as I wish. I don't try it with my own app because my certificate is not ready yet, but I successfully change contents of few other signed apps - no issues with running was detected. Maybe there is any problem with my understanding of signature..
Helpful links:
osx mountain lion - Non-Apple Issued Code Signing Certificate: Can it Work with Mac OS 10.8 Gatekeeper? - Stack Overflow
How to sign your Mac OS X App for Gatekeeper | Successful Software
Similar Messages
-
How do you publish AIR captive runtime for Windows from OSX in Flash Pro CS6?
Is this possible? If I move the app from a Mac to Windows it isn't looking like an app anymore. It's looking like a set of folders instead. Do I need to change publish options? changeing the extension to .exe didn't fix it. Help appreciated!
Thanks,
DaveHi Dave ,
The published AIR captive runtime in Flash from Windows and Mac will have the following structure -
Windows -
MyApp/
META-INF/
Adobe AIR/ // The captive runtime minus irrelevant files
mimetype
MyApp.swf // Assets
MyApp.exe // An entrypoint that loads the captive runtime
Mac -
MyApp.app/
Contents/
Frameworks/
Adobe AIR.framework/ // The captive runtime
Info.plist
MacOS/
MyApp // An entrypoint that loads the captive runtime
PkgInfo
Resources/
META-INF/
mimetype
MyApp.swf // Assets
The entry point that loads the Captive runtime is different in the above cases.
Hence we need to explicitly publish from the required platform.
You can even check this link : http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
To create a captive runtime bundle for Windows, you must package the application while running under the Windows operating system.
Thanks and regards,
Sudeshna Sarkar
Adobe Flash Professional Team. -
Adobe AIR with Captive Runtime Support for Mobile | ADC Presents | Adobe TV
In this video, Technical Evangelist Andrew Trice covers Adobe AIR with captive runtime support for mobile application development, which will benefit your Flash Builder projects for the Android OS.
http://adobe.ly/wyNYjDWitch version of flash builder is this?
-
I have an application that is installed and acts as a loader, downloading different other applications that all use the captive runtime.
However, considering the current folder structure of a "captive runtime" application:
-> Adobe AIR
-> META-INF
==> signatures.xml
==> AIR
=====>application.xml
=====>hash
-> mimetype
-> ApplicationName.exe
-> ApplicationName.swf
For example, there is the Adobe AIR folder which is 38 MB in size, which is identical for all of the apps. The exe file, even if named differently it's the same file for different applications.
I cannot put all my downloaded apps in the same folder because they would override the previous application. All the application "internals" are found in the META-INF folder. Is there any way to rename this folder to something like (app1) ? I think this would solve my problem. Of course, I would need to change the exe file also.
Do you have any other suggestion on reusing the captive runtime?
Thanks
CiprianNo solutions to my problem?
-
Launching Air Captive runtime by double clicking file does not pass location in arguments
I am trying to make my Air Captive Runtime Mac OS X app respond correctly when the user double clicks on a file type associated with the app.
I have set up the invoke event listener to capture location of the file that the user has clicked to launch the app stored in the event.arguments variable.
In the following simple test I just print out the length of the arguments passed in when the app is invoked. This is the behavior I am seeing:
1. when I launch the app from the command line with 2 args,
open test.app --args arg1 arg2
I get "2" as expected for the arguments length.
2. If the app is already open and I double click a file with a type associated with the app. It correctly invokes the app and passes in the path to the file that was clicked. Length is 1 as expected and the content is the path to the file.
3. However, if I just double click the same associated file when the app is not open, the app launches correctly, however no arguments are passed. Length is 0 and there is no way to know what file the user double clicked.
here is code:
var debugOutput = new TextField();
addChild(debugOutput);
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
function onInvoke(e:InvokeEvent):void
debugOutput.text = e.arguments.length;
Any thoughts on what might be going on?I have the same problem. i have tired AIRSDK 3.1 & 3.4, my app can run normal without Captive-runtime mode in my nexus s, But keep getting the message "unfortunately, (myappname) has stopped" when packed with Captive-runtime.
-
Hi folks, was wondering if an app (Android) generated with captive runtime, still ask the user to install AIR plugin. If somebody knows ( and maybe have an example actually on market ) , i'll be glad to pay him/her a beer !
Thanks in advanceIt will not ask to install the plugin. But instead your apk will increase by some megabytes (10 in my case). I personally decided to stick to the plugin, spare the users the additional load, spread the word that AIR is still an option and ignore whiners about the plugin on the comments (~1%).
Talking about it I wish the popup to install the plugin would be a bit more informative for the end user, telling them that AIR is what actually makes the application possible. I get ratings as this: Adobe Air. Why? 1 Star -
Why does Adobe Air Captive Runtime require Internet Access on Android?
I am developing a children's app on Adobe Air and just learned that the Internet permission is being forced by Adobe Air. The only comment I saw on these forums was from someone stating it was so the Adobe Air App can communicate to the Adobe Air package, which doesn't make much sense-- but even still, I am bundling the Adobe Air Runtime within the App itself.
This affects me because as a children's app, some of my customers (e.g. Parents) will see the requirement of an Internet connection as a bad sign, in that my app may be loading content from the internet, or collecting data about their child or device and sending it over the internet.
I think Adobe should be clear as to why their platform requires internet access. Thank you.I have the same problem. i have tired AIRSDK 3.1 & 3.4, my app can run normal without Captive-runtime mode in my nexus s, But keep getting the message "unfortunately, (myappname) has stopped" when packed with Captive-runtime.
-
Help! Captive Runtime application folder disappears after publishing.
I'm using windows 7 and flash cs6.
I've successfully created Applications with runtime embedded before, but now with the same source files when I publish it takes ages (as normal), but when it finishes the temp files that were being created dissappear and there's no application folder.
While it's publishing three temp files are created and increase in size, but then dissappear.
I've no idea what is going on, has anyone else experiences this?
Cheers
ChrisThis is turning into a bit of a self help therapy session. Anyway now I've got it working again in any folder. The only thing I think I'm doing differently is pressing publish from the main publish settings panel rather than pressin publish from the AIR settings panel...
.. Yes I've just checked and if I publish from the publish settings panel all works as it should, but if I press publish in the AIR settings panel it has this weird problem.
Thanks Chris that's helped.
No worries Chris. By the way do you realise you are talking to yourself.
Don't worry, I don't think anyone has noticed, but perhaps ease up on the coffee.
Phew! Bye
See ya -
Packaging a captive runtime bundle for desktop computers
This question was posted in response to the following article: http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
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! -
AIR 4.0 captive runtime won't run: "requires a version of Adobe AIR" alert
I'm creating an AIR captive runtime application, and it won't run on a target Windows* machine. It displays the following alert instead:
This application requires a version of Adobe AIR which cannot be found. Please download the latest version of this runtime from http://www.adobe.com/go/getair, or contact the application author for an updated version.
How can I package the captive runtime differently so it won't display this message? The application is a pure ActionScript app compiled with the adt binary from the standalone SDK (this is not Flex).
In addition, I'm disturbed that a captive runtime AIR application pings Adobe in any way. I am seeing occasional pings to an adobe site upon launch of the app (something like airdownload2.adobe.com, if I remember correctly). No I'm not using any service calls in my app at this point in development, it's very simple, and should not be pinging the net at all. Why is this happening? I need to disable this too.
* Problem occurring only on a particular Windows 7 Home Premium 64-bit machine. Unfortunately, this is the end client's machine so I can't tinker with it.Do you have access to the problematic machine? If so, maybe you could try to install Sysinternal's Process Monitor http://technet.microsoft.com/en-us/sysinternals/bb896645
Run the tool, create filter to see just events containing your app name and try to find in the result any issue... you could also compare the log with same log from not problematic machine or with app made with older SDK which was working.
That's all what I can do... it's a shame that nobody from Adobe is interested yet... maybe you could also submit a bug. -
Hi there,
I have a question about burning two builds of an AIR desktop app with captive runtime, one for Windows and one for Mac, on a single hybrid DVD-rom that can be played on both Windows computers and Macs.
I've tried sharing the assets (video's and pdf's mostly) between the two builds, but I can't seem to get it to work. The only way I have been able to work around this, is to have the assets in both builds, which results in the double the amount of space on the DVD-Rom.
Is there a way to have the two builds use a single location to find the files? Or do I need to have two builds that both contain all the assets?
Thanks in advance!
Kinds regards,
MaartenGotcha!!
I am done with mounting a secondary HDD (thanks to ifixit) and installing Windows 8 Pro 64 bit on it without a worry. Charm, charm!!
Boot Camp 5 guide prescribes all needed steps and when read and used correctly, installation must be an easy task. And all the existing apple hardwares work so good in the Windows environment too.
I am going to help out a friend of mine in doing a similar thing on his mac too. If you got specific questions, please do shoot up here and i should be able to get a reply to it (if at all).
Thanks everyone.
~ Narey -
Windows publish AIR with runtime embedded outputting .app
When attempting to publish an AIR app set to runtime embedded on Windows, the output target has the .app extension. Same outcome on a true Windows machine as well as Windows running in VMWare.. This seems to go against the documentation Adobe AIR * Packaging a captive runtime bundle for desktop computers "The bundle produced is a self-contained folder of application files on Windows and an .app bundle on Mac OS." Flash CC build 14.0.0.110
The Docs are misleading because they refer to the old WIndows-model (Pre 8) where you would have a exe as runtime bundle, whereas since windows 8 .app/.appx is the format that the windows store expects. If you just want publish targeting exe you have to check "windows Installation program" and make sure that any included/loadied files are included at the bottom. Then AIR will package all the necessary files in one .exe file and create the folder structure during install.
-
Captive runtime -target bundle does not create the package fails after creating a .tmp folder
Hi Adobe Team, Experts,
I cannot create a captive runtime package successfully on windows.
This is the command I am using to create a captive runtime package for windows
adt -package -keystore CodeSigning.pfx -storetype pkcs12 -storepass password -target bundle TestPackage Test-app.xml Test.swf
The issue is the above command creates a .tmp directory "adt5072057577475387637.tmp" but does not create a directory by name "TestPackage" .
Another observation is the above command works in-consistently it seems to create the directory sometimes but fails for the most.
Funny enough !! It worked when I was creating a POC but now when I am trying to release it stops working on me.
It is the same machine I did POC on.
The application descriptor has
<supportedProfiles>desktop extendedDesktop</supportedProfiles>
I have also tried
adt -package -keystore CodeSigning.pfx -storetype pkcs12 -storepass password -target bundle TestPackage.exe Test-app.xml Test.swf
as mentioned here - http://www.riaspace.com/2011/08/bundling-air-3-runtime-in-air-desktop-applications/
Flex SDK version - 4.6.0
AIR SDK version - 3.1
JDK version - jdk1.6.0_18
Please advise as to how to fix this issue.
Thanks,
vshareHi vshare,
did you ever find a solution to this? I'm running into the same problem with no apparent solution.
Thanks! -
Flash Pro 6, Mac OS10.6.8 Is it true that on a MAC can only create a captive runtime export for a MAC and I need a windows computer and Flash 6 for Windows to Create a .EXE file? I have been working on Flash 5.5 and was excited to see the Captive Runtime option. Very surprised to be told by tech support that I could not create the Captive runtime .exe on a MAC!
Thanks for the response. Talked with my boss and his solution was simpler: Fall back to AIR 3.5 and stay there for the forseeable future.
Perhaps Adobe will fix the AIR captive runtime problem in a future release.
I'll try to update this post if I learn anything new.
Thanks. -
Native extensions and captive runtime
I'm trying to use native extensions and captive runtime. When I try to create a release, the IDE shows this message "Native extensions are being used in the project but are not supported by the CAPTIVE_RUNTIME_BUNDLE package type. Runtime issues can occur." and I can't continue.
I've been able to compile it using the command-line, but I'm worried about the "runtime issues" that can occur.Hi,
Sorry, just verified that export release build, with Native Extensions and Captive Runtime bundled for Desktop projects has been fixed and is available in the final release of Flash Builder 4.7.
Thanks,
Hari
Maybe you are looking for
-
I see a small window displaying "Are you sure you want to shut down your computer now". How do I stop appearing this window
-
I have given my hiusband Apple TV for Christmas. We have just connected it and are just seeing a black screen with HDM1 & Player1(BD SYSTEM) at the top of the screen. Next step is to go onto Settings but I can't seem to get this to work. The screen
-
Win7 wmp dups and itunes ??
Hi..I didnt think I was an idiot but I do now, I cant seem to seperate itunes from win media player in win 7 on my new laptop. I dont want all those dup's in win media player like that. I tried to move itunes file but its just not working for me I gu
-
Hello all, I am looking for a way to get a drag and drop source play an audio file when clicked, Such that the user click first to listen to the audio and then places the source on the right target. Any idea or workaround will be appreciated. thanks
-
Best SQL beginner Resources?
I know there are a few SQL knowledgeable people here in the PowerShell group. I'm starting to use SQL to track user\group\workstation migrations between domains. Any advice on some good beginner resources? Books, youtube channels, pluralsight cources