Log to file from installed air application

I have an application I've developed using flex builder,
which uses the flex logging library. When I run it from the
debugger in flex builder I get useful log information in the
flashlog.txt file. Eventually my application is turned into an air
file which is installed on the target machine. Is there any way to
get that log output when I run the air application? Some output
appears in the flashlog.txt, but not the same output as I see when
running it with the flex builder.

Has no one tried to do this before? Seems like a really
simple thing to be able to do, to help with debugging release
issues...

Similar Messages

  • Calling a created Java file from an AIR application

    I've got a guy helping me out who is creating a Java file that outputs an F1 keypress to the operating system/desktop (which Flex alone can't do.
    My problem is I need to know how I can call/activate this file from within an AIR application. I want my app to be ready for when he has created it for me but I've never used Flex to call an application so I would not know what classes need to be called or if any script would be required.
    In the following simple code lets say if the Java file itself was called keypress.java (or whatever file extension a java file has) what code would need to be added in, including imported classes, to make the click of the button activate this java file?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Button id="KeypressButton" label="Button" horizontalCenter="0" verticalCenter="0" click=""/>
    </mx:WindowedApplication>

    I think one solution is to use a Java proxy to call the Web services.
    In the Java proxy you can have a method that accepts the user/pass and sets them correctly for the Web service.
    Then you expose that Java proxy as a data control (right click, create data control) - and then create a page that invokes that method.
    (For the basics of working with a POJO data control see: http://blogs.oracle.com/shay/2009/07/java_class_data_control_and_ad.html )

  • Can you call external exe file from Flex Air Application like notepad.exe

    Im trying to make my Air Application open an External exe file anyone know if this can be done?

    Hi,
    If you want to share code between a flex app and AIR, you
    could isolate the common bits as a swc file and link to the swc
    from both the flex and air project.
    Also, you could have the flex mxml file and air mxml file
    load the same module (which has the same stuff as your original
    flex application) using ModuleLoader.
    Or, you could even load the swf of your flex application
    using SWFLoader in your air mxml file.
    Basically, check out creating flex libraries, modules and
    runtime loading of swfs.

  • Open a file from an Air app

    Hello,
    I want to open (with another application Android) a file from an Air application
    navigateToURL( new URLRequest(myFile.url) );
    the problem is that Android give me only Adobe Reader to open "myFile"
    how Android proposes to all applications succeptibles to open "myFile" ?
    openWithDefaultApplication() doesn't work on Android.
    thanks

    I found in http://forums.adobe.com/thread/864113

  • Is it possible to load REMOTE resource module  from an Air application ?

    Hi All,
              Am trying to load remote resource module swf file from an AIR application, am not able make it work,am getting the following error
    code:
    eventDispatcher = ResourceManager.getInstance().loadResourceModule(remoteURL);
    ERROR:
    "Unable to load resource module from ".
    Please help me out..
    Thanks
    J Kishore

    This might help you out: http://aaronhardy.com/flex/loading-a-remote-module-into-a-local-app/

  • Executing a batch file(.bat) from an AIR application

    Is there a way by which we can exceute a dos batch file from an AIR 1.5 application?

    I think your only option might Merapi, and that might only be for linking AIR and Java apps.
    http://merapiproject.net/
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development and Support Services

  • Can not open .air file after install AIR

    I uninstall it and reinstall it , but  it can not slove this problem.
    the extension .air was not pointed to Adobe Air
    OS : Vista SP1

    I can not select the exe file in the Start --> Control Panel --> Programs --> Default Programs and select "Make a file type always open in a specific program."
    Does it a method to input by myself?
    And The System Can not use Adobe AIR Application Installer.exe when I try to install Air Application from Web , Update from the Application.
    It always told me to go http://www.adobe.com/go/getair.
    I reinstall it many times , but all problems still could not be fixed.

  • How to transfer a 8GB .MOV file from MacBook Air (late 2013) via external HD (Samsung S2 Portable) to a Dell laptop ?

    Hi guys and galls,
    How can I transfer a 8GB .MOV file from MacBook Air (mid 2013) via external HD (Samsung S2 Portable) to a Dell laptop ? The mentioned file currently will not let me transfer it to my ext HD. I want to upload it afterwards to a Dell laptop with Windows software installed.
    Reformatting the drive doesn't seem to be the sollution, since this will erase all the data stored on the ext HD, and it will only allow me to use the drive with either Apple or Microsoft equipment.
    Please HELP, running out of options here... Thnx, "Apple-Dummy"

    Apple-Dummy wrote:
    How can I tell whether my External HD is formatted NTFS?
    Attach the HDD to your MBP.  Click on the icon on the desktop COMMAND+I. It will produce a display such as this and look what it says by FORMAT.
    How do I format my External HD: FAT or ExFAT?
    Do this on a PC.  You will have to use the Windows equivalent of Disk Utility.  I am not a Windows user so I cannot give you detailed information regarding this.  I have seen on these forums that there are at times compatibility problems if formatted on a Mac.
    Which one is preferred, FAT or ExFAT? And why?
    Use ExFAT.  FAT has a file size limitation of 4 GB.
    Ciao.

  • How do i update Installed AIR Applications? // General Questions

    Hi,
    first of all, i'm completly new to AIR. However, i made my way through your product documentation and i'm now able to deploy AIR and a AIR Application (SFDC Chatter) and register it.
    Works fine so far, but some questions:
    - How can i update installed AIR applications? If i just try to re-install it, the installer will fail with exit code "9"
         -> How can i update them directly? If this is not possible
          -> How can i uninstall AIR applications in a large enterprise environment?
    - Where is the ARH Tool that is described in your product documentation?
    - When installing AIR as SYSTEM User (I'm using SCCM) where is the logfile?
    - Do you recommend updating AIR on a regular base? Are "older" applications compatible with newer AIR Versions?
    Thanks for your replies!
    Ben

    Hi Ben,
    I'd recommend taking a good look at our captive runtime option that is available in AIR 3.0 and higher.  While you have to roll your own installer (and updater) this could be as simple as a zip/batch file combination.  It also allows you to use the runtime that you prefer and not be dependent on what the user installs or uninstalls.  You do have to be mindful of security implications, but it's definitely the way I'd go.
    http://www.adobe.com/devnet/air/articles/air3-install-and-deployment-options.html
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f709e16db131e43659b9-8000.html
    As for updating, it should be as simple as increasing your app descriptors version number and installing again.  This article explains how you can also use our update framework: http://www.adobe.com/devnet/air/articles/air_update_framework.html
    The ARH tool can be found here:
    Mac: http://airdownload.adobe.com/air/distribution/latest/mac/arh
    Win: http://airdownload.adobe.com/air/distribution/latest/win/arh.exe
    Linux: http://airdownload.adobe.com/air/distribution/latest/lin/arh
    Thanks,
    Chris

  • Whats the best way to transfer all my pic and vid files from Mac Air to back up drive to free up space on hard disk?

    whats the best way to transfer all my pic and vid files from Mac Air to back up drive to free up space on hard disk?

    Get a third drive if needed, open the Time Machine pane of System Preferences, set it not to exclude that drive, and drag the files to it. If you're moving an iTunes or iPhoto library, launch the application with the Option key held down and choose the moved library.
    (118789)

  • How to open and show a word, excel, ppt file in Adobe AIR application?

    Dear All,
    I have a requirement to open a MS- word/ Excel file in the AIR application.
    On click of a brows button a file reference box opens...on any file
    selection...it should open in the application itself...
    so plz let me know the solutions u have...

    Here is your basic issue: setting a classpath (and presumably compiling and executing a program) is one of the most basic, fundamental concepts in Java. I would advise you to follow JVerd and Annie's links and get started on a tutorial. Try writing a simple HelloWorld application before delving into POI. When you are more comfortable writing and compiling programs, and post a specific question, it will be much easier to help you.
    - Saish

  • To open a Excel and Doc file inside the AIR application

    How to open a Excel and Doc file inside the AIR application.  I have opened the PDF file inside the AIR application.  But i got stuck in opening the Exce and Doc file.  Please help me in this issue.

    AIR does not support this inherently. However, you could write code to parse these file formats. For example, the following is an ActionScript 3.0 library for reading and writing Excel files:
    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1375018

  • Timecapsule - opening files from within an application!!

    I have a time capsule... 500Mb
    I have an airport extreme with external hard drive - 250 Mb.
    Through Finder, I can place files on either of these drives and open them from Finder.
    If I open Numbers, or Pages, then try to open any file on Timecapsule, it appears that there are no files
    If I open Number, or Pages, then try to open any file on the Airport Extreme external disk - it works!
    Simple question really.... why cannot I see or open any file from within an application that resides on Timecapsule?? It's driving me crazy!!!
    Message was edited by: GrahamDurkin

    File dialogs have the ability to "group" items, which prohibits you from changing sort options.  The group icon looks like six little squares.  Click on it and instead of grouping by date, group by "none" and then you can change sort orders.

  • Encrypt/Decrypt pdf files in adobe air applications

    Hi Friends
    I want to encrypt and decrypt pdf files in adobe air application. I tried it many ways but am not getting it right method.
    Please help me this situation.

    AFAIK, Adobe Acrobat has features to add security to pdf file, but as for decrypt pdf files, you need to give the password. For example, Adobe Acrobat 9 standard.  Decrypting pdf seems not the issue of acrobat. You can find proper version of Acrobat to encrypt your file, whereas decrypt pdf document, you need to turn to a pdf password removing program to achieve that.

  • Viewing and printing a PDF file from Java Swing Application

    Hello,
    I need to view and print PDF files from Java Swing Application.How do I do that?I appreciate your help.
    Thank you
    Sumana Somareddy

    If you have a link to the URL pointing to the PDF file, you can allow the browser to open it. Then use the print function of the browser to print the PDF document.
    Regards,
    Tak.

Maybe you are looking for

  • HOW TO CALL A WEB SERVICE OR EJB FROM BPEL

    HI i want to call java web service or ejb from my bpel process. how can i do this. i am using oracle soa10.1.3.1.0 and jdeveloper 10.1.3.1.0 and oracle database xe 10g. thanks in advance K ROY

  • Event combo box

    Hi i am trying to put a simple application together to let me put events into a text file and then let me click a date on a second form to let me see my events for that date in a text box. I have all the input forms working correctly but am strugglin

  • Firewall warning when launching Captivate 8 on a Windows 8 machine

    Just installed Captivate on a 64bit machine with windows 8.1.  I keep getting a firewall warning dialogue each time I launch the program.  How do I make it stop???

  • How to generate WS and WSDL for proper working DS under ALDSP 3.0?

    Hi, Ive got small problem with generating WebService and WSDL for proper working DataService in AL Data Service Studio. Whats the worse, I cant find any good documentation showing how to do it step by step in the new development enviroment. Currently

  • Last question for the day - Music Video

    Hi, I have been asked by a friend to do their music video for them. I understand while shooting they will be playing to the original recording but after a day of shooting and im back at my computer what is the best way to syc my clips to the master a