AIR Desktop Application for Linux running HTML5 and JS

Hello all,
Can I build an application with Adobe AIR coding in JS + HTML5? Once it was indeed possible and there are even tutorials on this technique:
http://www.adobe.com/devnet/air/air_javascript.html
If it's still possible with AIR 3.8, how can I build an existing website into a desktop application that will run in debian Linux? I'm struggling to find a resource that teaches how to actually build the application with AIR SDK. I've found how to build an application written in AS3 but not HTML + JS.
Thanks

Thank you, kglad.
I think I forgot to mention I'm building an Application Menu. The NativeMenu contains NativeMenuItems and there is no format property or method that I can see. Also, the name the menu item displays is its label property, which you can set, but it's a string, and I believe the htmlText applies to textfields, right?

Similar Messages

  • Air desktop application: how to make a menu item bold?

    Hi, I'm using Flash CS6 to develop an AIR desktop application for OSX. I've created my menu using NativeMenu and such, but I can't find a way to make the first menu item bold, like a true OSX app. So far the little I've found on this always referred to Flex, not Flash. Any hints?
    Thank you.

    Thank you, kglad.
    I think I forgot to mention I'm building an Application Menu. The NativeMenu contains NativeMenuItems and there is no format property or method that I can see. Also, the name the menu item displays is its label property, which you can set, but it's a string, and I believe the htmlText applies to textfields, right?

  • Known Issue while running Adobe Story desktop application for the first time on Mac OS 10.8

    You may encounter the following error message while running the Adobe Story desktop application for the first time on Mac OS 10.8:
    For resolution, please go to:
    http://helpx.adobe.com/story/kb/run-story-app-mac-os.html

    The /Developer directory contains the compiler(s) and various tools and libraries.
    Does your user account name really contain a single quote? If so, it looks like the quote is getting eaten by one of the build scripts, which is resulting in a file path that doesn't exist.

  • Flash air desktop application

    Hello there,
    We developed an application.
    The window of our application cannot be maximize after it is install on our desktop.
    How could we get this fonctionnality?
    Please help.
    Many thanks

    Are you saying that it is possible to get this fonctionality (maximise
    without stretching) when using flash air desktop application?
    Yes, you can maximize a window without distorting the contents. When using Flash, the stage scale mode defaults to one of the scaling modes. For your app it sounds like you should set the scale mode to the "noScale" option.
    If yes, Do you recommend the utilization of aire for the distribution of our
    application?
    I don't know enough about your application to make any kind of recommendation, and anyway my opinion might be biased since I am an Adobe employee.
    Also could you recommend us a way for limiting the illegal distribution?
    I don't think there is a fool proof way to do it (in general DRM is a race between the publishers and the hackers). Adobe doean't provide any tools for this. Presumably, there are 3rd party tools for application DRM that you could use (but that's outside my area of expertise).
    For a homegrown approach to the problem, you could require that users of your application create a user account on your web site and download a license file in order to run the application.  This isn't perfect, because someone could hack your application to remove the check for the license, but it would prevent casual copying.

  • Convert Air Desktop Application to Android apk Please help!

    I developed an Air Desktop Application by using Flash Builder 4, it's a pure ActionScript 3 application. I used a few PNG image files and mp3 audio files in the application. After I build it, I got the swf file, xml file and all the image mp3 files in the bin-debug folder. If I run the swf file with all other files (png and mp3 files) in the bin-debug folder, it works great. If I run the swf standalone, the application will miss the images and sounds.
    Now I'm converting the swf to apk, and run it on android device, it will NOT show the images or Doesn't play the sounds. I was wondering if there is a way to merge the png and mp3 files into the swf when I build/compile it? Or is there some other way to convert to apk which includes all the image and audio files? Please help.

    Please see adt -package command here
    http://help.adobe.com/en_US/air/build/WSfffb011ac560372f-5d0f4f25128cc9cd0cb-7ffb.html
    in this example icons folder is packaged along with swf and app xml.
    What you can do is that specify each of the mp3 and image files one by one separated by space at the place where icons is used in examples.
    In this case you will find all mp3 and image files in same directory as your swf when you run on android.
    Make sure you use app:// urls for accessing those files

  • Change Encore Project into a adobe air desktop application with password

    Good afternoon,
    I am trying to find a a way that i can change or inport a Encore project into a adobe air desktop application so that a can password protect it. I have a training simulator built in Encore that has a large number of menus and videos that i would like to tern into a tesk top application that i can password protect. Encore out puts this as a swf file. Is there any way to do this? I have bin looking around an the web and can't seem to find any information on this kind of problem. Any help would be greatly appreciated.
    Many thanks,
    Justin

    Hi Justin,
    ok, assuming that your external SWF tries to access some hosting application context (methods/properties) you could try:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                xmlns:s="library://ns.adobe.com/flex/spark"
                                xmlns:mx="library://ns.adobe.com/flex/mx"
                                applicationComplete="applicationCompleteHandler(event)">
         <fx:Script>
              <![CDATA[
                   import mx.controls.Alert;
                   import mx.events.FlexEvent;
                   private var loader:URLLoader = null;
                   protected function applicationCompleteHandler(event:FlexEvent):void
                        loader = new URLLoader();
                        loader.dataFormat = URLLoaderDataFormat.BINARY;
                        var url:String = "MyApplication.swf";
                        loader.load(new URLRequest(url));
                        loader.addEventListener(Event.COMPLETE, loaderCompleteHandler);
                        loader.addEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);                   
                   protected function loaderCompleteHandler(event:Event):void
                        // allow cross-scripting in case loaded content tries to access
                        // that context properties or methods
                        var context:LoaderContext = new LoaderContext();
                        context.allowCodeImport = true;
                        swfLoader.loaderContext = context;
                        swfLoader.load(loader.data);
                        cleanup();
                   protected function loaderErrorHandler(errorEvent:IOErrorEvent):void
                        mx.controls.Alert.show(errorEvent.text, "ERROR");
                        cleanup();
                   private function cleanup():void
                        loader.removeEventListener(Event.COMPLETE, loaderCompleteHandler);
                        loader.removeEventListener(IOErrorEvent.IO_ERROR, loaderErrorHandler);
                        loader = null;
              ]]>
         </fx:Script>
         <!-- ui -->
         <s:SWFLoader width="100%" height="100%" id="swfLoader"/>
         <!-- -->
    </s:WindowedApplication>
    See that doc for some details "allowCodeImport":
    http://www.adobe.com/devnet/flashplayer/articles/fplayer10_1_air2_security_changes.html
    note: I'm not sure if that would 100% work. I don't know what Encore authored .swf really do, for that you could ask on Encore forum:
    http://forums.adobe.com/community/encore/encore_general
    regards,
    Peter

  • How to load a FLEX application in an AIR desktop application.

    I am creating an AIR desktop application (mx:WindowedApplication). I need to load another remote FLEX application (mx:Application) inside my AIR application.Is it possible ? If then ,please mention how to achieve this ..

    If it is bundled with the air app, then it's as easy as using the SWFLoader class.
    If it's loading from a remote host, you need to load it into your app as a ByteArray first.
    More info here: http://aaronhardy.com/flex/loading-a-remote-module-into-a-local-app/
    The example is for Modules, but the principal is the same I believe.

  • How to create desktop application for simple server program using netbeans?

    Hi,can anyone help me on this one??
    I'm am very new to java,and I already trying different example program to create desktop applications
    for simple server program but it's not working.
    This is the main program for the simple server.
    import java.io.*;
    import java.net.*;
    public class Server {
    * @param args the command line arguments
    public static void main(String[] args) {
    try{
    ServerSocket serverSocket = new ServerSocket(4488);
    System.out.println("Server is waiting for an incoming connection on port 4488");
    Socket socket = serverSocket.accept();
    System.out.println(socket.getInetAddress() + "connected");
    PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
    BufferedReader in = new BufferedReader( new InputStreamReader(socket.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null){
    out.println(inputLine);
    System.out.println("Connection will be cut");
    out.close();
    in.close();
    socket.close();
    serverSocket.close();
    }catch(IOException e){
    e.printStackTrace();
    // TODO code application logic here
    }

    and this is the Main Processing :
    import java.awt.*;
    import java.awt.event.*;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import java.text.*;
    import java.util.*;
    import java.net.*;
    import java.io.*;
    public class MainProcessing {
    private static final long serialVersionUID = 1L;
    static private boolean isApplet_ = true;
    static private InetAddress argIp_ = null;
    static private int argPort_ = 0;
    public TCPIP TCPIP_ = null;
    private InetAddress ip_ = null;
    private int port_ = 10001;
    static private boolean conectFlag = false;
    private BufferedWriter bw;
    FileOutputStream fos;
    OutputStreamWriter osw;
    public int[] current = new int[400];
    public int[] volt = new int[400];
    public int[] revolution = new int[400];
    public void init() {
    public void start() {
    if (isApplet_) {
    try {
    ip_ = InetAddress.getByName(getCodeBase().getHost());
    } catch (UnknownHostException e) {
    } else {
    ip_ = argIp_;
    if (argPort_ != 0) {
    port_ = argPort_;
    // IP&#12450;&#12489;&#12524;&#12473;&#12364;&#19981;&#26126;&#12394;&#12425;&#20309;&#12418;&#12375;&#12394;&#12356;
    if (ip_ != null) {
    // &#12467;&#12493;&#12463;&#12471;&#12519;&#12531;&#12364;&#25104;&#31435;&#12375;&#12390;&#12356;&#12394;&#12356;&#12394;&#12425;&#12289;&#25509;&#32154;
    if (TCPIP_ == null) {
    TCPIP_ = new TCPIP(ip_, port_);
    if (TCPIP_.getSocket_() == null) {
    System.out.println("&#12511;&#12473;&#65297;");
    // &#12456;&#12521;&#12540;&#12513;&#12483;&#12475;&#12540;&#12472;&#12434;&#34920;&#31034;
    return;
    if (TCPIP_ == null) {
    System.out.println("&#12511;&#12473;&#65298;");
    return;
    System.out.println("&#25104;&#21151;");
    conectFlag = true;
    try {
    TCPIP_.sendF();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    System.out.println("" + conectFlag);
    return;
    public void receive() {
    try {
    // Calendar cal1 = Calendar.getInstance(); //(1)&#12458;&#12502;&#12472;&#12455;&#12463;&#12488;&#12398;&#29983;&#25104;
    // int year = cal1.get(Calendar.YEAR); //(2)&#29694;&#22312;&#12398;&#24180;&#12434;&#21462;&#24471;
    // int month = cal1.get(Calendar.MONTH) + 1; //(3)&#29694;&#22312;&#12398;&#26376;&#12434;&#21462;&#24471;
    // int day = cal1.get(Calendar.DATE); //(4)&#29694;&#22312;&#12398;&#26085;&#12434;&#21462;&#24471;
    // int hour = cal1.get(Calendar.HOUR_OF_DAY); //(5)&#29694;&#22312;&#12398;&#26178;&#12434;&#21462;&#24471;
    // int min = cal1.get(Calendar.MINUTE); //(6)&#29694;&#22312;&#12398;&#20998;&#12434;&#21462;&#24471;
    // int sec = cal1.get(Calendar.SECOND); //(7)&#29694;&#22312;&#12398;&#31186;&#12434;&#21462;&#24471;
    byte[] rev = TCPIP_.receive();
    // System.out.println("&#21463;&#20449;");
    if (rev != null) {
    byte[] Change = new byte[1];
    int j = 0;
    for (int i = 0; i < 1200; i++) {
    Change[0] = rev;
    current[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    volt[j] = decimalChange(Change);
    i++;
    Change[0] = rev[i];
    revolution[j] = decimalChange(Change);
    } catch (NullPointerException e) {
    public int decimalChange(byte[] byteData) {
    int bit0, bit1, bit2, bit3, bit4, bit5, bit6, bit7;
    int bit = 0;
    for (int i = 0; i < 8; i++) {
    int a = (byteData[0] >> i) & 1;
    System.out.print(a);
    System.out.println();
    return 1;
    public void destroy() {
    // &#20999;&#26029;
    if (TCPIP_ != null) {
    TCPIP_.disconnect();
    if (TCPIP_.getSocket_() != null) {
    try {
    System.out.println("\ndisconnect:" + TCPIP_.getSocket_().getInetAddress().getHostAddress() + " " + TCPIP_.getSocket_().getPort());
    } catch (Exception e) {
    TCPIP_ = null;
    public boolean conect(int IP) {
    conectFlag = false;
    String address = "192.168.1." + IP;
    System.out.println(address);
    try {
    argIp_ = InetAddress.getByName(address);
    } catch (UnknownHostException e) {
    // xp.init();
    isApplet_ = false;
    start();
    return (conectFlag);
    public void send(String command, int value, int sendData[][], int i) {
    int j = 0;
    Integer value_ = new Integer(value);
    byte values = value_.byteValue();
    Integer progNum = new Integer(i);
    byte progNums = progNum.byteValue();
    try {
    TCPIP_.send(command, values, progNums);
    for (j = 1; j <= i; j++) {
    Integer time = new Integer(sendData[j][0]);
    byte times = time.byteValue();
    Integer power = new Integer(sendData[j][1]);
    byte powers = power.byteValue();
    TCPIP_.send(times, powers);
    TCPIP_.flush();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);
    public void file(String name) {
    ublic void fileclose(String name, String command, int value, int sendData[][], int i) {
    try {
    fos = new FileOutputStream("" + name + ".csv");
    osw = new OutputStreamWriter(fos, "MS932");
    bw = new BufferedWriter(osw);
    String msg = "" + command + "," + value + "";
    bw.write(msg);
    bw.newLine();
    for (int j = 1; j <= i; j++) {
    msg = "" + j + "," + sendData[i][0] + "," + sendData[i][1];
    bw.write(msg);
    bw.newLine();
    bw.close();
    } catch (IOException ex) {
    Logger.getLogger(MainProcessing.class.getName()).log(Level.SEVERE, null, ex);

  • Re: Flash Air desktop application

    Hi there,
    I have developed a flash air desktop application with the help of a flash programmer.
    Soon I will put it online for sale. How could I avoid illegal copy from spreading around?
    I need a lot of info regading this.
    Please help me with this issue.
    Many thanks

    A possible solution is described here:
         http://nsdevaraj.wordpress.com/2009/01/20/licensing-flex-air-application/
    HTH.

  • May LV for Linux run in embeded linux system with ARM9 ?

    Hello All,
    May LV for Linux run in embeded linux system with ARM9 ?
    Tks and best regards!
     Bright

    No, it will only run on Intel compatible processors.
    You'll need LV Microprocessor SDK for that (AKA LVEmbedded). But you'll lose
    the MMI. And you need to build toolchains yourself (although there is a
    cygwin example shipped, and converting it to any gcc toolchain is not that
    difficult).
    There is a special LV MSDK for ARM processors, but not for all of them.
    Regards,
    Wiebe.

  • Best CD/DVD Burning Application For Linux?

    What's the best lightweight burning application for Linux? I'm trying to avoid Brasero and K3B.

    I'm currently using k3b its great as is Brasero, I would go so far as to say both are commercial quality applications. I've used growisofs for dvds which is a command line app, extremely light weight: http://wiki.archlinux.org/index.php/DVD_writing I have not used Nero Linux before though it was my favorite program on windows.
    This recorder application sounds very interested, looking forward to trying this one out when I get home tonight.
    Last edited by dabski (2008-05-29 01:38:28)

  • Compiling a LabVIEW application for Linux

    Hi
    I have developed my labVIEW application in windows XP using LabVIEW 7.1
    Can anybody tell more what I need to do and what tools I need to complie my application for Linux.  Do I just need an application builder for Linux?
    Hope somebody can help.
    Many thanks
    Ash

    hello ash,
    you need labVIEW and the application builder both for linux in order to create an application for a linux target.
    regards,
    robert h
    NI germany

  • How to allow multiple instances of air desktop application

    hi all
    Adobe air desktop application only allow single instance of
    application. How to allow multiple instances like in other desktop
    applications?.
    thanks

    Thanks a lot morgair, i will check with exe4j tool.
    Actually the problem is, thread is not waiting for second request.
    thatswhat i thought it may because of thread.
    Thanks & Regards
    Sudha

  • What is a recommended Graphics card for G4MDD running tiger and sometimes..

    What is a recommended Graphics card for G4MDD running tiger and sometimes 9.2.2
    I really need to have both in accelerated mode, looking at my stats I currently have 9000 PRO with 64mb ram... don't need it for games but high end graphics applications currently using Starta Pro 2.5.3 on 9.2.2 which for my current purposes is afficient

    The 9600 runs like crap in OS 9.2.2 with any ATI software you can find because ATI never wrote OS 9 drivers for the 9600. OS 9 ATI software does not recognize the card. You get a basic 2D monitor output that is soft, dull, slightly off-color, and cannot be enhanced with the Monitor's Control Panel calibration utility.
    If you spend any amount of time in OS 9.2.2 or you want to use OS 9.2.2 for any of your old games (even 2-D video clip type games), don't get the 9600.
    I have a 9600 installed in my MDD G4 and now have an original Radeon for Mac PCI video card installed as well. When I want to use any of my OS 9 games, I move the DVI cable from my LCD monitor over to the old Radeon card and restart.

  • I have got Acrobat 10.1.13 for Mac running Yosemite - and the 'advanced search' feature has stopped functioning - it doesn't install the search window, nothing happens - so I uninstalled acrobat, reinstalled it - but it still not working?

    I have got Acrobat 10.1.13 for Mac running Yosemite - and the 'advanced search' feature has stopped functioning - it doesn't install the search window, nothing happens - so I uninstalled acrobat, reinstalled it - but it still not working?

    It's a 3rd party app.  You really should contact Adobe Support and/or post in the Adobe Forums
    Mac OS X (10.6.6)
    Use Software Update or the OS 10.6.8 combo update to update your OS.  Also, update everything SU has to offer for your computer.  When done, repair permissions and restart your computer.

Maybe you are looking for

  • Add User to Group Behavior

    Hi all I found this post that explains the same issue I'm having, but the marked answer isn't relevant to my environment. I've built a user creation runbook, using 2012 R2 and this Active Directory Integration Pack. Everything works properly, except

  • Breaking the trend : help before buying...

    Hey guys, I am so glad that I decided to do some reading up before buying my new computer. It is my first upgrade in years, and last time I just bought a package and never put it together myself. So yes, I am a newbie, tho I have spent awhile reading

  • Same album showing 3 times

    I have the same 3 albums showing up in my ipod 3 times. Its only listed once in Itunes. Anybody know how to fix this, its very annoying Thanks

  • Power Adapter Actual Output in Volts

    Ok, here's the story. I recently bought power invertor for my 12V car cigar lighter socket that allows me to plug in devices like mobile phones and my Powerbook using the standard 3 pin plug and Mac power adaptor. Great when you're a passenger on roa

  • Is there a forum for feedback to Apple

    Hi I am a Mac Newbie and am disappointed to find out the uni dock's remote does not support the menu button. I think this would be very useful as I am using the voice over and have outdoor speakers and rather than checking the ipod screen I could the