air-native-extension

push notification iOS native extension for Adobe Air

牧云@^-^@ 提交于 2019-12-01 21:20:10
I'm working on iOS native extension for Adobe AIR that will get device token for push notifications. Unfortunately I'm not that munch objective-C programmer and I'm not sure if there's something wrong in the code I'm using. It compiles with no problem, I can use the extension with AIR but looks like registering for notifications doesn't return neither positive nor negative effect. So what I'm trying to do is register for notifications when RegisterDevice function is called from AIR and if it does register store the device token in deviceTokenString and if it doesn't register and comes back

Adobe Air 4.0 Native Extension with Google Play Services

回眸只為那壹抹淺笑 提交于 2019-12-01 09:21:31
These days, I am trying to integrate AdMob into my Adobe Air based android app, with Google Play Service . After I get the ane file ready, I got following error after I debug app in Flash builder 4.6: Error occurred while packaging the application: dx tool failed: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/R$attr; at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) at com.android.dx.dex.file.DexFile.add(DexFile.java:143) at com.android.dx.command.dexer.Main.processClass(Main.java:301) at com.android.dx

Adobe Air 4.0 Native Extension with Google Play Services

人走茶凉 提交于 2019-12-01 07:45:37
问题 These days, I am trying to integrate AdMob into my Adobe Air based android app, with Google Play Service . After I get the ane file ready, I got following error after I debug app in Flash builder 4.6: Error occurred while packaging the application: dx tool failed: UNEXPECTED TOP-LEVEL EXCEPTION: java.lang.IllegalArgumentException: already added: Lcom/google/android/gms/R$attr; at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) at com.android.dx.dex.file.DexFile.add

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