Questions tagged [air-native-extension]

Native extensions for Adobe AIR are a combination of ActionScript classes and native code that provide easy access to device-specific libraries and features that are not available in the built-in ActionScript classes.

A Native Extension allows native code to be packaged along with an Actionscript application practically extending AIR. The code in the extension can utilise native components on the device and provide an Actionscript API to access these components from your application. "Native extensions provide easy access to device-specific libraries and features that are not available in the built-in ActionScript classes."

They are a combination of ActionScript classes and native code in a single ANE file.

The Adobe maintained list: http://www.adobe.com/devnet/air/native-extensions-for-air.html

281 questions
9
votes
5 answers

Adobe AIR 3.1 Native Extension for Android - null extension context in actionscript

I'm working on Native Extension for Android platform and i got stuck... Targeting Android 2.1... testing on Google Nexus One (2.3.6) this line returns NULL this.context = ExtensionContext.createExtensionContext("com.company.ane.LocationManager",…
tszarzynski
  • 604
  • 7
  • 15
6
votes
2 answers

How to use external Dll in Air Native Extension?

The structure of my ANE file looks like this: ExtensionDll.dll DllUsedByExtensionDll.dll extension.xml mimetype catalog.xml library.swf If ExtensionDll.dll uses the…
BlueWanderer
  • 2,671
  • 2
  • 21
  • 36
6
votes
1 answer

How to create an ANE that will natively display a Floating Window

How to create a native window in Xcode and integrate it with a Mobile Flex application. The native window should act similar as the StageWebView component whereby the native content floats in a rectangular area over the rest of the Flex app.
Christo Smal
  • 615
  • 5
  • 16
6
votes
2 answers

java.lang.ClassNotFoundException: Didn't find class "android.support.v4.content.FileProvider" error in Adone AIR native extension

maybe my question sounds like asked 100 times before, but believe me I have read every answer for those 100 similar questions and non of them solved my problem. So purpose of my native extension is to share documents in my app cache folder (doc,…
MrClockOff
  • 103
  • 1
  • 2
  • 10
6
votes
1 answer

Acoustic Echo Cancellation in AIR Mobile on iOS - using Native Extensions?

We are developing a video chat app for iOS using AIR Mobile and the acoustic echo is a real show stopper. getEnhancedMicrophone() returns null so apparently Adobe can't help us here. However, unlike Android, it looks like acoustic echo cancellation…
jamix
  • 5,484
  • 5
  • 26
  • 35
6
votes
3 answers

Adobe ANE works on iOS and Android devices, but not in AIR simulator

The vibration ane by Adobe works well in a Flex mobile app both on iOS and Android, but when I try to launch an AIR simulator from Flash Builder 4.7 on Windows 7 I get the error: Here a copy of the error message from the latter screenshot: Process…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
5
votes
1 answer

Flash Builder 4.6 Native extension Error

i have an error that i dont understand why appear, the most weird is that happens sometimes but lately happens always, the code that i use is the same and i dont have make any changes to it, in fact i dont execute any code in the start of the…
5
votes
1 answer

AdvertisingIdClient.getAdvertisingIdInfo(context) is thworing NoClassDefFoundError

I am trying to use AdvertisingIdClient to fetch the advertisement id of my AIR app. So i did like AdvertisingIdClient.Info adInfo = AdvertisingIdClient.getAdvertisingIdInfo(context). I am not getting any compile time error. I generated ANE from…
4
votes
2 answers

how to write c/c++ extension for adobe air(or flex)

is there a official sdk for c/cpp programmer to write extension for AIR or FLEX?
aztack
  • 4,376
  • 5
  • 32
  • 50
4
votes
1 answer

Mouse wheel event in Adobe Air for Android (trying to write Adobe Native Extension)

I am trying to write a Adobe air native extension to catch mouse wheel on android. Android is getting the mouse wheel event when I am testing it as a native application. But when I try to package that code as a native extension, I am not getting the…
Shvilam
  • 236
  • 4
  • 11
  • 27
4
votes
0 answers

Symbol(s) not found for architecture armv7 - Flash Builder for Windows / iOS Native Extension

I'm attempting to run the example project for this Adobe Native Extension 'SongPickerANE' from Flash Builder on Windows onto an iOS device. I've run it successfully on the same device (and iOS Simulator) from Flash Builder on my Mac with AIR SDK…
Ted
  • 2,525
  • 2
  • 37
  • 54
4
votes
0 answers

Capturing Video on Mobile device using Adobe AIR

I am tasked with creating a video recording app for mobile devices (iPhone, iPad, Android) where the users are asked to record a short clip using their phones/tablets. The video is then uploded to a server (either within the same app or a secondary…
Paul
  • 351
  • 1
  • 5
  • 16
3
votes
1 answer

Is there any possibility to control the iphone's/android's flashlight through as3?

Just that: is there any possibility to control the iPhone's flashlight using any class in ActionScript 3? Thanks in advance, DGM.-
DGM.-
  • 151
  • 3
  • 13
3
votes
1 answer

Is it possible to stream live video to Flash Media Server via NetStream byte access?

So, I'm working with a video source that I'm feeding into my Adobe AIR application via some native extension work, with the goal of ultimately getting it to a Flash Media Server. The video is H.264 encoded and muxed into a FLV container, which…
3
votes
4 answers

Returning a struct from an Air Native extension

Is it possible to return a struct from your native code? It's relatively straight forward to return an int or a boolean but how do you return a more complex struct back to the actionscript?
theshadow322
  • 73
  • 1
  • 6
1
2 3
18 19