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
0
votes
0 answers

Exception in C++ air native extension for Mac OS X

I develop air extension for ios and mac os x. I use the same code on ios and mac. For ios all good. But on mac - have problems. In extension I use std::vector. Code example: vector* types; types = new vector(); Type* type = new…
0
votes
2 answers

adobe air push notifications

I am using push notifications extension and getting an error : ReferenceError: Error #1065: Variable com.freshplanet.nativeExtensions::PushNotification is not defined. These are the simple steps I followed so far: 1) added the extension in the…
Eran
  • 1,628
  • 16
  • 31
0
votes
1 answer

Captive Runtime Bundle with AIR native extension

I'm trying to export a release build of my app which makes use of AIR native extensions. Due to certain requirements, the app needs to be exported as a captive runtime bundle package. Flash Builder 4.6 refuses to do such an export and displays this…
grok
  • 906
  • 1
  • 14
  • 14
0
votes
1 answer

Stopping Background Music when Returning (Focus in) to Adobe AIR Application (iOS)

I'm using AVAudioSessionCategoryPlayback (via an Adobe AIR iOS Native Extension) when my application starts to stop playback of background music (for example Spotify) when entering my app. This works well when my Application starts, but when its…
dornad
  • 1,274
  • 3
  • 17
  • 36
0
votes
1 answer

startService() returns null at adobe AIR ANE

package com.example.demoservice.extensions; import android.content.ComponentName; import android.util.Log; import com.adobe.fre.FREContext; import com.adobe.fre.FREFunction; import com.adobe.fre.FREObject; public class…
jin
  • 1
  • 1
0
votes
2 answers

How to start activity in the native extension for android and set the content view on onCreate function?

I am writing an extension that show other view on button click. I succeed to launch the activity but on the onCreate activity i am setting content view but I am getting this error. I have included that activity in the native manifest file as well…
iCoder
  • 1,298
  • 1
  • 9
  • 25
0
votes
2 answers

Adobe air NativeAlert for iOS and Android

Just wondering anyone have success implementing the following native extension? Somehow I couldn't get it to work. When I did a check on if(NativeAlert.isSupported) it returned me true. However the alert dialogue never showed up. import…
Bill
  • 17,872
  • 19
  • 83
  • 131
0
votes
1 answer

How to receive an array as 'long' in AIR to Android Native extension?

I'm trying to make a native extension for Android Vibration. Every open source extension I've found only utilizes the vibrate(duration) but not the vibrate(pattern, repeat) and vibrate.cancel() I need to be able to pass a patten, and cancel…
brybam
  • 5,009
  • 12
  • 51
  • 93
0
votes
1 answer

How to Add Air Native Extension to Stage

I need to display an Activity written in Java using the Android SDK in my Flex Mobile app. I've seen it done with Map ANEs, but cannot find any example code or anything of the sort. I've already created the Java and ActionScript code necessary for…
Josh
  • 8,079
  • 3
  • 24
  • 49
0
votes
1 answer

Can NativeProcess.isSupported and Updater.isSupported both be true in an AIR application?

I'm trying to check user domain name in Windows, and need native process support. In the application config xml (xmlns="http://ns.adobe.com/air/application/2.6") I have extendedDesktop desktop When I run the…
user1081056
  • 533
  • 2
  • 4
  • 15
0
votes
1 answer

android AlarmManager with AIR native extension not work

I'm trying to create an AIR native extension for sending scheduled notifications, I have the following code: package com.ane.notification.functions; public class ScheduledNotificationFunction implements FREFunction { Context androidActivity; …
0
votes
1 answer

use air native extension to show a simple native button?

I'm mainly an AS3 coder and I know Java fair enough to be able to build my own ANE files for Vibration, Toast, dialogs and that simple stuff... using air native extensions are cool but I'm getting a bit disappointed not being able to create a simple…
Hadi tavakoli
  • 1,267
  • 2
  • 16
  • 30
0
votes
2 answers

AIR Native Extension - missing "library.swf"

I'm trying to package an AIR 3.3 Native Extension for the iOS-Simulator with the following command: adt -package -target ane MyANE.ane extension.xml -swc MySWC.swc -platform iPhone-x86 library.swf MyLib.a But I keep getting the following…
iddqd
  • 700
  • 7
  • 21
0
votes
1 answer

Flex Native Extension with Dropbox API for Android

I´m trying to develop a Native Extension for Flex in order to use the Dropbox API for Android. I have already tried this dropbox-r33 module for FLEX but it`s deprecated for Android 4, so this is not a solution for me. I have already an ANE with…
Eduardo
  • 214
  • 3
  • 9
0
votes
1 answer

*.ANE for extend iPhone app i receive "ld: absolute addressing" ERROR when add it to my Main Flex Project and compile it

I'm coding an extension (ANE) for iPhone that read the contact list. I receive an error when add the .ane to my Flash Builder Project and compile it. I compiled the Objective-c code in a *.a lib without problems. I compiled the .ane without…
1 2 3
18
19