Renaming the air app
Hi,
We are building the default installer for installing our Air application. After many installs and version upgrades, we want to change the application name which means changing the <filename> attribute in the descriptor file. We would like the installer to un-install the version of the app with the old name. I haven't found a way to do this. Is it possible to do without a custom installer? I wish there was an <oldfilename> field I could set
Claire
I believe (and you should double check this) that so long as you leave the <id> and <publisherID> tags the same, the new app should be recognized as an update to the old one and install over it. In that case it will still be in the old install location, though. I don't think there's any way to move the install location of your app without using a custom installer to uninstall the old one
Why do you need to do this anyway? There's also a <name> tag that will let you call your app whatever you want. <filename> is only used for install location and a few other things mostly invisible to the user
Similar Messages
-
With the frequent updating of Firefox, sometime back I decided I would rename the Firefox App to include the version ie Firefox 3.6.9. Up until this last update (3.6.9) my Mac OS 10.5 has allowed this. On this update, I try to do the same(changing name from 3.6.8 t 3.6.9) and now error message says I have insufficient privileges to do this. Anyone know how I correct this or " how to get my privileges back? Thanks for the help.
Did you look for a '''user.js''' file in your Profile folder?
http://kb.mozillazine.org/User.js_file
Prefs in that file will override the same pref in the prefs.js file on each Firefox startup.
Have you contacted your IT department about that issue?
Maybe they are overriding your homepage setting? -
The air app cannot detect the new added camera
i made a desktop air-app. the problem is when i unpluged my usb camera and start the air app . the app detect the existed cameras with Camera.names.length = 2; and then i pluged another usb camera and use the Camera.names.length to detect the new camera, but the result is still 2 , not the 2 existed camera with the new added one which the total is 3. then i close the air-app and start it again ,this time the camera.names.length is 3. why ? the air-app just cannot detect the new added camera? the only way the air-app can detect the new added camera is restart the app?
Air ow flash player for that matter won't detect camera added at runtime. It will detect if you remove the camera while you were capturing images from the camera. You can try to scan for camera suing a timer and see if it detects it then.
There is also a not so documented flash.media.scanHardware() method, which should force a hardware scan. I did not used it yet so can't vouch for it. -
Having trouble with the Air/app crashing after 3 or so hours on Win 7.
Heya.
I have been battling with this issue for a few days now, trying to debug what might be the root cause. The application is a reaction game with organic creatures and movement via Bezier Splines and some physics. It uses some really intense calculations while the game is running. Anyhow, the game is being ran on a dedicated machine with Win 7 and AIR installed. It should be able to function about 13-16hours in a row, since it is a part of a science centers show, and it should be touring europe in the near future as well. Needless to say having the app crash every few hours isn't really an option.
So, after about 3 hours (checking from Win 7 error log) Windows notifies me that the application has stopped working and it just freezes the whole thing. I've been running it over nights to see when this error happens, and it seems to happen pretty consistently after around 3-4 hours of runtime with constant games. (having the game play itself)
This is what Windows error log says
Faulting application name: APPLICATIONNAME.exe, version: 0.0.0.0, time stamp: 0x4b66b0f3
Faulting module name: Adobe AIR.dll, version: 1.5.3.9130, time stamp: 0x4b66b06a
Exception code: 0xc0000005
Fault offset: 0x00256e29
Faulting process id: 0xaf8
Faulting application start time: 0x01cae2f060312579
Faulting application path: C:\Users\Muffinssi\Desktop\APPLICATIONNAME.exe
Faulting module path: C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll
Report Id: 2b358e12-4efb-11df-84f7-64b9e8d85ac7
Now from what I've tested from extended running of the game by itself, it doesn't leak memory, and it doesn't seem to throw any Flash based error at all. I set the Debug flag on the installed AIR app, and checked the trace log for any errors, there were none. Also no flash/air specific modal window about an error, only the Win 7 error about it stopped working.
I am at a loss here, what could be causing this error? Any ideas on how to fix this? I would really appreciate it!
Cheers
NiiloIf you get any form of strange behaviour from your BB then, with the power-on, remove the battery and leave it out for a couple of minutes.
If that doesn't sort the problem then post again or use the search facility above.
Blackberry Best Advice - Back-up weekly
If I have helped you please check the "Kudos" star on the right >>>> -
I want to develop an app that have some features like
user can create animation content in some public or proprietary format
user can share the content to others within the app
HTML5 is a choice but not the best for performance reason
May I use AIR or any other suggestions? thanks a lot!I think the real reason they choose INDesign is because it a first a layout tool. Which is what magazine's use for the content. They know the this is where the distribution sector is. You get the Magazine corporations to adopt it, then you add the Multimedia capabilities that provides these same corporations the ability to use their existing layouts as a base then build the interactivity from there.
My issue is that I can't be the only one who saw this need arising. A tool that incorporates layout, multimedia and publishing to various platforms which has power and ease of use is so badly needed. I am amazed that Apple did not partner with someone, especially Adobe to create a tool of this nature.
Creating great applications, apps, and multimedia documents in my opionion should not be developed only by those with great technical skill. Anyone who can conceive of an idea, has good knowledge of Adobe and Apple Professional tools should be able to easily create apps and multimedia documents. Yet no one has developed a good WYSIWG tool. You still need so much coding to get anything done.
All I can say is... the labs division said that September was the release date for the tools they used for the Wired App. So where are they? -
Detecting if the Air App is already running when clicking on start shortcut
I have a question . Is it possible when starting up an air application to get info if this Application is already opened ? And if it is posssible how can I send notification or any kind of invocation to that opened application about that the user tried to start up the application . In my scenario I have got the Application that will run most time in minimized mode ,so it will happen that the user ,after some time , will not pay attention that the Application is already opend and will try to start it again . I want that when he attempts to do so the minimized Application will reopen .
Any Advice will be very appreciated !!!!
MichaelAIR app can register for Invoke event. This event is dispatched when the app is started initially . Also, when you try to start an already running app, the running app would get an invoke event, indicating that the app was tried to be started again. You can use this to achive the functionality you desire.
-
How to compile the AIR app to android emulator
How to compile the AIR application to run on emulator ?
May be use the 'adb' command line ?-target The type of package to create. The supported package types are:
air — an AIR package. “air” is the default value and the -target flag does not need to be specified when creating AIR or AIRI files.
airn — a native application package for devices in the extended television profile.
native — a native desktop installer. The type of file produced is the native installation format of the operating system on which the command is run:
EXE — Windows
DMG — Mac
DEB — Ubuntu Linux
RPM — Fedora or OpenSuse Linux
apk — an Android package. A package produced with this target can only be installed on an Android device, not an emulator.
apk-debug — an Android package with extra debugging information. (The SWF files in the application must also be compiled with debugging support.)
apk-emulator — an Android package for use on an emulator without debugging support. (Use the apk-debug target to permit debugging on both emulators and devices.)
Use the value as per your need. The you can use adb to push the packaged apk to your emulator. -
AddSubmenuAt crashes the AIR app
...when attached to the system tray icon. If I add the menu, then click the tray icon, the app crashes. Check out the attached code. Looks like there's a workaround in that you can addSubmenu, then build menuitems after that. AIR v 1.5.0.7220 (Flash authoring) and 1.5.2.8900 (AIR SDK), Win XP.
code for a blank FLA frame 1 with simple button intance bb on the stage:
var ar:Array = new Array();
var bmp:BitmapData = new BitmapData(26, 26, false, 0x88FF0099);
ar[0] = bmp;
NativeApplication.nativeApplication.icon.bitmaps = ar;
var men:NativeMenu = new NativeMenu();
men.addItem(new NativeMenuItem("test1", false));
men.addItem(new NativeMenuItem("test2", false));
var sub:NativeMenu = new NativeMenu();
//men.addSubmenuAt(sub, 1, "subber"); // fail
//men.addSubmenuAt(sub, 0, "subber"); // fail
//men.addSubmenuAt(sub, men.numItems, "subber"); // good
men.addSubmenu(sub, "subber");
men.addItem(new NativeMenuItem("aftersub", false));
//men.addSubmenu(sub, "subber"); // good
this.setTrayMenu(men);
this.bb.addEventListener(MouseEvent.CLICK, this.onbb);
function setTrayMenu(mm:NativeMenu)
if (NativeApplication.supportsSystemTrayIcon)
if (NativeApplication.nativeApplication.icon.bitmaps.length)
var sys:SystemTrayIcon = NativeApplication.nativeApplication.icon as SystemTrayIcon;
if (sys != null)
sys.menu = mm;
function onbb(e:Event)
sub.addItem(new NativeMenuItem("sub1", false));
sub.addItem(new NativeMenuItem("sub2", false));Air ow flash player for that matter won't detect camera added at runtime. It will detect if you remove the camera while you were capturing images from the camera. You can try to scan for camera suing a timer and see if it detects it then.
There is also a not so documented flash.media.scanHardware() method, which should force a hardware scan. I did not used it yet so can't vouch for it. -
When I try to sign in to the Air app store, I get an 'unknown error' message. I can sign in to iTunes just fine. Any suggestions?
Fixed the problem by going to settings/store and logging out with apple ID. Then logged back in with password and updates, apps, and iTunes store seem to work ok now.
-
I am getting the message that the Air app (tried several)
cannot install because the Air file is damaged. I have uninstalled
and reinstalled Air. I’ve had this problem with my previous
Mac (PowerPC). Just got a new Intel Mac - migrated my apps and
still cannot install Adobe Air apps. Adobe Air installs fine - but
not the apps. Here is my log file:
Starting app install of
file:///Users/christinedattilo/Desktop/TweetDeck_0_19_3.air
UI SWF load is complete
UI initialized
Unpackaging to
/private/var/folders/9c/9c2l9zRf2RWQ1++BYv7eNU+++TQ/TemporaryItems/FlashTmp0
failed while unpackaging: [ErrorEvent type="error"
bubbles=false cancelable=false eventPhase=2 text="internal crypto
error" errorID=0]
starting cleanup of temporary files
application installer exiting
Can someone help - there are so many good Air apps I’d
like to use.hi... I've been reading a number of threads on this
frustrating issue & feel that some may be in a form of denial
over it... having successfully downloaded adobe mediaplayer I
subsequently received error messages on start-up saying that the
adobe air file was damaged, even though adobe media still worked
ok.. eventually, & more out of tidiness than anything else, I
decided to uninstall AIR & reinstall it & thence came the
problems... no matter where I downloaded it from I got the same
error message as everyone else, about the file being damaged...
anyway, being basically lazy I couldn't be doing with all the
recommended logging of installation files, removal of certificates,
etc & decided to move the AIR installation file to my
C:/Program Files/Adobe folder & try installing it from there..
well, (cue fanfare) it worked! Obviously I can't guarantee it'll
work for everyone or all intended uses but give it a go before you
try all the other suggestions & you might save yourself an
awful lot of heartache... cheers -
How to get Adobe Air-apps to run *properly*? (Voddler ecpecially)
First: I am running AMD64, and have installed the bin32-adob-air from AUR.
The problem is, this does not work as it should. Air apps are never "installed" like they would be in Windows, or Ubuntu with the adobe-air from adobe installed. This causes problems with remembering configs and storing data between instances. Wimp, t.ex. will never remember my password, now matter how many times I check the remember password-box. And When running VOddler it just won't find the config file.
I am trying to run Voddler in linux now, following this. But it won't work.
I just get an "error reading config file" message when starting it using the adobe-air command (ie. the script from the package. Thinking the problem might be caused by the script running air apps from a temp dir, i aslo tried to run
[gert@blad opt]$ /opt/adobe-air-sdk/bin/adl -nodebug /opt/airapps/VoddlerPlayer/META-INF/AIR/application.xml /opt/airapps/VoddlerPlayer
after unpacking the Voddler Files there, but no luck.
I see that there are a newer version of Voddler out now, and I will try that, but I'd appreciate any help with this spesific issue.
Also, I would like to know if there is any way to get the "full Air experience" where you jut click-and go, and can install Air-apps the simple, proper way "everybody else" does it. Cause Air right now is a major hassle. Is there any chance of getting the Adobe-Air installer from Adoe work on Arch, or at least get a similar result? Integrated in the system, detected in the browser on webpages etc.
Last edited by naguz (2010-05-15 17:01:25)Tried again with the command taken from firefox appended to the script (instead of §1 §2 etc.) and got:
(adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
(adl:17512): Gtk-WARNING **: Kunne ikke finne temamotor i module_path: «murrine».
Gtk-Message: Failed to load module "gnomesegvhandler": libgnomesegvhandler.so: cannot open shared object file: Ingen slik fil eller filkatalog
Error #2032
http://api.voddler.com/vnet/index/login-token
Parameter: version:2
Parameter: token:3c034c484e3ed6217ec0b4b6a6cd01c9
Response received
http://api.voddler.com/vnet/index/pre-movie-request
Parameter: movie:2721821284152452737
Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
Parameter: crid:2721821284152752803
Parameter: version:2
Response received
PreMovieResult: [object Object]
movieID: 2721821284152452737
MOVIEREQUEST: false movieModel.resumeTime: 0
http://api.voddler.com/vnet/index/movie-request
Parameter: movie:2721821284152452737
Parameter: session:952b4840d0a91e896c210622ee83333a_0c965a262382ad33a9479ebfaddf9a3d
Parameter: version:2
Parameter: crid:2721821284152752803
Parameter: resume:0
Response received
Adding to playlist url: 0p000001000_e000335_n0017_s0318_he3052b084510fe31419083eb165aa4bc_00000000000000000000000000000000_d59845ff23b2b6f22d3f3ee9020ab34af_t02
Logg error
(Object)#0
clientCode = 30
clientVersion = "3.10.1680"
ctxId = ""
errorCode = 1000
extra = "Token login result triggered"
os = "Linux"
userId = "'2721821230480292729'"
vnetVersion = "5522"
DRM check...
ReferenceError: Error #1069
movieMetaDataReceived: 2004
NetStream.Play.Reset
NetStream.Play.Start
Voddler.Open.Done
Main movie metaData received
DRM Fatal Error!
Logg error
(Object)#0
clientCode = 30
clientVersion = "3.10.1680"
ctxId = ""
errorCode = 7744
extra = "General Error: 7744"
os = "Linux"
userId = "'2721821230480292729'"
vnetVersion = "5522"
ReferenceError: Error #1069
It errors out after the Voddler window has been "Rerwinding the tape" for about 10 secs.
EDIT: I moved my voddler folder to /opt/airapps so I could use your file without any edits to rule out typos.
Now, the voddler player starts from firefox in wine. But I immediately also get the "Oops, we noticed you didn't watch the whole movie"-window pops out at the same time, and i get a similar error as above.
DRM check...
ReferenceError: Error #1069
movieMetaDataReceived: 2008
NetStream.Play.Reset
NetStream.Play.Start
Voddler.Open.Done
Main movie metaData received
DRM Fatal Error!
Logg error
(Object)#0
clientCode = 30
clientVersion = "3.10.1680"
ctxId = ""
errorCode = 7744
extra = "General Error: 7744"
os = "Linux"
userId = "'2721821230480292729'"
vnetVersion = "5522"
ReferenceError: Error #1069
I guess voddler cancels the DRM "lease" as soon as the error box pos up, giving me this question. Seems Firefox doesn't communicate properly with the air-app. Or something else I don't get. complete output from firefox run: pastebin
Last edited by naguz (2011-01-11 22:32:16) -
Embedding swf files in AIR app for ios
Hi,
After going through a lot of articles already available, I found answers with varying views on the following questions:-
1) Can we embed swf files using the embed tag in air app for ios, with symbols exported ?
Something like [Embed(source="someSWF",symbol="exportedSymbol")]
and also something like [Embed(source="someSWF")].
From what I understand, one can't embed swf's with actionscript byte code in them. So exporting symbols actually creates class linkages which leads to creation of abc. But I'm unsure on this because some sources say otherwise.
2) Can we embed swf files using embed tag in air app for ios, without symbols exported ?
Something like [Embed(source="someSWF")]
and also something like [Embed(source="someSWF" mimeType = "application/octet-stream")]
I read somewhere else, that you can actually embed symbols separately by providing symbol tag in embed tag but not entire swf (which leads to uncompiled actionscript error) but not sure about this as this is contradictory to finding #1.
3) If #2 is possible, then do embedding two different swfs with same symbol names would cause a conflict and result in #3747 error ?
Please note I am not asking about the Loader class here but using the Embed keyword for embedding swfs.
Also do the results differ with AIRSDK 3.8 and 3.9 and using different swf-version in compiler flags ?
In our application we started getting error #3747 in class creation of one of the embedded swfs (like new EmbeddedClass()) when we changed from swf-version 17 to 21 using AIRSDK 3.8. So was this error not there earlier or it was there but swf-version was suppressing it ?
Any help is much appreciated.
Thanks!I am fairly sure that the answer to your questions is: “no”.
For embed to work the AIR app would have to be working in interpreter mode, and that can work for local testing, but can’t work for submitting apps. An easy change for you to do would be to use SWCs instead of Embed. Other than that you’re looking at Loader, but also a tricky command line build of the app. -
Windows Explorer Right Click - Open file in Air App
I have an AIR App that I made to run on my desktop. It is used for editing specifc XML files. I want to know if its possible to setup so that I can right click on an XML file while browsing Windows Explorer and choose an option to "Open in (my AIR App)" ... that would lauch my AIR app and also open the xml.
Right now, I have to launch my AIR app, click to open a file, and then browse for the file and select it.ok so after all of this time, i stumbled upon something that should solve my problem. i created a new AIR file in flash and put a text field on the stage with the name "my_txt" then I just added this bit of script (below) .... then once I installed the air app, i opened a file into the app and the path to the file was displayed in the text box thats on the stage. now i just have to use this path to actually open the file.
import flash.events.InvokeEvent;
NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, invoked);
function invoked(evt:InvokeEvent):void{
my_txt.text = String(evt.arguments[0]); -
AIR app communnicating with External App
I would like to make my AIR app communicate with another
application that's running on the desktop. What are the best ways
to do this?
Ideally I'm looking to call functions inside the AIR app from
a separate program, and vice versa. This is in fact possible using
the ExternalInterface capability, however, this is only available
when the separate application is an ActiveX container (such as the
browser), and thus contains the FlashPlayer ActiveX control within
it. But what if your AS3 application doesn't just run inside the
FlashPlayer but requires the AIR runtime instead? There doesn't
seem to be any way that an external app. can talk to an AIR app the
way it can call functions on the FlashPlayer.
My reasons for needing this are that while AS3 is great,
especially for creating an interactive interface, there are still
some low-level things which must be coded in another language.
Any thoughts that anyone has on this topic would be greatly
appreciated.Hi Bruce,
In theory, you can do what you want, but it is an indirect
way of achieving it, and there are some performance/functional
issues.
You can make a windows application that is an ActiveX control
container, and put the FlashPlayer control inside it. Handle the
"FlashCall" event in your windows program (this is fired when your
swf calls a custom external function), and then you can use it to
load and call whatever .dll function you want.
In practice, from what I've observed, there are some
limitations. The graphics performance of the FlashPlayer suffers
when embedded this way in a Windows app. Also, if you want to call
into the flashplayer sometimes the function calls fail. Having said
this, my experience is limited to AS2 implementations; maybe things
have improved with AS3.
Anyway, hope this helps. Would be interested to hear your
observations if you should try this route.
Ed -
How to enable hardware acceleration in desktop Adobe AIR app
Hello,
As the author of this post How do I enable hardware acceleration in an air exe? , I am trying to enable hardware acceleration inside my AIR application
If the user has disabled hardware acceleration in his flash player's settings, context3d.driverInfo will say "Hw_disabled=userDisabled"
His only way to re-enable it is to open Internet Explorer or Firefox and right click on a flash content, then check "Enable hardware acceleration"
I (we) would like to be allowed to re-enable it directly inside the AIR app (via actionscript code) and not telling the user to open a browser and check some random checkboxes (cause you know it's not very user-friendly...)
A bug has been opened here Bug#3843535 - Disabling Hardware Acceleration in IE flash plugin disables it in AIR EXEs and is marked as fixed but nothing is fixed : there's still no way to enable hardware acceleration in desktop AIR application
ThanksHello,
I pushed to get this bug fixed and was under the impression that we addressed this back in v16. Can you share a sample app so I can have our team take a look?
Thanks,
Chris
Maybe you are looking for
-
There really isn't anything else to add. I want to be able to use sxipper and it has been disabled with the upgrade to Firefox 4.0. How can I go back to a version that supports Sxipper?
-
Unable to install Solaris Sparc 10 on SUN Ultra 10
Downloaded ISO of SPARC 10 DVD from Oracle site, burnt it and tried to install on SUN Ultra 10 (300 MGz / 256 MB RAM / 80 GB IDE HDD) Followed the process as specified below: 1. Stop+A to stop the current boot process.(Already SPARC 8 is installed) 2
-
How to move music to library with home sharing
How do I move my music from my library under Home Sharing to my regular library? I don't see an import button or a way I can click and drag....thanks!
-
Mac is freezing after installing mavericks
My mac freezes (spinning color wheel) after about 10 minute of use. I reboot and it still freezes. Can't move anything, can't close programs or shut down the computer. Any ideas?
-
Hello I've forgotten my security questions and also forget what the alternative e-mail, please Create