ane

AIR app, adding activity to manifest changes the app design

社会主义新天地 提交于 2020-01-06 02:52:08
问题 I have a small problem, probably because I'm a newbie in Android development. I am making an Air mobile App, with an Air Native Extension. My extension is used to create alarms. In my BroadcastReceiver I make an Intent to call my Air App. To make this call possible I had to add the activity in my Air App Manifest like this : <manifestAdditions><![CDATA[ <manifest> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.VIBRATE"/> <uses

Hooking into main application's onCreate method from Adobe AIR extension

ぐ巨炮叔叔 提交于 2019-12-24 15:33:21
问题 I am creating an ANE for Urban Airship, a service for sending push notifications (among other things). So far the integration has worked great but only when the app is open. When the app is exited, receiving a new push notification results in the app crashing with: 11-29 01:19:32.448 22340-22340/air.com.example.app E/Urban Airship Autopilot: Unable to takeOff automatically 11-29 01:19:32.496 22340-22440/air.com.example.app E/AndroidRuntime: FATAL EXCEPTION: IntentService[PushService] Process:

How to include additional Jar in Android Native Extension for Adobe Air Mobile

六月ゝ 毕业季﹏ 提交于 2019-12-18 05:13:18
问题 I have build a pretty nice little app using Adobe Air Mobile (FlashBuilder) and Android Native Extensions (ANE). I would like to incorporate the Jayspt encryption library with my ANE but I can't seem to find any documentation telling how to do it. If I do the standard ADT export to jar for the ANE build, it doesn't include the jayspt jar. Does anyone know how (spell it out for me) to include another jar in the ANE? Thanks, FB 回答1: Firstly make sure you're using AIR 4.0+ to package. Earlier

Error when including OpenCv framework in a Native Extension for IOS

社会主义新天地 提交于 2019-12-14 00:08:55
问题 I'm creating an ANE for IOS that implements the OpenCV framework, but when I compile the app on Flash Builder I get this error: Error occurred while packaging the application: Undefined symbols for architecture armv7: "__ZNKSt3__120__vector_base_commonILb1EE20__throw_length_errorEv", referenced from: __ZNSt3__16vectorIN2cv3VecIiLi128EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o) __ZNSt3__16vectorIN2cv3VecIiLi64EEENS_9allocatorIS3_EEE8__appendEm in opencv2(matrix.o) __ZNSt3_

mxmlc does not include *.ane files during command line build

假装没事ソ 提交于 2019-12-11 12:58:38
问题 Here is the command that I am using to build an android application. mxmlc +configname=airmobile -output Example.swf -locale=en_US -source-path+=D:\fb_projects\Example\localeB\{locale} -library-path+=D:\fb_projects\Example\libs -source-path+=D:\fb_projects\Example\src -external-library-path+=D:\fb_projects\Example\extensions\android.ane -- D:\fb_projects\Example\src\Example.mxml Update : Please check the command that i am using now to build/compile my flex android application , I have

How to include additional Jar in Android Native Extension for Adobe Air Mobile

烈酒焚心 提交于 2019-11-29 08:02:22
I have build a pretty nice little app using Adobe Air Mobile (FlashBuilder) and Android Native Extensions (ANE). I would like to incorporate the Jayspt encryption library with my ANE but I can't seem to find any documentation telling how to do it. If I do the standard ADT export to jar for the ANE build, it doesn't include the jayspt jar. Does anyone know how (spell it out for me) to include another jar in the ANE? Thanks, FB Firstly make sure you're using AIR 4.0+ to package. Earlier versions definitely can do it as well but the following method is much easier and doesn't require repackaging