I'm using the air.swf API to launch and install an air app from my flex program (swf file) -
Using the air.swf API and usage model of launching air app from web page, I'm successfully able to install and launch an air app from a flex web app. I'm having trouble with two things though -
1. The versionDetectCallback always returns null. Since i own the AIR app, i have the pubID set to "" (empty) and appID to my app package path (known and tested), i know this is not the problem. Any other reasons why this would be null even when the app is installed and active
2. I also want to exit out of the AIR app. Within my air app i call Nativeapplication.nativeapplication.exit () which closes the app but does not remove the app from the process list on windows or from the running processes on mac. Any thoughts on how i can accomplish this?
I was able to get the version detection callback to fire. I'm still struggling with why the Nativeapplication.nativeapplication.exit() call (from within my AIR app) does not remove the app altogether. When using mac, this is evident in the dock having the app icon loaded, in windows the process for the app still exists....
How did you get the version detection callback to fire? I'm running into the same problem at the moment.
Ignore that last question. For some reason I have to use the publisher ID contained in the "META-INF/AIR/publisherid" file, not the publisher ID defined in the code signing certificate.