AIR App: Get version number at runtime

Hello,
How how can I get the version number for an AIR App during runtime please?
Thank you.

See http://polygeek.com/4287_weekly-developer-journal_weekly-developer-journal-june-26th-july- 2nd
var xml : XML = NativeApplication.nativeApplication.applicationDescriptor;
var ns : Namespace = xml.namespace();
var version : String = xml.ns::versionNumber;

Similar Messages

  • How to find Oracle form version number at runtime in Form 6 webform

    hi ,
    i developing form at offshore , form server is running at somewhere in UK.
    i am running form from development PC , can i find out exact form version number at runtime with some code?
    Thank u

    Beginning with Forms 6i you can use GET_APPLICATION_PROPERTY(VERSION).

  • Me21n user exit.......How to get PO number at runtime while saving PO.

    HI All,
    I am wiring the user exit for ME21N .
    The requirement is need to save item text data along with PO.
    For this i am using SAVE_TEXT Fm for this. the input for this FM contains PO number.
    How can i get the PO number at runtime. Is there any exit for this?
    Can any one suggest me the way to get PO number at runtime.
    Thanks,
    Khasimsa.

    Hi,
    In Function Exit "EXIT_SAPMM06E_013" of "MM06E005",there is an Import Parameter I_EKKO-EBELN which will contain the PO number and this exit will get triggered just before saving the PO.
    Hope this will help.
    Thanks & Regards,
    Rock.

  • [ERROR CODE DPL.DS.5107] problem when deploying an app (Bad version number)

    Dear colleagues,
    please find attached a Java exception trace, where I tried to deploy a sample application to my CE 7.1 (only Java version).
    I use JDK version 1.6.0_06: do you know this problem? Do you have any hints?
    Compatibility level is put to "6.0": I read only about problems related to JDK 1.5.xx versions.
    The consequence is that the component cannot be deployed sucessfully.
    Kind regards,
    Daniel
    [ERROR CODE DPL.DS.5030] Clusterwide exception: server ID 7584050:com.sap.engine.services.deploy.exceptions.ServerDeploymentException: [ERROR CODE DPL.DS.5107] Exception during initial start of application de.dkoller/instantdlv~ear in container webservices_container.
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:195)
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.prepare(StartInitiallyTransaction.java:143)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
            at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitiallyGlobal(StartTransaction.java:449)
            at com.sap.engine.services.deploy.server.application.StartTransaction.doStartInitially(StartTransaction.java:437)
            at com.sap.engine.services.deploy.server.application.StartTransaction.prepare(StartTransaction.java:178)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:419)
            at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:444)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.super_MakeAllPhases(ParallelAdapter.java:334)
            at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhasesImpl(StartTransaction.java:550)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.runInTheSameThread(ParallelAdapter.java:248)
            at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhasesAndWait(ParallelAdapter.java:389)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3387)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3373)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3276)
            at com.sap.engine.services.deploy.server.DeployServiceImpl.startApplicationAndWait(DeployServiceImpl.java:3249)
            at com.sap.engine.services.dc.lcm.impl.J2EELCMProcessor.doStart(J2EELCMProcessor.java:99)
            at com.sap.engine.services.dc.lcm.impl.LifeCycleManagerImpl.start(LifeCycleManagerImpl.java:62)
            at com.sap.engine.services.dc.cm.deploy.impl.LifeCycleManagerStartVisitor.visit(LifeCycleManagerStartVisitor.java:34)
            at com.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
            at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcessLCMDeplItem(DefaultDeployPostProcessor.java:80)
            at com.sap.engine.services.dc.cm.deploy.impl.DefaultDeployPostProcessor.postProcess(DefaultDeployPostProcessor.java:56)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doPostProcessing(DeployerImpl.java:741)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.performDeploy(DeployerImpl.java:732)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.doDeploy(DeployerImpl.java:576)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:270)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImpl.deploy(DeployerImpl.java:192)
            at com.sap.engine.services.dc.cm.deploy.impl.DeployerImplp4_Skel.dispatch(DeployerImplp4_Skel.java:875)
            at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:351)
            at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:70)
            at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:62)
            at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:37)
            at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:872)
            at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:53)
            at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:58)
            at com.sap.engine.core.thread.execution.Executable.run(Executable.java:108)
            at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:304)
    Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:654)
            at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:198)
            at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:302)
            at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:256)
            at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:228)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:265)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.generateJAXWSFramework(WSInitialStartProcess.java:220)
            at com.sap.engine.services.webservices.server.deploy.ws.WSInitialStartProcess.execute(WSInitialStartProcess.java:140)
            at com.sap.engine.services.webservices.server.deploy.WSBaseAbstractDProcess.makeProcess(WSBaseAbstractDProcess.java:316)
            at com.sap.engine.services.webservices.server.deploy.WebServicesDeployManager.makeStartInitially(WebServicesDeployManager.java:687)
            at com.sap.engine.services.deploy.server.application.StartInitiallyTransaction.makeStartInitially(StartInitiallyTransaction.java:182)
            ... 36 more

    This forum is for the Sun Java System Web Server, not the Sun Java System Application Server. You will likely have better success by posting your question to the Application Server forum(s) at:
    http://forum.java.sun.com/category.jspa?categoryID=109

  • How can create air app for version 1.5 with cs5?

    How can be created an application for the latest Adobe AIR version ( 1.5 ) with Flash CS5. I have a licensed cs3 and I consider to buy cs5. I want to create an applications for the stable version of Adobe AIR.

    I posted about this last week. This should help:
    http://forums.adobe.com/message/2829283#2829283

  • AIR apps with serial number

    Is there a way to simply add a serial number type of component that would prompt before instal of the application on the desktop?
    Thanks

    any way to without having set it up?        no there isnt considering.
    Contact the Police.

  • Bundle a few docs along with AIR app

    Hi,
    I need to bundle a few PDF and word docs along with my AIR
    application when it is installed by the user.
    I don't want to Embed the documents in the actual AIR app,
    but just ensure that the files get included in the AIR installation
    and end up in the application's install folder on the client system
    so that the AIR app can access them at runtime.
    How can I do this with the AIR app packaging/installer
    process?

    It depends on which tool your using for packaging, but I
    believe they all have UI to select which folders/files are included
    and which are not.

  • Query for Last page visit by user/session and get version # of current page

    Hi Guru's,
    Any have a query to retrive last page visited by user / session? Somewhere from apex view fir 3.0 or later version? Also looking for query to get version number of current page

    RequestCtx.getResponsibilityId() should return you the Responsibility Id &
    RequestCtx.getUserId() should return the User Id.
    As I understand RequestCtx values are always available in the JSP Page. Kindly check again.

  • App upload- Version Mismatch

    I just uploaded an app from DPS App Builder to Apple's Application Loader, and received this message after my upload:
    Version Mismatch - Neither CFBundleVersion ['3.3.3.9.89459'] nor CFBundleShortVersionString ['1.0.8'] in the Info.plist match the version of the app set in iTunes Connect ['4.0'].
    Has anyone experienced this error? I'm not sure where the disconnect was, or if this will be a problem for my app.

    Short answer: Don't worry about it.
    Apple is just letting you know that the version number specified in DPS App Builder doesn't match the version number specified in iTunes Connect. Apple has not rejected any app because of this discrepancy, so you're fine ignoring it. If you want the warning to go away, you can edit the version number in iTunes Connect to match the App Builder version number.

  • Keep getting app updates with same version number

    I noticed that I keep getting update notifications in the app section in iTunes from the apps I bought and downloaded for free but they have the same version number. Like just now, I checked for updates and there where about 42! I believe it's for every app that I installed. Why is this?
    André
    Message was edited by: AndreasvanHaren

    Are you getting any error messages? Or just photos of deckchairs?

  • Running previous versions of AIR apps in AIR 2.7.1 runtime

    I'm unable to start and run any AIR apps built using previous SDKs in the latest AIR 2.7.1 release. Basically either the application will not start at all or will try and launch the window and close immediately. I'm using Flex 4.5.1 IDE and even updated the AIR SDK to 2.7.1 to build my app, changed the dicriptor version tag to 2.7 in the app.xml file as well but to no avail, Am I missing something or did Adobe drop the ball here!?

    I'm running older apps with both 2.7.1 and the AIR 3 rc build.  It sounds like you're running into something specific to your system.  Do you have an example .air file (or project) you can send me ([email protected]) so I could take a look?
    Thanks,
    Chris

  • 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)

  • Command line arguments to Captive Runtime Air App

    I am having problems passing command line arguments to my Captive Runtime Air App on Mac OS X.  Argument handling occurs perfectly when running in ADL, via the InvokeEvent.INVOKE event.  However, when running the native executable, it seems that no command line arguments are getting passed through.
    How do I pass command line arguments into my Captive Runtime Air App?

    See:
    http://javafx-jira.kenai.com/browse/RT-24993
    "Native packaging: native launcher should pass command line parameters to the app"
    fixed for jdk7u10
    jdk7u10 is downloadable from here:
    http://jdk7.java.net/download.html
    It may take a week or two for the fix to propagate into there.

  • I get 'unknown error' message when I try to sign in to Air app store (I can sign in to iTunes just fine). Anyone help

    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'd like to know if I can download viber on my 3.1 3GS iphone or not. I don't want to update my Iphone's version,so is it possible to have viber on 3.1? even if all my previous apps get deleted?

    I'd like to know if I can download viber on my 3.1 3GS iphone or not. I don't want to update my Iphone's version,so is it possible to have viber on 3.1? even if all my previous apps get deleted?

    The minimum version required for Viber is 3.1, though it is always important to stay up to date. Why is it that you do not want to download the latest version?

Maybe you are looking for

  • Using Attachments in the Email Adapter

    Hi, I'm using an email adapter(Sender - XIPayload) to send message to XI. It was working fine when my mail content was the XML messsage. But now i have to use the content of an attachment file to do the mapping. The attachment is an XML file. I have

  • Mega 651 TV-Out card problem

    Hi freakz, i have a Mega 651 with the original MSI TV-OUT card, but I don´t get any picture onto my TV. I´ve already reinstalled the diasplay drivers. In windows I can´t find any configuration for the TV-out. In the bios I´ve tested all settings. My

  • Flash Caching - How to stop?!?

    Does anyone know the most full-proof method for ensuring Flash movies don't cache in both IE, FirefFox and Safari as I am constantly having to instruct clients to remove their temporary internet files every time we update their movies. I've tried the

  • VI to locate files?

    Hello all, I am creating a VI that locates all VI's and controls that are sub-VI's of a user-input VI. Using the "property node" -> "Callees" function, I can get the names of all the sub-VI's, but I need the paths. Does anyone know how to locate the

  • I know this may seem dumb but like so many others before me I can't find the photos tab in itunes

    Need help finding the photos tab to sync up my iPad and PC