Flash Builder 4.5.1 - Air ApplicationUpdaterUI Auto Update fails

I just reinstalled my FlashBuilder 4.5.1 and built a new HelloWorld application

in order to test the SDK version 2.6 with the ApplicationUpdaterUI of the Air.

I get no errors, but it will not be updated using namespace 2.6 in both - app.mxml and update.xml on the server.

A stroke in the StatusUpdateEvent never appears in debug mode.

The only window that opens is one asking to control upgrade?

Pulling my hair - must be something obvious I am doing wrong here - can a new set of eyes with something?

Main xml file:

<? XML version = "1.0" encoding = "utf-8"? >

" < = xmlns:fx s:WindowedApplication ' http://ns.Adobe.com/MXML/2009 "

xmlns:s = "library://ns.adobe.com/flex/spark".

xmlns:MX = "library://ns.adobe.com/flex/mx".

creationComplete = "checkForUpdate()"; title = "Test Air Updater" >

< fx:Declarations >

<! - Place non-visual elements (e.g., services, items of value) here - >

< / fx:Declarations >

< fx:Script >

<! [CDATA]

Import air.net.URLMonitor;

Import air.update.ApplicationUpdaterUI;

Import air.update.events.StatusUpdateErrorEvent;

Import air.update.events.StatusUpdateEvent;

Import air.update.events.UpdateEvent;

import flash.events.ErrorEvent;

Import mx.controls.Alert;

Import mx.events.CloseEvent;

Import mx.events.FlexEvent;

private const APP_VERSION_FILE:String = " " http://www.public-knowledge.com/Quest/timesheets/new_app_version.XML "; "

private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

private function checkForUpdate (): void {}

Add events

appUpdater.addEventListener (UpdateEvent.INITIALIZED, onInitialized);

appUpdater.addEventListener (StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateStatusError);

appUpdater.addEventListener (StatusUpdateEvent.UPDATE_STATUS, updateStatusHandler);

appUpdater.addEventListener (ErrorEvent.ERROR, onError); If something is wrong, run onError

appUpdater.isCheckForUpdateVisible = true;

appUpdater.isUnexpectedErrorVisible = true;

appUpdater.isDownloadUpdateVisible = true;

appUpdater.isDownloadProgressVisible = true;

appUpdater.isInstallUpdateVisible = true;

appUpdater.updateURL = APP_VERSION_FILE; XML file server that describes the update

trace (APP_VERSION_FILE);

appUpdater.initialize ();

}

private void onError(event:ErrorEvent):void {}

Alert.Show ("ERROR:" + event.toString ());

}

private void onUpdateStatusError(event:StatusUpdateErrorEvent):void {}

Alert.Show ("error checking for updates:" + event.toString ());

}

private void onInitialized(event:UpdateEvent):void {}

trace ("check for updates...");

appUpdater.checkNow ();

}

private void updateStatusHandler(event:UpdateEvent):void {}

var descriptor: XML = NativeApplication.nativeApplication.applicationDescriptor.

var ns:Namespace = descriptor.namespaceDeclarations () [0];

var verNum:String = descriptor.ns::versionNumber;

trace ("update event reached...'");

}

[]] >

< / fx:Script >

< s:TitleWindow = "63" x y = "35" width = "250" height = "200" title = "Hello" >

< s:Label x = '24' y = '80' text = "Hello World" / >

< / s:TitleWindow >

< / s:WindowedApplication >

-App.MXML file: (first part)

<? XML version = "1.0" encoding = "utf-8" standalone = 'no '? >

" < application xmlns =" http://ns.Adobe.com/air/application/2.6 ">

<!-adobe AIR Application Descriptor File Template.

Specifies the ID setting, installation and launch AIR applications.

xmlns - The Adobe AIR space of names: http://ns.Adobe.com/air/application/2.6

The last segment of the namespace specifies the version

the runtime AIR required to run this application.

minimumPatchLevel - the level of minimum patch of the AIR runtime required to run

the application. As an option.

->

<!-a universal identifier unique application. Must be unique across all AIR applications.

By using a reverse DNS type name as id is recommended. (For example. com.example.ExampleApplication.) Mandatory. ->

CA.questgeomatics.testairapp < id > < /ID >

<!-used as the application file name. Mandatory. ->

< file_name > TestAirUpdater < / name of the file >

<!-the name that is displayed in the AIR application installer.

Can have multiple values for each language. See the sample or the schema xsd file. As an option. ->

< name > TestAirUpdater < / name >

<! - a string value in the format < 0 - 999 >. < 0-999 >. <>0-999 that represents the version of the application that can be used to verify the upgrade request.

Values can also be parts 1 or 2 items. It is not necessary to have a value of 3 parts.

A version update of application must have a versionNumber value greater than the previous version. Required for namespace > = 2.5. ->

< versionNumber > 1.0.0 < / versionNumber >

<!-a string value (e.g. "v1", "2.5", or "Alpha 1") that represents the version of the application, as it should be displayed to users. As an option. ->

< versionLabel > v 1.0.0 < / versionLabel >

File XML updater (new_app_version.xml):

<? XML version = "1.0" encoding = "utf-8"? >

" < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.6 ">

< versionNumber > 1.0.1 < / versionNumber >

< versionLabel > v 1.01 < / versionLabel >

< url > http://www.public-knowledge.com/Quest/timesheets/TestAirUpdater.air < / url >

< description > <! [CDATA]

* First official release this update feature automatic implemements

[]] > < / description >

< / update >

Versions of descriptor bolded appl Post edited by: DonMitchinson

Update - don't know if it's a bug, faulty design, installation problem or my misunderstanding.

I managed to do it working first changing that my Flex library to 4.5.0 - still did not work with current

App and update files mxml by using "2.6" for their versions of namespace. But I did at least

get the error number 16815 - indicating an error in the namespace version update of popup.

Leaving my namespace application version to "2.6" and by changing the "2.5" updated version... bingo!

I got my new autiomatically installed update.

Is it so it is supposed to work - or my runtimes are mixed?

It even will work using the Flex SDK 4.5.1? I'll soon find out

Hope this helps others.

Tags: Adobe AIR

Similar Questions

  • Update Flash Builder 4.5 Application SDK 2.6 automatic fails

    I developed some applications using Flex Builder 3 and have recently started using the Flash Builder 4.5 for my air applications-applications development. ApplicationUpdaterUI worked well in FB3, but now, in FB4.5, it fails with:

    [StatusUpdateErrorEvent (type = text = updateError updated unknown descriptor namespace id = 16815 + subErrorID = 0)]

    My reading of Application descriptor:

    < application xmlns="""http://ns.adobe.com/air/application/2.6""">


    So I changed my update descriptor in my Update.xml on server 1.0 (for FB3) to 2.6 as thus:

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.6 ">

    It gives me the above error...

    If I change the descriptor of the update to 2.5 as thus:

    " < day xmlns =" http://ns.Adobe.com/air/framework/update/description/2.5 ">

    I get the following error:

    [StatusUpdateErrorEvent (type = text updateError = Application names and names of update descriptor are not compatible id = 16831 + subErrorID = 0)]

    I read in several forums that you need to switch the updater return descriptor 2.5 or even return to 1.0. I tried both of them, and it still does not work! Here is my update code. I just put this component flex on the status of my application is started. I think it's all is OK, but please fill me in if I am wrong...

    <? XML version = "1.0" encoding = "utf-8"? >

    < s:Group ' xmlns:fx = ' http://ns.Adobe.com/MXML/2009 "

    " xmlns:s = 'library://ns.adobe.com/flex/spark"" "

    "" = xmlns:mx 'library://ns.adobe.com/flex/mx"width ="400"height ="32"" "

    creationComplete = "checkForUpdate ()"> "

    < fx:Declarations >

    <! - Place non-visual elements (e.g., services, items of value) here - >

    < / fx:Declarations >

    < fx:Script >

    <! [CDATA]

    import air.update.ApplicationUpdaterUI;

    import air.update.events.StatusUpdateErrorEvent;

    import air.update.events.UpdateEvent;

    import flash.events.ErrorEvent;

    import mx.controls.Alert;

    private var appUpdater:ApplicationUpdaterUI = new ApplicationUpdaterUI();

    private checkForUpdate() function :void{}

    appUpdater.updateURL = " ""http://test.example.com/root/updates/update.xml"""

    appUpdater.isCheckForUpdateVisible = false;

    appUpdater.addEventListener (UpdateEvent.INITIALIZED, onUpdate);

    appUpdater.addEventListener (ErrorEvent.ERROR, onError);

    appUpdater. addEventListener (StatusUpdateErrorEvent.UPDATE_ERROR, onUpdateError);

    appUpdater.initialize ();

    }

    private function onError(event:ErrorEvent):void{}

    Alert.show (event.toString ());

    }

    private function onUpdate(event:UpdateEvent):void{}

    appUpdater.checkNow ();

    }

    private function onUpdateError(event:ErrorEvent):void{}

    Alert.show (event.toString ());

    }

    ]]>

    < / fx:Script >

    < / s:Group >

    And here's my update.xml...

    <? XML version="1.0" encoding="utf-8"?>

    < Update xmlns="""http://ns.adobe.com/air/framework/update/description/2.5""">

    < >version1.0.1< /version>

    < url > http:// test.example.com/root/updates/Application_1.0.1.air< /url>

    Description <> <! [CDATA [ ]]

    1.0.1 (20/07/2011)

    Test code update

    [[ ]] > < /> description

    < /update>


    Help, please!

    You must use

  • Where can I download Flash builder 4.5, or can get an update of the serial number to 4.7?

    Hello

    I can't find a link to work for Flash builder 4.5 standard. I don't see that 4.7 premium, and I noticed the

    complementary to 4.7 upgradeesttermine that missed me.

    Can I get a link to 4.5 or is there even an option to get 4.7

    Thank you

    Jon

    You can download the demo version of the software through the page linked below and then use your current serial number to activate it.

    Don't forget to follow the steps described in the Note: very important Instructions in the section on the pages of this site download and have cookies turned on in your browser, otherwise the download will not work correctly.

    http://prodesigntools.com/Adobe-CS5-5-direct-download-links.html

  • Adobe AIR for Android update fails to UPDATE

    Why the update for Adobe AIR is a failure to update, and also how is it that no one is able to install?

    Nathan I would recommend posting a request on the Adobe AIR http://forums.adobe.com/community/airforum.

  • Auto. updates fail to install. but Firefox tells me I have the latest version.

    Updates fail to install. When the order of Firefox, said I have the latest version and am unable to download the updated version.

    Hello
    The details of your system it seems that you are running the latest version of Firefox.

    Although you can visit here and make sure that it.

  • Flash builder 4.6 and 3.2 air

    Flash Builder 4.6 does support 3.2 Air? I don't think that.

    There is a lot of talk about having to download the AIR SDK and then to have 3.2 to replace the SDK in Flash Builder installation with it.

    It's ridiculous as much as on pages like this one:

    http://gaming.Adobe.com/getstarted/ Adobe mobile gaming page the two Flash Builder examples both use Air 3.2

    Currently it seems that Flash Builder 4.6 requires Air 3.1.

    Plethora of versions and dependent products get out of sync different versions you kill Adobe!

    OK solved it. Download page for game software development kit update and reset in Fash generator for examples that use Air 3.2.

    Works well. Apology.

  • Flash Builder debugger cannot connect to the running application

    I've upgraded to Flash Builder 4.5 and now I get the error - old

    The Flash Builder debugger cannot connect to the running application.
    Ensure that:
    1. for applications in the browser, you run the debug version of Flash Player.
    2. for network debugging on a mobile device, you have a reliable network of the device connection and 7935 port is open on the firewall of your machine.
    Device connection help

    I get both on the Simulator (which is being upgraded to the latest version) and try to debug on my real playbook. There are a few other forums of discussion about this that suggest that the default Debug host IP is the usual culprit. However, which is set up correctly. I also added port 7935 firewall.

    I am able to ping ip address of my playbook without problem. Any other thoughts on what I might have configured wrong?

    Flash Builder 4.5 uses Air 2.6 for iphone and Android, for the moment, we can use only Air 2.5, so the compiler needs a couple of parameters. You have in the ActionScript Preferences tab build package-advanced - forceAirVersion 2.5 and under ActionScript compiler an extra line - swf-version 10

  • Is anyway to change the file Info.plist and Flash Builder 4.6 settings allows to compress the iOS app?

    Hello

    I tried to wrap my application with the last 4.5 Xcode (19 Oct 2012 version) iOS 6 SDK, Flash Builder Flex SDK with Air Beta overlay 3.5 4.6 4.6.

    unzip the .ipa file and I found the following automated settings on the file Info.plist did not:

    < key > DTPlatformVersion < / key >

    < string > 5.1 < / string >

    < key > DTSDKBuild < / key >

    < string > 9B 176 < / string >

    < key > DTSDKName < / key >

    < string > iphoneos5.1 < / string >

    According to the specifications of Adobe, these settinsg are unchangeble, is there anyway to change these values to produce .ipa file with parameters iOS 6.0 with Flash Builder 4.6?

    I think that this cause the problem of presentation appstore below with the image of the iPhone screen 5 4-inch screen splash [email protected]:

    Invalid launch image - you app contains a launch image with a size modifier which is only supported for applications built with the iOS SDK 6.0 or later version.

    Thank you very much

    A

    Please find attached the adt.jar which solves the problem of download. Try to download your application using this adt.jar and let us know the results.

  • Request for information on Flash Builder and augmented reality.

    I'm sandrine from the India. I'm with knowledge of Java software engineer, Flash ACE and OOP are understandable for me. I'm working on a project of augmented reality. I am completely new to Flash, Adobe community and I have a few questions about the augmented reality and Flash Builder:

    1 flash Builder 4.6 comes with a default Flex SDK of 4.6. However, Flex SDK of 4.6 was not allowing me to compile and run sample files. So I downloaded the version of Flex 4. 0a on Adobe.com. Now, the examples are works well, but is there a problem if I try to deploy these projects in a website or a desktop application? Once the code is compiled into a swf file, the used flex framework doesn't make much difference, it?

    2. the project of the ATR would actually on a Web site, given the different speeds of internet/processor in the world? The effectiveness of the AR project, deployed on a Web site, will depend on the number of triangles in 3D models i.e. files dae? Because according to my understanding of the heavy models means more time to download the flash app in the local browser of the internet and more time to make them by the right papervision 3D engine?

    3. can we develop a stand-alone application of the AR Office using Flash Builder? Using Adobe AIR, we can, I guess. Please see a tutorial, if possible.

    4. I have seen that we can implement multiple-marker-tracking AR the use of vectors/tables in As there performance problems according to the size of the used arrays/vectors.

    5. can you someone please mention some tips to improve the performance of an application of the AR (desktop app and web app)?

    6 What would be, approximately, the cost of the FLARManager, FLARToolkit commercial versions, if you have an idea? I went to their site, but they did not mention costs.

    7. hardware bitmap for models dae withdrew down performance web app/mobile app/desktop app, with some models of dae 4 to 5 in the scene?

    8 is it advisable to use multiple markers with several models of dae or unique marker with the option of the Flash interface to load different models on the same mark?

    It would be very helpful to me if someone could answer my questions above.

    Sarat.

    #1, if it compiles then you don't have a question. There is no reason at this stage do not use 4.6. It should group a runtime in captivity to ensure that computer users won't need to have AIR installed at all.

    #2, Papervision is old. Use Stage3D or a wrapper framework. With regard to the generic "if I download a lot of data will take the user more time to load ', so, of course. Just do not do loading the painful experience. Entertained while they way or ways to display data more sooner rather than later. If it is desirable on the web has more to do with the context of the application and the device displays. In other words, a phone user could find it is easy, but obviously not a desktop user.

    #3, certainly you referring to Google on this one.

    #4, size still matters, that's common sense. You treat, the more difficult it is. While I did not AR I used the Microsoft Kinect SDK and DONKEY and follow-up was very fast but limited. From what I've seen and your basic built in equipment management and on no matter what mobile device you shouldn't have much trouble. Depends on what you are doing.

    #5, this discussion would be much too large for a forum. You must consult a firm experienced in the development of the AR.

    #6, ' applications using commercial license do not have to provide the source code, but must pay a fee. " Contact ARToolworks at the [email protected] for more information. " They will be your base price on your product, there is no single price.

    #7, models could be huge, complex or tiny and simple which changes the answer. See the answer to #4. Ultimately most people get on fast networks with mobile and excessively fast on the Office WLAN. Size matters a lot less than 3 years.

    #8, it depends on what you are doing. You have to explain it.

  • AutoComplete does not work in Flash Builder burrito

    Hello!

    What are the causes could prevent the autocompletion of working in Flash Builder burrito? in flash builder 4, it works fine, but not at all in the burrito. Maybe I changed a few settings somehow? If I open settings-> Flash Builder-> Editors then 'activate the Activation Auto' under "Code Assist" is checked.

    What other reason could there be for this problem?

    Hello

    Using 'Flash Builder Overview Burrito'? You might have faced this known issue https://bugs.adobe.com/jira/browse/FB-28451 . This is fixed in the future of the generations of Flash Builder.

    Workaround is, click on "Restore defaults" in preferences-> editors-> ActionScript Code-> content-> Flash Builder Help cycling

    Or change your workspace.

    Let us know if this solution solves the problem.

    -Rahma

  • IntelliJ Idea or Flash builder

    Using Flash builder for two years, always that no update, 4.7 FB is very slow, I can't able to use, thought that you update at least once a year, could not, trying to get an IntelliJ Idea rather than get this FB. am seriously frustrated that you guys FB 4.7 has left without one deducted and no promise to update if you don't upgrade, why sell you, just close it, no support too! who's with me

    Use IntelliJ, Flash builder is dead!

  • Using the two PB 2.0 + SDK &amp; BB10 Air SDK in Flash Builder 4.6

    Hello

    Any of you have experience creating applications using the PB2 + and BB10 Air SDK in Flash Builder? How do you change the build configuration between two SOFTWARE development kits? So let's say you make apps for Playbook and at the same time you are doing apps for BB10...

    Where do you set your IDE with these settings?

    Looking forward to your answers.

    There is essentially only one way to do it: you first install the 2.0 + SDK, then the BB10 Beta SDK. This is how you make sure that you have the data of these two software development kits installed on your pc. The Flash Builder plugin will be the BB10 sdk.

    I tested some of the components of the SDK BB10 on PlayBook OS 2.0.1. Needless to say that some features are not supported.
    Note: When I talk about libraries and 'ane's, I mean those provided by the SDK BB10. The following findings are valid with a pre-BB10 PlayBook OS 2.0.1 is the last one I think. PlayBook OS 2.1 can be considered BB10, although some features don't work there either.
    Here's what I found: you can use fuse controls, but the classes in the package "qnx.fuse.ui.dialog" do not work because the classes in the package "qnx.fuse.ui.window" do NOT work.
    You cannot use "QNXDevice.ane" because "NavControl" class which is indispensable to the actions of the bezel does not work and the notifications do not work either.
    If you use "fuse" components, you must also use 'QNXSkins.ane '.
    The "QNXLocale.ane" does not work. 'QNXNetwork.ane' no test however. The framework of the call does not work.

    Phew, that was some writing. If I missed something or you have any other questions, feel free to ask.

  • Flash Builder 4.7, Flex 4.9.1 and AIR 3.4 for Playbook?

    Hello

    IM, develop an application using Flash Builder 4.7, Flex 4.9.1 and AIR 3.4 for multiple platforms. My question is when I deploy to Playbook, is mentioned the configuration can cause problems or not?

    What should I do to ensure that my apps running on the playbook and other devices too! using Flash Builder 4.7

    Thank you

    PlayBook (and BB10) currently only supports AIR 3.1.

  • How confirm BB10 Air SDK was installed in flash builder 4.6

    I just downloaded and installed what I think is the BB10 'or' Air SDK from here

    https://developer.BlackBerry.com/air/download/

    When I create a new mobile project with flash builder 4.6, the default descriptor bar is the same as the playbook we.

    for example, this commented out line:

    I was wondering if I failed somewhere along the way and always use the Tablet SDK or if it looks just like that

    -edit-

    also, I need new signature for BB10 keys or can I use everything that exists from a previous installation of the playbook.

    Guess which has not been updated. New BB10 method is:

    Assets/Splash.jpg

    Each image in the list is of a size to use for the device in landscape and portrait. It will automatically detect and use the correct start depending on the size of the device screen.

    Same key signature as with the PlayBook.

  • BlackBerry Tablet OS SDK for Adobe air 2.0 problems with Flash Builder

    Hello world

    I have problems to install the Tablet OS SDK 2.0.0. It says incorrect directory when I select the directory that contains the Flash builder. I tried with v4.0 and v4.5 that I am on windows 7 64 bit.

    Any help would be greatly appreciated. I'm just get started with developing applications for the playbook, so please bear with my ignorance.

    Best regards

    Gowtham

    https://bdsc.webapps.BlackBerry.com/air/documentation/ww_air_getting_started/Using_Adobe_FB_ms_19656...

    "Development environment - Adobe Flash Builder 4.6 of later"

Maybe you are looking for

  • Check if the driver OR-installed DAQmx

    Hello world I'm all new to LabView working on it to uni and don't think I have all the installed components I need IE NOR-DAQmx, before my computer him and lose for 3 days, can I just check if I am unable to find the DAQ assistant express input funct

  • HP Officejet J6480: Start printer [J6480) with light turns off wireless]

    I just changed my network configuration to change my printer to connect wireless to my router to be connected by an ethernet cable. All the settings have been changed for a wired connection, but when I start the printer, the wireless always light up

  • TCPIP and problems

    I have an application where I use a listener to establish a connection with a Board on another machine.  After completing the connection I use the reference to send msgs on the other machine without any problem at all.  Now, I have added another thre

  • When I try to print anything from my pc it always comes out as a computer rather than what code ' on my screen

    I have windows xp and HP Photosmart C3180 Tried using Notepad and webcapture with the same results also downloaded

  • several triggers of the object?

    Is it possible to have two distinct forms/objects that are affected when it is spilled or clicked? For example, if I had a navigation bar, and I hit a button, that button would change color, and at the same time an image would be a change of opacity