Mobile app to desktop air app

How do I convert my mobile air app to a desktop air app.  I basically just want the app to look just like the emulator version but maybe with a 1024x768 view instead (tablet sized).

When you build the release build of the application, you can choose "AIR for desktop" and the app looks exactly like in the emulator.
Otherwise you have to port some of your application components to an AIR project (if you want the full AIR desktop functionality).

Similar Messages

  • What's the difference on StageWebview in Mobile and Desktop AIR apps?

    Hi,
    What's the difference between StageWebView in an AIR mobile and
    AIR desktop app? (AIR 3.9 SDK)
    I have the problem that in a StageWebView related feature is working and on mobile but not on desktop AIR apps.
    The feature lets users login into a website and post to the forum - on mobile it seems that the cookie/session is not found.
    What could be the reason for that?
    Any ideas welcome!

    I would recommend against using useNative = true in Windows, because that means the behaviour and presentation of the page is very unpredictable, since the user can have pretty much any version of IE from 6 to 11 and beyond. That's more than a decade worth of different (and some really old and buggy) versions of Internet Explorer. The embedded WebKit in AIR could use an update (it's a bit old), but it's still a lot better than the wild territory of native IE ;-). I'm glad the AIR team listened to us and in AIR 3.9 they gave us back the option to not use native IE in Windows (in some of the previous versions, such as AIR 3.6, 3.7 and 3.8, only the IE engine was available to StageWebView, which forced me to use AIR 3.5 for Windows versions of my application, since the IE engine provided all sorts of problems).
    Anyway, I don't understand your post very well. First you say "is working and on mobile but not on desktop AIR apps". From that I get that your page is working on mobile but doesn't work properly on desktop, but then you say "on mobile it seems that the cookie/session is not found". That contradicts the other sentence, since now you're saying it doesn't work properly on mobile.
    Which one is true?

  • Desktop AIR app debug build running from cache?

    I'm new to flash builder (using 4.5 for os x) and I've been working on a desktop AIR app for the last week.  I've been running into a strange issue when deugging my app.  Every once and a while (maybe 4-5 times a day) after I make changes to my code and I make a new debug build, a much older version of the app runs when I run the app with or without the debugger, or even if I export for release.  It's as though its running (or building) from the cache, except I'm building a desktop app and I'm not testing the swf on a browser.  I've turned off "Build Automatically", cleaned the project and build again but no changes are reflected.  I can't figure out how, but after cleaning, quitting flash builder, restarting, cleaning, building again, etc.. numerous times suddenly I will see the current version of the app back up and running.  I cannot for the life of me figure out how to quickly resolve the issue, or what exactly is fixing it. Every time it seems like something else triggers FB to refresh the build.  I can even run the debugger and step through my current code while seeing completely different results on the screen.
    Has anyone else run into this issue?  Anyone know what I may be missing?  Are there settings I need to change besides "Build Automatically"?  Thanks for your help,
    Nick

    Thanks for the answer.  How exactly Flash Builder is running is a little clearer to me now.  I checked and the timestamps were indeed being updated correctly.
    This helped me to look elsewhere for the issue.  I actually now think it may have to do with mobile home sync that I have going through OS X.  Whenever the sync runs, FB seems to launch an outdated (as in hours ago) version of the app.  Despite the fact that the sync is not pulling in new files, it seems to be the issue.  If i stop the sync I start seeing the current version of the app again when I run the debugger.  So I think its just the OS causing my problem (although I still don't completely understand why exactly the issue would manifest itself in FB).  Fortunately I can recreate the issue every time I run the sync, so the problem is consistent at least!
    Thanks again for your help.

  • How to read http cookies from adobe desktop Air app using flex/flash builder in AS 3.0 ??

    Im developing Adobe desktop air app where i need to read the session id from the cookie of a http request.
    I have found a property called URLRequest.manageCookies supported by AIR so i Hope there should be a way to read the cookies as well. Im Using Flash Builder 4.5
    Please provide any reference code or guide me for this research;
    searched a lot regarding on this web.
    Most results lead to local shared object or reading cookies fr a webpage using javascript and ExternalInterface.
    I want to read http cookies not Local shared Object and in a desktop AIR application.
    Im using Flash builder 4.5
    Thanks
    Hari

    Sorry, but you are at the wrong forum; this one is only for discussions on the forums themselves. The Air forums are here:
    http://forums.adobe.com/community/air

  • Is there a way to open the settings app from an air app on both iOS and android?

    Since you can't change the notifications settings within the app, is there a way to simply open the settings app from an air app? like a link or something like that?

    Even on iOS this has only recently been added by Apple for iOS 8 only using the line:
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:UIApplicationOpenSettingsURLString]];
    So you would have to wrap this in an ANE and then again, only for iOS and only call it in iOS 8+

  • Giving an ICON to my desktop AIR app?

    Well, I just completed my first AIR app. I took an existing
    flex app that my agency has been using for about a year now and
    converted it to AIR. It was much better suited outside the browser
    environment, so this was the perfect chance to try AIR. Well, I
    exported my project. Installed the app to C:\Program Files. I
    selected the option to create a desktop short-cut. Finish! Well, I
    have my app installed and it's on the desktop as well. It runs
    perfectly. The only thing left is to set the icon for the
    application. How is this done aside from manually setting an icon
    from the short-cut's properties menu. Is there a setting in Flex
    Builder that sets the icon? Google has given me no help. Any time
    there's a mention of "learn to add an icon to your AIR app", it
    always refers to an ADOBE AIR class and the material covered.
    Help!! thanks!

    Nevermind, found it after opening the appname-app.xml file.
    After resizing the icon i wanted for each dimension, it
    worked.

  • Launch desktop AIR app from swf button

    I have a very simple task. I have an AIR app installed. All I want to be able to do is launch it from a swf button. I am building the swf button in Flash CS6. How do I do this? All it has to do is launch the app. No fancy stuff, no installs, no validation. Just launch the darn app. I can't seem to find a simple solution. Thanks!

    Not sure exactly why yet, but I finally found something that worked!!!! Hope this saves someone else hours of research:
    myCustomBtn.addEventListener(MouseEvent.MOUSE_DOWN, versionDetectCallback);
    var _air:Object;
    var _loader:Loader;
    var appID:String = "thenameofmyapp";
    var pubID:String = " "; 
    function loadAir() : void
    _loader = new Loader();
    var loaderContext:LoaderContext = new LoaderContext();
    loaderContext.applicationDomain = ApplicationDomain.currentDomain;
    _loader.contentLoaderInfo.addEventListener(Event.INIT,onInit);
    _loader.load(new   URLRequest("http://airdownload.adobe.com/air/browserapi/air.swf"),loaderContext);
    function onInit(event:Event) : void
    _air = event.target.content;
            //the pubID argument resolves to and empty string ""  
            _air.getApplicationVersion(appID, pubID, versionDetectCallback);
    function versionDetectCallback(event:MouseEvent) : void
           _air.launchApplication(appID,pubID);
    loadAir();

  • Desktop AIR app and Facebook login

    I try using this lib https://code.google.com/p/facebook-actionscript-api/, but when I call FacebookDesktop.init("820024968051122",loginHandler); I get error:
    code: 2500
    message: An active access token must be used to query information about the current user.
    type: OAuthException
    If I call FacebookDesktop.init("820024968051122",loginHandler,"test_user_token"); then all work fine, but how I get token if user is not log in?

    Thanks for the answer.  How exactly Flash Builder is running is a little clearer to me now.  I checked and the timestamps were indeed being updated correctly.
    This helped me to look elsewhere for the issue.  I actually now think it may have to do with mobile home sync that I have going through OS X.  Whenever the sync runs, FB seems to launch an outdated (as in hours ago) version of the app.  Despite the fact that the sync is not pulling in new files, it seems to be the issue.  If i stop the sync I start seeing the current version of the app again when I run the debugger.  So I think its just the OS causing my problem (although I still don't completely understand why exactly the issue would manifest itself in FB).  Fortunately I can recreate the issue every time I run the sync, so the problem is consistent at least!
    Thanks again for your help.

  • IPhone Apps and MacBook Air Apps...

    Can you use the purchased app's from your iPhone through itunes and use them on your mac?

    No, each uses a different OS. But wouldn't it be nice if you could?

  • Opening an AIR App from another AIR App

    Hello Experts,
    I want to make an AIR application from which I can execute
    other AIR Application. Does any one have any idea how it can be
    done?

    It cannot be done. If you browse the archive you will find
    plenty of relevant "discussions".

  • Launching another iOS AIR app from iOS AIR App

    Hi
    Ideally we would like to be able to launch another AIR iOS from our AIR iOS.  Is it possible to do this with AIR?  I understand you can do it natively.  We would also need to pass a few parameters: such as authentication ID and a URL.
    Potentially we need to be able to do this in Android too.
    Thanks
    Ben

    Yes. you can have following chunk in your infoAdditions
    <key>CFBundleURLTypes</key>
       <array>
        <dict>
         <key>CFBundleURLSchemes</key>
         <array>
          <string>appA</string>
         </array>
        </dict>
       </array>
    then from another AIR iOS application you can call navigateToURL("appA://thisDataWillBeReceivedByAppA")
    I have written an Article which lets AIR iOS applications implement Facebook Single Sign-On It uses the same techniques. You can follow http://www.saumitrabhave.com/2011/10/facebook-single-sign-on-for-air-ios.html for more details.
    Thanks,
    Saumitra

  • Unable to connect with Kuler Air app and Extension

    Hi,
    I am unable to connect Adobe Kuler Desktop(Air app). I can't login through the app. Only thing I can see when I launch the app is the RGB rotating, even after an hour.
    I tried reinstalling the app two three time. No way. same issue persits.
    I tried to connect through a proxy server enable and through a direct connection. same issue.
    Not only the Kuler Desktop, but the plugin also has the same problem.
    Please help.

    Hello, I was getting the same RGB loading... issue, however I was able to Sign In at the bottom with my Adobe ID, and then themes started loading when I selected from the dropdown (e.g., Most Popular). It's a little slow, but seems to be working.

  • Local videos not playing in Flash/Dreamweaver Air app

    Hi there. I am having trouble playing local video from an Air app created from Dreamweaver. I have found many similar [posts, but most are about Flex and so on. I need some help getting this working form Flash and Dreamweaver.
    What I did wat create a jQuery site that uses Flash to play videos. It will be packaged as a desktop Air app using the Dreamweaver Air plugin.
    From advice that I got here (http://soenkerohde.com/2008/06/playing-local-files-with-air/)
    I started a new Air Project in Flash as suggested. Using an Air flash app makes more sence I guess, but I still need to imbed it into an HTML framework.
    Here is the code I am using:
    import flash.filesystem.File;
    var myVideo:Video = new Video(stage.stageWidth, stage.stageHeight);
    addChild(myVideo);
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    var client:Object = new Object();
    client.onMetaData = function(metadata:Object):void {
    trace(metadata.duration);
    ns.client = client;
    myVideo.attachNetStream(ns);
    var f:File = new File("Special_Assignment_Title.flv");
    ns.play(f.url);
    When I run this I get the following error:
    <blockquote cite="">ArgumentError: Error #2004: One of the parameters is invalid.
              at Error$/throwError()
              at flash.filesystem::File/set nativePath()
              at flash.filesystem::File()
              at videoPlayer_fla::MainTimeline/frame1()[videoPlayer_fla.MainTimeline::frame1:17]</blockquo te>
    Any suggestions on how to fix my problem? Any help would be greatly appreciated

    Instead of using the File object, try URLRequest instead:
                                            var urlReq:URLRequest = new URLRequest("Special_Assignment_Title.flv");
                                            ns.play(urlReq.url);
    Chris

  • AIR apps on the Mac App Store

    Hi,
    We have an AIR application that we'd love to release on the Mac App Store. However, due to Apple's strict guidelines on installers, it seems that AIR apps would not be allowed. We we need is something in the vein of the Flash Packager for iPhone, except for desktop AIR apps. Does anyone know if this is in Adobe's current plans? I'd like to be able to consider other alternatives such as Shu which package the framework and AIR file into an app bundle. But I understand that this is prohibited by the AIR distribution license. Any insight or suggestions much appreciated!

    William,
    I got past the "Unable to build valid certificate chain for the signer" by installing the "Apple Root CA" with Keychain Access, importing my private key .p12 file, exported from Keychain Access, into Firefox and then exporting (Backup...) it back out. I think that caused the final .p12 file to contain the whole certificate chain.
    Unfortunatly, I now get the error "Packaging failed. Make sure your computer time is in sync and your certificate is valid" when trying to build my bundle using adt.

  • Can't Export Release Build for AIR app...

    Flash Builder 4.7 won't let me export a release build for any AIR apps at all...
    It started when I wanted to make some changes to an old AIR app.  Couldn't even run it in the debugger, so I updated the AIR SDK (using instructions found here: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html   and here: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html )
    So after doing all that, and making some other changes, I finally got my AIR app to run in the debugger in Flash Builder 4.7.  Made the changes I wanted to make, then tried to Export Release Build...  Kept giving me a "Password Incorrect for this certificate" error whenever I tried it -- but it would never let me enter a password.  I went to Project | Export Release Build, and on the first screen there, I would click "Next" and it would jump straight to compiling, skipping over the screen where you're supposed to be able to enter the certificate info and password.
    Figured maybe because it was an old AIR project, that was causing the problem.  So I started a brand new AIR project -- very simple one with just a <s:Label> inside a <s:WindowedApplication>.  Went to Project | Properties | Flash Builder Packaging and created a brand-new self-signed certificate (which seemed to work) but again upon trying to export the release build, it wouldn't let me get to the screen where you enter the password.  Clicking "Next" from the first screen on Project | Export Release Build just jumps straight to compiling and (of course) it gives me the Incorrect Password error, because it never gave me a chance to enter the password.
    So what is going on here?  Why can I not export any release builds for any AIR projects?  This is extremely frustrating -- Flash Builder 4.6 never gave me these kinds of problems.  What can I do to fix Flash Builder 4.7 so it will work properly with AIR projects?
    Thanks,
    L.

    Hi,
    I think something's wrong with either your FB 4.7 installation, or how you updated the AIR SDK. I just walked through the exact steps you listed (except I already had the AIR SDK overlayed) and I can build a desktop AIR app without issue. I get prompted for the password and everything.
    I wish I had a better answer, but I'd suggest uninstalling and re-installing FB 4.7, be sure to remove preferences as well. Then before you update the AIR SDK, try building an AIR app with the base SDK that's included in 4.7. If you can get it to compile and prompt you for the password, then it's the way you overlayed the SDK that's messed something up.
    Make sure you download the correct AIR SDK that's specific to Flex. On this download page: http://www.adobe.com/devnet/air/air-sdk-download.html is a reference in small print that says: Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows. Make sure it's that version of the SDK (without the ASC 2.0 compiler). Then try overlaying the SDK again and see if that works.
    I can definitely confirm that what you are experiencing isn't the norm, and that you can get the latest AIR SDK to work with FB 4.7
    Good luck!
    iBrent

Maybe you are looking for