Native AIR extensions in Flash Pro

I understand that AIR 3.X for Android supports "AIR Native Extensions" written in Java. 
Has anyone successfully used one from Flash Pro.  I'd really love to see a working example from one of the Adobe samples such as their Gyroscope example at:
https://www.adobe.com/devnet/air/native-extensions-for-air/extensions/gyroscope.html
Thanks!

@relaxatraja
Thanks for the pointer to this excellent post.  Worked like a charm.  Note that even after updating the playerglobal.swc, you are not able to test the resulting swf in the IDE via 'Test Movie' [Ctrl-Enter] because the IDE does not use the installed stand alone flashPlayer, but instead a built-in one (for CS5 is version 10.1.52.14).  It is not updatable, as far as I can tell.  See http://swfhead.com/blog/?p=575  Testing via debug or in the actual standalone player or browser plugin works correctly.

Similar Messages

  • How to test and configure custom extensions in Flash Pro CC?

    Hi,
    How do you install custom CS extensions in Flash Pro CC for testing and debugging before they have been signed and packaged?
    We have a custom extension for Flash Pro developed in-house using the CS SDK that we've been using with flash pro CS5 and CS6 but we're having trouble getting it to work in CC and I'd like to run it locally in test/debug mode.
    With flash pro CS6 and CS5 it was possible to test extensions by copying the output folder from flash builder into the CS Service Manager root folder (e.g. /Users/<username>/Library/Application Support/Adobe/CS6ServiceManager) and setting PlayerDebugMode to 1 in the CSXS preferences.
    I've added the PlayerDebugMode=1 flag to com.adobe.CSXS.4.plist however, I can't find the equivalent service manager folder for Flash Pro CC to copy the extension into.
    Is there a different folder to use for CC or is the process for testing extensions completely different? (are extensions written in the CS SDK even compatible with CC?)
    I'm running Mac OS Lion.
    Thanks,
    Stephen

    Thanks, that explains a lot.
    I'm afraid I'm a bit confused about what the preferred way of developing extensions is going ahead. There seems to be a lot of conflicting documentation on the adobe site, e.g. http://www.adobe.com/devnet/creativesuite.html  seems like the top page for extension documentation but it only talks about CS SDK 2.0 which uses CSXS and doesn't seem to be compatible with creative cloud apps.
    Then there's CS Extension Builder 2.1 which looks like it supports Flash Pro CC but isn't mentioned in the pages you linked too and it doesn't mention JSFL, but talks about the CSAW library.
    Do you know if:
    * The CS SDK has been dropped completely? 
    * CS Extenstion Builder is deprecated? (I can't see it as an option in the list of Creative Cloud apps)
    * Is then any documentation/utilities to help migrate existing CSXS extensions to work with creative cloud apps?
    Thanks,
    Stephen

  • Utilizing AIR Native Extensions in Flash Pro CS5.5

    I'm trying to integrate Adobe's "Gyroscope" example of ANE to work from Flash Professional CS 5.5.
    http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/g yroscope.html
    Apparently, one has to use the somewhat crude "ADT" command-line tool to build an app that uses Native Extensions.
    Unfortunately, I cannot get past the numerous errors ADT is throwing at me.  The latest is:
    unexpected failure: inputs not set
    java.lang.IllegalStateException: inputs not set
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.j ava:62)
              at com.adobe.air.ADT.parseArgsAndGo(ADT.java:556)
              at com.adobe.air.ADT.run(ADT.java:413)
              at com.adobe.air.ADT.main(ADT.java:463)
    Unfortunately, I'm not an advanced developer, so I really don't know what any of that means. (But I'm sure if I can just get this one example to compile and run, I'll be better able to perform the necessary tasks in the future.)
    Can someone PLEASE help me?
    Thanks.
    Mike

    Joe_suchta, you can follow these steps http://www.youtube.com/watch?v=pwVkK27Nors
    Lucky

  • Where might I find a good tutorial on creating an HTML-5 based extension for Flash Pro CC?

    I have extension builder 3 installed in eclipse and it appears to be working like normal. I'm able to create a new extension builder project. I need help taking the next steps.
    Previously in extension builder 2.1 and Flash Builder 4.6 it auto-created the .mxml and .as files for me so all I had to do was insert a bit of jsfl into the as script section and save and could see it show up as a panel in my Flash Pro panels menu. With EB3 I can't really tell what it's doing and am unsure on how to continue, are there any boiler plate files available I can plug in? I want to start simple and add a button, a bit of jsfl, and progress but can't seem to get past installing eb3. Any help or tutorials available? Thanks

    Barnes & Noble is an excellent source of knowledge; I often end up there with a notebook and a pen myself. It is true though, sometimes trying to find information about programming can be an obscured journey; there are often times when something so simple, if explained better would have saved hours of trial and error. I don't think there's a person on this forum that hasn't experienced this exact scenario, and probably more than once.
    As unfortunate as it is, this is the way it is, programmers don't always make the best writers. Assumptions are made and people don't always have the time to write out all the specific details of a how-to, but in a way you have to learn to read through that. If you're interested in really learning how to program in any language, I can't think of a better way to learn it. When you read a snippet of code and it doesn't work, the only thing you can do is figure out why it doesn't work or to abandon the code and move on. As harsh as this is, it can really help improve your knowledge; it forces you to really understand the tool(s) you're using and once you understand it, you start to progress much faster.
    I know you were probably were wanting more of a straight-forward answer, but I think it's important to know that we all have and still go through the same sort of frustrations.My suggestion is to find a site, book, a user group, or a class that teaches you what you need to know, and in a way that makes sense to you. Here are some resources you might want to check out. Good luck.
    http://www.kirupa.com/
    http://www.gotoandlearn.com
    http://www.actionscript.org
    http://www.flashkit.com
    http://www.lynda.com (paid service)

  • Extensions for Flash Pro in CC?

    I tried to open the Exchange using Window > Extensions and the only thing I see is "No Extensions Installed".  Next I tried the link on the welcome screen and just got a web page that said click here for CC users only to find that Flash doesn't get Exchange built in.  OK - how do we get extensions in Flash CC?
    Rick near Atlanta

    Thanks, that explains a lot.
    I'm afraid I'm a bit confused about what the preferred way of developing extensions is going ahead. There seems to be a lot of conflicting documentation on the adobe site, e.g. http://www.adobe.com/devnet/creativesuite.html  seems like the top page for extension documentation but it only talks about CS SDK 2.0 which uses CSXS and doesn't seem to be compatible with creative cloud apps.
    Then there's CS Extension Builder 2.1 which looks like it supports Flash Pro CC but isn't mentioned in the pages you linked too and it doesn't mention JSFL, but talks about the CSAW library.
    Do you know if:
    * The CS SDK has been dropped completely? 
    * CS Extenstion Builder is deprecated? (I can't see it as an option in the list of Creative Cloud apps)
    * Is then any documentation/utilities to help migrate existing CSXS extensions to work with creative cloud apps?
    Thanks,
    Stephen

  • Looking for tutorial or developer to for hotkey extension for Flash Pro.

    I'm using Flash Pro CS6 on a Windows 8 touch/pen tablet. In put tablet mode, some of the common commands, especially undo, are difficult to reach without hotkeys or keyboard shortcuts.
    What I need is an on-screen panel with big easy-to-hit "Undo" and "Redo" buttons that I can use as hotkeys on the touchscreen, much like the hotkeys on a Wacom Intuos or Cintiq. I have a little programming knowledge, but don't know where to start in creating an extension panel like this.
    Can anyone suggest a good sarting tutorial for this type of add-on, or would anyone be willing to bash out such an extension?
    Thank you for your time.

    Hi Arafat,
    Thank you for the suggestion but I had already looked at that.
    I am looking for a working example or step-by-step tutorial that updates a table in SAP, using ABAP webdynpro. The PO example provided with Designer does not connect with SAP; also, the tutorial steps provided in the Designer Help do not even match the way the example form is constructed! (Help says use table object, the example pdf uses a repeating subform).
    My problem seems to be in the binding between the form and SAP.  I have tried various changes and nothing I try is transferring any data except the first row of the table.
    I hope someone has a SAP example for this situation.
    Margaret

  • How to update AIR SDK for Flash Pro CC?

    The most recent info I can find is for Flash Pro CS6:
    http://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional1.html
    Does this work in Flash Pro CC?

    Thanks Colin.
    I was thinking of adding a comment to my previous post along the lines of, "You would think that Adobe could make this process easy."   It appears that they could, and they have. 

  • How to add the google swiffy extension to Flash Pro CS6 or CC

    I have downloaded the google swiffy extention however after adding it to flash pro inthe extension manager it has a check box saying (enabled) but it doesnt show under window>extensions in the Flash pro app. Are there any guides on how to do this or somehting im missing? I've heard Flash CC could support html extensions so I installed Flash CS6 but that doesn't let me add the extension either. Any support with this is would be very nice.

    Thanks I see the export feature however I just have one last issue with it, when I try to export a simple swf that contains a simgle tween I get this error http://puu.sh/6DRYl.png. What can I do about that?
    Edit- this only happens with Flash Pro CC not the CS6 version.

  • CS extension with Flash Pro

    Hi everyone
    Is it possible to make a CS extension with Flash professional instead of Flash Builder?

    Short answer is no.
    Extension Builder (based on Flash Builder) provids full support for extension development.
    Besides, you can use CSSDK.
    http://www.adobe.com/devnet/creativesuite.html
    http://blogs.adobe.com/cssdk/
    http://forums.adobe.com/community/creativesuites/cs_sdk

  • Does flash builder 4.6 have a simple method to include Native Extensions like Flash Pro cs6?

    flash cs6 has this:
    http://www.adobe.com/devnet/air/articles/using-ane-in-flash.html
    flash builder 4.6 seems to only allow this through command line compilation.

    I've found a work around of removing the swc then adding it back. Such a damn pain in teh ***!

  • JS-Linter,a static javascript analysis extension for HTML5 Canvas documents in Flash Pro CC

    JSLinter is a  extension for Flash Pro CC for static code analysis of timeline javascript in ’HTML5 Canvas’ docs.It helps to detect errors and potential problems in your timeline javascript code .
    You can download the extension form my blog here
    http://hemanthkumarr.wordpress.com/2013/12/05/js-lintera-static-javascript-analysis-extens ion-for-html5-canvas-documents-in-flash-pro-cc/

    Checked just now .It is working for me and i can download the extension.
    Can you just verify again and let me know?
    -Hemanth

  • Flash pro CS6 Air for iOS設定から"デバイスにインストール"の項目がなくなっている.

    以前より、Flash pro CS6のAir for iOSでの、実機へのインストールに不具合があり、原因が不明なため、
    Flash pro CS6自体を再インストールしました。
    その後、Air for iOS設定ダイアログを確認すると、「デプロイ」のページの最下部にあった、
    「アプリケーションをデバイスにインストールする」という旨の項目がなくなっていました。
    これは、Flash pro CS6のアップデートにより、新たにそのような仕様になったのでしょうか。
    それともこちらで何か必要な設定がありましたでしょうか。
    ご回答の程、よろしくお願いいたします。

    Flashメニューの「ヘルプ」→「アップデート」にて解消しました。

  • Successfully using a Native Extension with Flash CS5.5 Pro, having issues

    Hey all,
    I'm trying to use a native extension due to an app rejection about the new storage guidelines. I'm hoping someone can help me figure out how to use a native extension from Flash CS5.5 and the adt command line utility (I've never used before).
    Apples storage guidelines in 5.0.1 require files saved to Documents (and other places) to be marked with the icloud "do not back up" bit. I'm trying to use Adobe's IOS 5.0.1 data storage native extension to do that as I have file sharing enabled and my app downloads files I want the user to be able to copy to their desktop.
    From the bits and fragments I'm reading all over, getting it to compile means using the command line adt tool (I've never used it before) because Flash Pro CS5.5 doesn't support native extensions. Also, this native extension requires a v14 SWF published (11.1) and CS5.5 only goes up to 10.2 (or higher if you install the players).
    I edited the AiriPhone.xml file and pointed it to an AIR 3.1 airglobal.swc and I have AIR 3.1 overlayed in flash. I can't test AIR for iOS anymore after that change but I can get it to compile a SWF. The adt command line adt utility stopped complaining that my SWF version was 13 when it needed 14, so I assume this worked?
    I am trying to compile a debug version so I can see trace statements to see if the native extension reports success on changing the bit. Here is my command line cobbled together from scraps of info on adobe.com and the -help data:
    adt -package -target ipa-debug -connect 192.168.1.80 -provisioning-profile myApp.mobileprovision -storetype pkcs12 -keystore myApp.p12 myApp.ipa myApp-app.xml myApp.swf dat AppIconsForPublish Default-Landscape.png Default-LandscapeRight.png -extdir extensionDir
    Before this iCloud change this app published directly from Flash Pro CS5.5 without any issues. I am only running into issues getting this app to work with this native extension and/or published correctly.
    I am including the folders "dat" and "AppIconsForPublish" as well as splash screens (this app is landscape-only) as well as that extension in the folder extensionDir.
    After putting in my password my app compiles into an IPA which I can drop into iTunes. It has the same general size as the IPA generated from Flash Pro. The icon is correct, etc.
    When I sync this file, the progress bar goes across, I see it loading on my iPad and then once it goes to install I get a popup saying "iTunes Sync: 'myApp' failed to install."
    Is there anything obvious wrong with my adt line? Has anyone else used this native extension? Ideas on what I can do to fix this?
    No, unfortunately I did not build this with Flash Builder. I am an avid user of it now and this would be a moot point as it uses ANEs and changes SWF versions trivially. I have to get this to compile using Flash Pro CS5.5 though.
    Any help is greatly appreciated!
    edit:
    Just FWIW, after I updated the .xml to use the latest AIR and such (so the version is 14) I removed the extension, exported purely from Flash Pro CS5.5 and the app works fine. As soon as I enable the <extension> in the XML I can no longer install the app. This just appears to be a noob adt publish issue.

    My app downloads PDFs, movies and other information-esque files and saves them to the apps Documents folder so they can be retrieved via file sharing. These files not being in something purgable like /Library/Caches and not having the "do not back up" bit is why I was rejected.
    update: It's definitely my command line building.. I took out the native extension completely and published from flash to an IPA and it works. I then run adt on the same SWF that just worked and it fails to install. So the install failing is my command line. I see this article and my command line is very similar. I'm really uncertain why it's failing.

  • Flash Pro CS6 iOS Native Extension Problem

    I am trying out flash pro CS6 new features.
    The most important one being ANEs [native extensions].
    in flash builder 4.6, when using an ANE for ios, it is sometimes required to put the ios5 SDK location [ -platformsdk  in ADT].
    This is completely missing in Flash Pro CS6 IDE, any way around that?
    [for the info on including the ios5 sdk check:
    http://help.adobe.com/en_US/flex/mobileapps/WSe4e4b720da9dedb5-4aefe03513238d8a1b8-8000.ht ml]
    Thanks.

    Uhmm, i'm doing a kind-of-360º-panorama-app and we need Gyroscope and Ad-hoc / AppStore distribution. And i've tried to get an answer of any kind from guys on Adobe on their AIR facebook fan page and here.
    SHould we write our own gyroscope ANE?, have any of you succesfully compiled ad-hoc or app-store with Ketzler Euler Gyroscope ANE?
    http://www.ketzler.de/2011/11/adobe-air-gyroscope-native-extension-with-euler-angles-roll- pitch-yaw-for-ios/
    regards.

  • 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

Maybe you are looking for