AIR ActionScript Extensions

Hello

I'm interested in the interaction between an application AIR and C of native applications. The information I've found so far are well described in this book. What the book is missing from my point of view is an example of how to code part C. He talks about some available demo files when developing for television, but these are available only when seen - apparently - a kind of additional license.

When you install the BlackBerry SDK, I found the file FlashRuntimeExtensions.h (lib) file, which is exactly necessary to develop extensions to the ActionScript. So, no matter who ever done something like this before? Someone at - it demo source files? BlackBerry provides more information on this?

Thanks in advance

This has yet to be released to the developer community. Maybe a little later this summer.

Tags: BlackBerry Developers

Similar Questions

  • Air/actionscript 3 games can work with mongoDB?

    I was interested in developing an online game, but wanted the database that powers the game app to MongoDB or couchDB, can I integrate this into an environment of Air/actionscript 3?

    Kind regards

    Of course, you can find something

    Quick example I've seen GitHub - s9tpepper/MongoAS3: AS3 driver for mongoDB.

  • What are your 3 favorite AIR Native Extensions albums? (any OS)

    What are your 3 favorite AIR Native Extensions albums?

    OS is irrelevant.


    So Adobe AIR should official marked as a dead language?

    R.I.P. Adobe AIR

    2011

  • Newbie wanting to AIR w / extensions to native code and the Protocol of Android accessory

    My interests include prototyping and very specific to very specific real-world applications of programming solutions.  So I bought a Playbook after viewing the quick "prototyping" video in this blog:

    http://devBlog.BlackBerry.com/2011/12/BlackBerry-PlayBook-Arduino/

    I tell myself I can do cela or something similar with PIC Basic Pro and a Microchip IC.  Although it has been nearly six months, from what I can tell, the RIM developers have failed to deliver on explaining how to use native code and the ancillary Protocol Android to connect in series on client's port to the mini-USB of the Playbook.

    Is RIM people please, show us how set up the programming environment, use the code, the mini-USB port on client Playbook, the adapter USB (where to buy, what is it exactly?), so we can use the USB client connected to an Integrated Circuit Programmable to connect in series with an AIR running on the Playbook application.

    Kenneth Mark Klausner

    How this kind of thing is that you have the hardware (Controller USB etc.), and there different registers, buffers, etc. that must be handled.  The first layer of software, what made this manipulation, is a device driver. While in some operating systems (Linux, for example), you can write yourself, or port code Besides, material in the PlayBook is accessible only by the drivers as part of the operating system, which means that the RIM should provide their.

    These drivers are may be incomplete. We do not know that for some.

    Drivers expose a particular interface to the next higher step of the software, an interface that must be respected. This interface is generally quite low, and the driver can support the features that cannot be exposed to third party software, so for this and probably other reasons, we can not directly access (and are prevented by security mechanisms).

    There is another layer of software on top of the pilot, commonly called a library. This library is also provided by RIM, as part of the operating system.

    This library can be incomplete as well. We do not know the details, but I suspect someone who knows this level of the design of the system and who attended the BB10 Bluetooth and USB discussion group would be able to interpret what they heard there to clarify.

    It's this library which provides what we call a bit of hand-wavingly API 'USB '. This is an interface in C language, with a set of data and calls structure function definitions that enable higher level code perform different operations related to USB.

    If you want to write a DONKEY, you write about this library, not the level of driver and not material. You have no choice in this matter, as it is applied by the security of the OS.

    So to sum up, if we refer to 'USB API' they're talking about essentially the library routines, and it is necessary to talk to this API to get whatever it is the case here.  The API can be described in the header files (there is something), or maybe he's going to be an API different than what I see out there. Whatever it is, it is undocumented in other places at the moment, so all who want to enter this need to make much low level experiment (talking to the library).

    They can have the documents which cover this and perhaps code samples to talk to the library. If the version of the operating system we have has the incomplete versions or buggy drivers or libraries, this could explain why they have not pushed this documentation and code for us.

    I think that I heard that they are gathering input (requirements, use cases, comments) from people in this session.  Who tells me that they are still working on some details, and when they are at a stage like that they simply don't tell us publicly where they are, deadlines, or what it will look like when it is done.

    And so expect.

  • Building Air Native Extensions using Studio Android

    We recently tried to switch to Android Studio to create the side Java for our donkeys, but the first problem that we face is how to use FlashRuntimeExtensions.jar considering that Studio Android does not work with the .jar files! I wonder if Adobe has found a solution for this? or y at - it a tutorial you can refer me to? any advice will be appreciated.

    Well, it looks like no one knows! so I tried to find for myself and I have also written a tutorial for short help for someone else who may have a need. How to build NSAS in Studio Android | Mobile application development

  • Specific mobile applications to AIR ActionScript APIs

    This question has been posted in response to the following article: http://help.Adobe.com/en_US/AS3/iPhone/WS789ea67d3e73a8b24b55b57a124b32b5b57-7ffe.html

    It must simply be based on how long it takes for the user to activate the device and interface settle.

    Back to event changing for a while, you know that you can use with Android OS 2.3 and later? If you have used that you know they turn the camera before the interface starts to turn.

    What is your overall goal?

  • Debug the native extension (ANE) AIR

    Is it possible to debug somehow AIR native extensions when the current on the PlayBook, or at least get the reactions of output/print-debugging?

    I tried as described in this tutorial , but don't know where the exit fprintf/fflush

    The stdout and stderr are still redirected to the logs/log file in the current directory of your application.  You can view directly, assuming you have no other means, using SSH to connect to your PlayBook or Simulator and find the folder appdata for your application.

    Some information about the file system configuration is http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/BlackBerry-PlayBook-File-System-L...

    Many other sons and all blog posts have covered connection via SSH.

  • 2 support in CS5 Extensions AIR

    Is it possible to use the AIR 2 Extensions CS5 runtime? I need the ServerSocket class really bad...

    TIA,

    mlavie

    Yes you can. Download the Air 2 SDK and then follow the instructions here: http://kb2.adobe.com/cps/495/cpsid_49532.html

    Concerning

  • How to add a NATIVE EXTENSION (like iBattery) with a Flash Professional project

    Hello world

    I am trying to use the native extension of iBattery in a Flash Professional (with an AIR for iOS) project. More information here: http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/

    How can I use this native outreach in a .fla project? really thanks!

    First of all,

    Use these step to overlay AIR SDK 3.0 in Flash Pro: http://kb2.adobe.com/cps/908/cpsid_90810.html

    Next, you will need to write your ActionScript code to include your NativeExtensions: http://www.youtube.com/user/iBrent#p/u/7/Axg6E001a7I

    BUT you need to compile via command line: http://www.youtube.com/user/iBrent#p/u/6/MRcoJ6ClLqo

  • Possible to integrate Google play application Adobe AIR services?

    Hello Adobe Experts,

    Need help!

    Is it possible somehow to integrate services to game google to Adobe AIR app, not through the Native extension?

    I mean, can I integrate as a dependent of my AIR application library? I know how to group as part of the Native extension, but the challenge here is if I use some other DONKEY which also comes with the library of game google services then it gives conflicts. So thought if there is any way to integrate google services play all together separately to my AIR application.

    Future prospects for the answer.

    Thanks in advance.

    Oh my God, I'm a fool! I'm sorry, I didn't know that he didn't not apply to Android...

    You can try another DONKEY, I guess that this is a business option: distriqt / / air native extensions

  • Air 17 cannot compile ipa if using custom iOS .framework on WIN

    Hi support them.

    I just encountered a problem which seems to be a bug... I'm building an air native extension that uses a third .framework... to be able to build my .ane I have to install the third-party framework in my flex SDK at "flex_sdk_4.6_air_sdk_17-124\lib\aot\stub" and when I run to compile my .ipa it is said:

    LD: in D:\\flex_sdk_4.6_air_sdk_17-124\\lib\\aot/stub/thirdParty.framework/thirdParty(coutln.o), not support address encoding function of the personality in the CIE for architecture arm64 (80)

    Compilation failed during execution: ld64

    The strange thing is that I get this error when I'm compiling on a windows only! When I compile the same project on a mac, it compiles fine and I can install .ipa without problem!

    so, I thought maybe I should post this bug here and if all goes well wait a fix because although we can live with compiling on a mac, it should really be able to do it on a windows that we have a single Mac at the office and all the other computers are Windows!

    If this isn't a bug and I do something wrong, please give me a hint.

    Thank you

    Hadi

    I had this problem with a DONKEY I used - he threw this error trying to build on iOS Windows. After many headaches head the problem was nailed to a problem with ld64.exe - however, there is a version below that solves the problem for me: -.

    http://Joep.com/ld64.zip

    You must copy on ld64.exe in flexairsdk\4.6.0+17.0.0\lib\aot\bin\ld64

  • Last of Google Services (v. 21) ANE + extension airmobile native could not resolve interface

    I try to add the last Google Plus (google-game - services.jar) support of a mobile Air application by creating a native extension.

    Code not errors of compilation or warnings, the POT is very well implemented, DONKEY is built and included in the project without problems.

    but when I run my apk, it crushes. Device-crush-logs I see following error:

    12. 04 23195 23195 11:08:18.602 I dalvikvm: could not resolve mCol/google/example/games/basegameutils/Gamehelper1034743; interface 940 "MBCA/google/android/gms/common/api/GoogleApiClient$ ConnectionCallbacks";
    12-04 11:08:18.602 23195 23195 W dalvikvm: link class ' MBCA/google/example/games/basegameutils/Gamehelper1034743'; failed

    At first, I tried to build an extension of the empty project, all by myself.

    After that, I found an extension to open source on github http://github.com/alextel69/google-play-game-services-ane/

    I compile this extension and include in my project of mobile AIR and it works fine, but the google-game - services.jar is too old and does not provide classes, that I need.

    so, I tried to replace it is libs/google-game - services.jar and libs/android-support - v4.jar with those more recent that I had in my Android SDK Manager.

    And that caused the errors above.

    In this way, I did not change a single line of code, or ANT build.xml or anything else, I just changed the old support android - v4.jar + google-game - services.jar (works very well!) with the latest android-support - v4.jar + google-game - services.jar (failure). I mean DONKEY is built very well, even, the extension is created and some of its working methods and return values, but as I referense to the google code service, I get this strange error.

    Although the interfaces in new and old jars appear to be equal: https://dl.dropboxusercontent.com/u/13839683/ane/jars_compare.png .

    jars_compare.png

    Moreover, these errors appear in the mobile AIR only. Pure native application using these android-support-google-game + v4.jar - services.jar have no problem.

    Here is a brief outline of my native extension:

    https://DL.dropboxusercontent.com/u/13839683/ANE/scheme.PNG

    scheme.png

    And here is a log of complete the birth of expansion and up to his crushing device: http://pastebin.com/iqvR3niD

    ----

    INB4

    ----

    I discovered this problem very carefully and found several son simular, but none of them solved my problem

    (1) the solution of problems-interface http://stackoverflow.com/questions/22956979/google-plus-ane-air-native-extension-failed-re

    > jar xf /path-to-play-services-project/libs/google-play-services.jar

    > jar uf./my_gplus_extension.jar. / com

    does not solve everything.

    (2) the manipulations with Eclipse http://stackoverflow.com/questions/23104532/adobe-air-4-0-native-extension-with-google-pla y-services do not help either (after all, I build with ANT JAR).

    (3) I change resourses (\google-play-services_lib\res\*.*) during the transition to a new google service library.

    (4) I even tried to extend the interfaces to google and changed my Gamehelper1034743 for their implementation, but that did not help either (http://dl.dropboxusercontent.com/u/13839683/ane/extend_interface.jpg).

    extend_interface.jpg

    Thanks for the response, Alexey! I will definitely read this article.

    Also, I have to say, that I managed to partially solve this problem. I asked the same question on the starling forum and he is member of tsangwailam suggested I replace the dx.jar in the AIR SDK to new Android SDK.

    replacement of dx.jar has really helped. I took %ANDROID_SKD%\sdk\build-tools\19.1.0\lib\dx.jar and copied to %FLEXSDK%\lib\android\bin\dx.jar

    and the expansion began to work properly!

    but...

    as soon as I run a SingInActivity activity

    Intent intent = new Intent(context.getActivity().getApplicationContext(), SingInActivity.class);
    context.getActivity().startActivity(intent);

    my application becomes idle - fails to manage the keys.

    It seems that some invisible modal popup appears and does'n enable my application grab taps.

    after reduction and restoration of my application, I see that SingInActivity steps in the process 'protected Sub onStart()' and I know that my CCP "sees", because I connect using FREContext.dispatchStatusEventAsync () in the my Flash textfield, but demand is stil not able to manage the users entered (both native flash and starling/stage3d TouchEvents)

    It is interesting to note, that when my AIR application loses the ability to manipulate the keys, Android navigation buttons turn of points hidden in buttons:

    https://DL.dropboxusercontent.com/u/13839683/ANE/untouchable.PNG

    regarding the unit log, I don't see there any erros or Java ecxeptions or nothing (at least for me) that could explain such behavior.

  • Is AIR 3.3 compaible with Windows 7 x 64?

    I downloaded 3.3 AIR and installed. on the download site, it says that there is a version for windows 7 x 32. I have extensions in dreamweaver is not working and the AIR is the cause suspected according to the Director. I have windows 7 x 64 and using CS5.5. I can't the sample out of the Adobe Web site extensions to work either. Adobe technical support refuses it might be a problem with their software. I also tried to run in compatibility and tested mode extensions, but cannot complete the install without a properly functioning AIR. Extensions are Zpose and TourDeFlex photo gallery. Anyone else having the same problems?

    Thank you, while this is not the journal of AIR, it seems you have a problem during the installation MSI part.  Googling the error 'Error 1606. Could not access network (calculated) location. "leads me to believe that Setup is having a problem to either solve or to access any path, I'm not sure where"calculated"carries out.

    Try creating a new windows, temporary (level admin) user account and reinstall AIR.  Do you get any error messages?  If this is not the case, try reinstalling Tour de Flex, it does not install?

  • the call journal air for android

    Hello

    I'm created an app for android phones in the Air. Is it possible to receive the call log application.

    Thank you

    Unfortunately, AIR works as an application that runs on the device, as in a bubble and have access to many information that belongs to the device. If you need a native extension to do and no one to do:

    http://www.Adobe.com/devnet/air/native-extensions-for-air.html

  • Any good native extensions for iOS yet?

    Hello

    I wonder if there is any native extensions that can be used around again for the features of iOS?

    I've found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be especially tech-demos (battery, network info etc.). I thought at least in-app-purchases, support Game Center, IAD, alertbox etc. should have been released now?

    Since I have no knowledge in objective-c, I can't do it myself, but I'd be happy to pay for DONKEY - files that can be used in real projects.

    / Karl

    to the original question - I had extensions for iOS Game Center and AdMob Android (commercial) -.

    AdMob Android for Adobe AIR extension

    iOS Game Center Extension for AIR

    I would like to know what you think would be cool!

Maybe you are looking for