Air apps with outside elements

Hello,
First of all i'm a newbie to air.
my question is : is it possible to create an desktop Air apps
with the "core components" of the apps (in my case .air file and
swf, xml) and as the full application will use flv give the
possibility to download those flv to folder (inside the
installation folder) or to use them from a server online.
The final purpose of my question is that i'd like that my
apps could look if there's updated flv available.
Hope that my question is clear enough bcause of my poor
english ;)
Thanks

Hi,
AIR has APIs that let you download files from the internet
and store it on your local filesystem (though not in the
application installation directory, but a different location: the
application storage directory). You should be able to play those
flv's from your AIR app.
Using the same API's you can also download a file that lets
your app know if there is an updated flv available.

Similar Messages

  • HTML based AIR app with transparent background (PNG)

    Hi guys,
    I have been developing a VERY simple HTML / JavaScript AIR app with Dreamweaver CS3 and Photoshop CS3.
    I have skinned the app with a simple transparent PNG file (Photoshop > Save for Web and Devices). I have set the PNG as the <body> background-image via CSS and the body background-color is undefined. I have also set the app to:
        <systemChrome>none</systemChrome>
        <transparent>true</transparent>
    My problem is that I get a white opaque background showing through behind / around the PNG.
    Q: Is it possible for HTML / JavaScript AIR apps to have transparent backgrounds (I have seen lots of info about how to do this in Flash / Flex but not HTML)?
    Q: What do I need to change or do to make it work?
    Many, many thanks,
    B

    Oops, sorry.
    I was using the BluePrint CSS Framework and it turns out that that was setting a background color.
    Please ignore this thread!

  • Publishing air apps with native extension with Flash CS6 on Windows

    Hi all,
    is there any trick to publish air apps with Flash CS6 on Windows?
    I tried all native extensions from devnet, but nothing work to me.
    I read on Mac is possibility to specify the iOS SDK folder in publish
    settings, but on Windows it´s missing. 
    Is there anybody who has some experiences with publishing apps
    with native extensions for iOS and Android with windows Flash CS6?
    Thanks for all advices.

    I sympathize. I recently found a native alert for iOS and Android that's working with Flash CS6 on Windows with AIR 3.2.0.2070 but not AIR 3.2.0.2060. You can get the ANE here:
    http://www.jampot.ie/ane/
    Haven't tried the other ones. Let us know if you decide to try them.
    The sample code they have on the page doesn't work with the native alert. Here's the code I created - it's a document class for a .fla that has one dynamic TextField and one Button component on the stage :
    http://pastebin.com/DsxR9nJ4

  • HTML-based AIR app with transparent UI, shadows, etc.?

    I'm debating on whether to use Flex or HTML/Ajax for a widget
    in a project. If I make an HTML-based widget, is it possible to
    have UI tricks like shadows and transparency, basically, NOT being
    confined to a standard OS "box" window? Is this possible?
    Thanks.

    Yes it is possible to do this with an HTML-based AIR app.
    However, since the visual elements will be HTML-elements, not
    display objects, you can't use the Flash APIs for shadows and
    transparency. Also, in a transparent window, SWF and PDF content in
    HTML cannot be displayed.

  • Is there a way to generate air apps with hidden or "insided" swf?

    The swf file is very very easy to be decompiled after installed...
    Why adobe air doesn't include swf into the executable file?
    I have to protect it.

    but it will be complicated for Android and iOS
    You don't need any setup mangers for this. Adobe Air for iOS use embedded runtime into package (captive) and you can't build it separately. For Android there two options. Make it built-in (captive) or shared. So don't worry about mobile devices. Just use captive for Android.
    and there is another problem with the Air Security Certificate and Digital signature.
    I don't understand your issue. When you developing and publish app for iOS/Android - you must use Developer certificate that you must buy from Apple or Android/Azamon. iOS don't allow packaging without certificates. Android allow with self-signed.
    , just after the manifest document (xml) was extracted or with personal package.
    Adobe Air very flexible. You can use different techniques. For example I use visualization software to create from Adobe Air bunch of files just single one executable file. It's like packaging you app with all external files inside another app.

  • Looking for AIR app with the following features

    This list of functionalities is so common I thought I'd check to see if anyone knows an opensource or even commericial app with the following features.
    Access User's File System
    Drag & Drop Upload
    Does anyone know of an AIR project that already exists?
    I could write this myself but I'd rather not reinvent the wheel with a 2 week deadline.
    Thanks

    Hi A-Mo,
    I'm very sorry that your husband's PowerShot SD1100 IS was stolen!
    The SD camera line has been replaced by the PowerShot ELPH lineup. These cameras are improved in a number of important ways, such as better zoom lenses, and sensitivity to light for existing light photography.
    I recommend that you consider the PowerShot ELPH 310 HS. This camera has an 8x optical zoom lens (vs. 3x for the PowerShot SD1100 IS), has a higher ISO of 3200 (vs. 1600) for low light photography and shoots video in "full" high definition (1920 x 1080 resolution) (vs. 640 x 480).
    Please note: none of the cameras in this group of cameras includes the optical viewfinder you had on the PowerShot SD1100 IS,
    I hope this is helpful.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Multiple AIR apps with the same local cache?

    Hi guys,
    Is it possible to create multiple AIR apps (for mobile & desktop) that can use the same local cache?
    For example: 2 apps for iPad will use the same data store (local cache). If we synchronize (with LCDS) and get all the data for 1 application, if we open the second application, can we access the data set from the other application?
    Thx!

    Hi Vikram,
    Eventhough I think it is techincally not possible, even if it was I would not recommend doing this. I think this is asking for problems and you can wait for the day that somebody messes up your production system, thinking it is DEV.
    I would use names like DEV_Oracle_BI_DW_Base and PRD_Oracle_BI_DW_Base, to clearly distinguish between the environments. But then again, I think Informatica forces you to use different names.
    Regards,
    Toin.
    ~Corrected typo.
    Edited by: Toin on Oct 16, 2008 4:02 PM

  • Silent install Air Runtime and Air App with custom installer?

    I want to use a custom installer that will perform some actions, and then silently install air runtime and an air application. The goal here is to be able to perform a customized install for an Air application (for a user that might not have Air installed) without confusing the user with multiple install screens. Can I use a custom installer to silently install Air (if the user doesn't have it installed) and the Air app? If so, are there any restrictions on the custom installer? If there are any examples of this, please provide the links.

    Since you applied for the distribution from Adobe you should
    have received a link to a page where you can download what they
    call the "side-car" installer. It's basically an installation
    system they are making available to developers that can be easily
    configured to deliver a bundled runtime and application
    installation for Mac and Windows.
    Check your email again and see if you can't find a link in
    there pointing you to a download page for the AIR runtime as well
    as the aforementioned side-car installer. For those who don't know,
    here
    is where you can apply for a redistribution permit for AIR.
    I have a small tutorial posted that might be of help to you
    on my blog:
    http://blog.arnimaack.com/flex-air-series-4-air-all-in-one-installers-on-CD-DVD

  • How do I associate a captive-runtime AIR app with a filetype on OSX, without breaking codesigning?

    The documentation from both Adobe and Apple says that it is required to change the Info.plist file in order to associate an app with a filetype
    However, one is also required to codesign the app in order to pass through OSX's Gatekeeper security restrictions.
    How can I get pass this problem? If I codesign from within AIR, and then change the Info.plist in the exported bundle, won't it break the codesigning?

    Have you tried using NativeApplication.nativeApplication.setAsDefaultApplication(extension:String) method?
    According to the documentation:
    "Sets this application as the default application for opening files with the specified extension.
    Note: This method can only be used with file types declared in the fileTypes statement in the application descriptor."
    I used it successfully in the past when creating a video player app for Mac/Windows that became the default for FLVs and F4Vs, but it was before captive runtime was available so Im not sure if that makes a difference or not. Also not sure how this affects code-signing but might as well give it a shot if you havent tried it or if you know it wont break anything. If you are using Flash CS6 or CC, just remember to add the file extension(s) you want to associate under AIR Settings -> Advance -> Associated file types. Not sure how Flash Builder handles those settings.
    NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference

  • Problem packaging AIR app with NativeProcess support!?

    My AIR packaged AIR app doent work with NativeProcess
    when I package it like
    <supportedProfiles>extendedDesktop desktop<supportedProfiles>
    or
    <supportedProfiles>desktop extendedDesktop<supportedProfiles>
    But when I use just <supportedProfiles>extendedDesktop<supportedProfiles>
    Packager complains with Error 306!!
    What is that suppose to mean?
    Help please
    I'm using FB4,SDK 4.1

    Are you packaging your application as a native application (.exe or .dmg)? I believe applications with extendedDesktop support (and nativeprocesses) can only be packaged as native applications.

  • Can I update my Android AIR app with a non-AIR app?

    A few years ago I published an Android app using Adobe AIR. Now I've created a new version of the app with a different technology (HaxeFlixel / OpenFL) which uses native C++ code.
    The certificate I used for the AIR version is in "p12" format, and it seems that I need to use "jks" format. I tried using a p12 to jks converter I found online, which seemed to work, but when I try to submit the app I get an error saying that the certificates don't match.
    Any suggestions on how I can update the app with a non-AIR app? Is it possible? Thanks in advance.

    I'm still having trouble with this, I asked in the OpenFL forums but nobody responded.
    I converted the p12 file to JKS from the site you suggested (I think I've actually tried it before), and the file was created successfully, the apk compiled fine with the JKS file, but when I try to update the app for Google Play it says "Upload failed
    You uploaded an APK that is signed with a different certificate to your previous APKs. You must use the same certificate. Your existing APKs are signed with the certificate(s) with fingerprint(s):"
    When I try to sign with the original p12 file, I get the error "Invalid keystore format"
    I noticed that for the AIR app, I also had a file called SelfSigned.pfx, which I think was used to create the p12 certificate? Can this have something to do with the problem? I even tried using this pfx file to sign the app, which didn't work either.

  • Failed to package iOS AIR app with Air 3.6 beta

    Hi
    I was hoping I could get help with those error messages
    Configuration to package for an iOS device
    Here is the adt command
    c:\program files (x86)\jetbrains\intellij idea 12.0\jre\jre\bin\java.exe -Dapplication.home=D:\flex_sdk_4.6 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar D:\flex_sdk_4.6\lib\adt.jar -package -target ipa-test-interpreter -storetype PKCS12 -keystore D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\certificate.p12 -storepass xxxxx -provisioning-profile D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\development.mobileprovision D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\iOS_device.ipa D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml -extdir D:\Headr\trunk\headr-app\headr-mobile\app\ane -C D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug iOS_device.swf -C D:\Headr\trunk\headr-app\headr-mobile\app\src data -C D:\Headr\trunk\headr-app\headr-mobile\app\src icons -C D:\Headr\trunk\headr-app\headr-mobile\app\src [email protected] -C D:\Headr\trunk\headr-app\headr-mobile\app\src Default.png
    And error
    Failed to package AIR application iOS_device.ipa:
             D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml: error 302: Root content HeadrApplication.swf is missing from package
    Configuration for the emulator
    Here is the adt command
    c:\program files (x86)\jetbrains\intellij idea 12.0\jre\jre\bin\java.exe -Dapplication.home=D:\flex_sdk_4.6 -Xmx384m -Dsun.io.useCanonCaches=false -Dfile.encoding=UTF-8 -Djava.awt.headless=true -Duser.language=en -Duser.region=en -Xmx512m -jar D:\flex_sdk_4.6\lib\adt.jar -package -target ipa-test-interpreter -storetype PKCS12 -keystore D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\certificate.p12 -storepass xxxxxx -provisioning-profile D:\Headr\trunk\headr-app\headr-mobile\app\ios_profiles\development.mobileprovision D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication.ipa D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug\HeadrApplication-app.xml -extdir D:\Headr\trunk\headr-app\headr-mobile\app\ane -C D:\Headr\trunk\headr-app\headr-mobile\app\bin-debug HeadrApplication.swf -C D:\Headr\trunk\headr-app\headr-mobile\app\src data -C D:\Headr\trunk\headr-app\headr-mobile\app\src icons -C D:\Headr\trunk\headr-app\headr-mobile\app\src [email protected] -C D:\Headr\trunk\headr-app\headr-mobile\app\src Default.png
    And error 
    Failed to package AIR application HeadrApplication.ipa:
             unexpected failure: null
             java.lang.NullPointerException
             at com.adobe.air.ipa.IPAPackager.processExtensions(IPAPackager.java:314)
             at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:65)
             at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:257)
             at com.adobe.air.ADT.parseArgsAndGo(ADT.java:572)
             at com.adobe.air.ADT.run(ADT.java:419)
             at com.adobe.air.ADT.main(ADT.java:469)

    Hi Pahup
    My application.xml does say 3.6 at the moment.
    First couple of lines from application.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <application xmlns="http://ns.adobe.com/air/application/3.6">
    But I am using 2 ANEs (one is ours but one is a third party that 'm afraid I can't change)
    Their extension.xml look like below
    My ANE
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
              <id>com.headr.HeadrNativeExtensions</id>
              <versionNumber>1</versionNumber>
              <platforms>
                        <platform name="iPhone-ARM">
                                  <applicationDeployment>
                                            <nativeLibrary>libHeadrNativeExtensionsIOS.a</nativeLibrary>
                                            <initializer>ExtInitializer</initializer>
                                            <finalizer>ExtFinalizer</finalizer>
                                  </applicationDeployment>
                        </platform>
                        <platform name="default">
                <applicationDeployment/>
            </platform>
              </platforms>
    </extension>
    Third party ANE
    <extension xmlns="http://ns.adobe.com/air/extension/3.5">
                <id>com.milkmangames.extensions.GoViral</id>
                <versionNumber>2</versionNumber>
                <platforms>
              <platform name="iPhone-ARM">
                      <applicationDeployment>
                        <nativeLibrary>libGoViralAPI.a</nativeLibrary>
                        <initializer>MmgGoViralApiExtInitializer</initializer>
                        <finalizer>MmgGoViralApiExtFinalizer</finalizer>
                      </applicationDeployment>
                    </platform>
                        <platform name="Android-ARM">
                    <applicationDeployment>
                     <nativeLibrary>GoViralExtensionAPI.jar</nativeLibrary>
                      <initializer>com.milkmangames.extensions.android.GoViralExtension</initializer>
                      <finalizer>com.milkmangames.extensions.android.GoViralExtension</finalizer>
                    </applicationDeployment>
                  </platform>
                        <platform name="default">
                    <applicationDeployment>
                    </applicationDeployment>
                        </platform>
                </platforms>
              </extension>
    Please let me know if there is any other workaround or if you see anything else that might be wrong in my above files.
    Melissa

  • Hide/Show Adobe AIR app with a windows shortcut

    Hello all,
    Hope to find some answers here. This is what we are trying to achieve
    -- Application with launch at OS startup or user will start the application .
    -- Once the application started, it should run in background (No window will be visible)
    --  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
    -- User works on the app and if clicks anywhere out of context of the application, it should again go back to background.
    Hope this is possible in AIR. We are exploring AIR and above scenario is very important for us.
    Thanks for help in adance,

    Pretty long set of questions. Let's see.
    Application startup:
    NativeApplication.nativeApplication.startAtLogin = true; // default is false, so app does not open at login
    Run in background
    <mx:WindowedApplication has a property called "visible".
    If false the window is not visible when the app is started.
    --  Application should become visible if assinged keyboard shortcut is triggered (e.g. ALT+CTRL+A) , even if the user is working on another applicaiton.
    Afaik, Adobe Air applications have to have focus to listen to keyboard events.
    Click out of context
    You can handle it via the deactivate event like this:
    <mx:WindowedApplication ... deactivate="trace('app deselected')">
    HTH

  • Sign self-signed AIR app with trusted cert

    I have an AIR application that has been signed with a self-signed certificate that was created by the "Create Self-Signed Digital Certificate" wizard in the Export Release Build wizard in Flash Builder 4. This application has had multiple releases with auto-updating that clients have been successfully using but now we want to stop scaring our clients with the big red question mark symbol on the installer when they are first time installers.
    Now I have in  my possession a real trusted certificate that I want to start signing with. This certificate was given to me as a .crt file. I think it is from Verisign ... I didn't purchase it.
    First, how do convert that .crt file into a .p12 file and second how do I sign the existing app upon the next build so that clients can auto-update to the next version signed by this trusted cert without any headaches .. because I have read there can be some nasty issues and warnings.

    Hi,
    If the admin URL is specified with the https protocol, then http tunneling must be enabled for the server from the console -> servers -> AdminServer ->Protocols -> http.
    Moreover we also need to add following java options to the stopWebLogic.cmd or setDomainEnv.cmd:
    set JAVA_OPTIONS=$JAVA_OPTIONS$ -Dweblogic.security.IdentityKeyStore=CustomIdentity -Dweblogic.security.CustomIdentityKeyStoreFileName=identity.jks -Dweblogic.security.CustomIdentityKeyStorePassPhrase=password -Dweblogic.security.Identity.KeyStoreType=JKS -Dweblogic.security.TrustKeyStore=CustomTrust -Dweblogic.security.CustomTrustKeyStoreFileName=trust.jks -Dweblogic.security.CustomTrustKeyStoreType=JKS -Dweblogic.security.CustomTrustKeyStorePassPhrase=password -Dweblogic.security.IgnoreHostNameVerification=true -Dweblogic.security.SSL.ignoreHostnameVerification=true
    Regards,
    Kal

  • Modify installation procedure for AIR apps with new certificates?

    Hey all,
    My company just got a signed certificate for the AIR application I've been working on.  Unfortunately, when users try to install this new version, they get the following error message now:
    I understand why this is: The application doesn't recognize the one with the old certificate and won't forcibly override it.
    (Source: http://mxbase.blogspot.com/2008/04/air-update-and-certificate.html)
    My boss wants me to find a way to make the transition between certificates seamless (ie. just reinstall over the old one as if they both had the same certificate - no uninstall, no save to new location, no unusual tasks for the users).  Is this possible?  If so, how?  I know it's a heck of a question to ask 
    Thanks so much, all!
    -Katherine

    You should never let your certificate expire before renewing it or getting a new one.
    Did you get a new certificate or renew the old one?
    If new, then your users must uninstall the old version and then install your new version. Any data your apps stores in the EncryptedLocalStore will be inaccessible. Any files your application has stored in the application storage directory will have to be copied to the new storage directory by the updated app.
    If you renewed the certificate, then presumably you are getting this error because the Certificate Authority has changed their own certificates used to sign their issued certs. If this is the case, they might (for some thousands of dollars) be willing to perform a key ceremony to bring the old certificate out of retirement and reissue your new certificate so that it has the same identity as the old one.

Maybe you are looking for

  • Error while passing  parameter fot class method

    Hi abapers, i am trying to do alv grdi dispaly using class cl_gui_alv_grid. i am getting error "ITAB1" is not type-compatible with formal parameter 'IT_OUTTAB'. i attached code here. Internal Tables types: begin of itab,       matnr type mara-matnr,

  • VIA Raid 0: Red screen of Death - fatal error during boot sequence

    I have been using two Maxtor 120GB SATA drives in a RAID 0 array on my Athlon 64 MSI MB.  I have occasionally had messages saying "Hard disk error. Can't find drive 0".  I've assumed that this has been a driver issue because if I power down, wait a w

  • XI or ABAP- HR

    Hi Experts, I am a Computer Science engineering Graduate with approx 2 years of SAP experience. My experience includes: OOPS-ABAP programming (8+ months) ABAP-HR (7+ months) SAP-NW –XI (4+ months) I am getting option to choose ABAP-HR or XI for my ne

  • RAC Installation On Windows 2003

    Welcome All i have tow Windows2003 servers and two storage , My Company ask me to Install RAC on and I want to install RAC ON windows Platform is there any one help me to do that . or any one try to install RAC on Windows thanks Edited by: user783513

  • Preloader Image Script and Pop-Up Window Behavior

    Hello -- My client's referring site -- www.moscaritolo.com/originals.htm. Please note: I am not a programmer, but more of a designer and don't possess the skills of writing code so in the development of this site for my client, I decided to use this