External library inside Air native extension for android
Hello everyone,
First, I've been looking throught this topics
- http://stackoverflow.com/questions/7732742/air-3-native-extensions-for-android-can-i-how-t o-include-3rd-party-libraries
- http://stackoverflow.com/questions/24626380/how-to-include-additional-jar-in-android-nativ e-extension-for-adobe-air-mobile
I got a similar problem. But not exactly the same. And the solution didn't worked for me :(.
First of all, I don't have any visible error.
-I can easily talk between java and action script.
-The gateway is set without problems.
My problem comes when, from my java-side-part of the extension, I try to call a 3rd party library. This library is (and I think this is where I do something wrong) linked to my project as an external lib, in .jar format.
So when I make a call to 3rd party library, it just doesn't print anything. Neither on the adobe part or on the java part. The logs that are before my call are printed but not the ones after.
I tried different solutions that are:
-Taking all compiled class files of my external lib and add it inside the main native extension jar [link1]
same result (no errors)
-including the 3rd party jar inside the ANE by adding a dependence file that require the .jar [link2]
with this method i got this error that I don't get
> aapt tool failed:ERROR: input directory '--auto-add-overlay' does not exist
My third party library also include's itself some external .jars so do I need to include every jars inside the same packaged jar?
I can see that a lot of people are dealing with issues like that so my question would be:
What is the best way to include 3rd party library inside android AIR Native Extension ?.
For information, here is what I do to create the ANE
>adt -package -target ane AirInfinitGameANE\AirInfinitGame.ane AirInfinitGameASLib\src\extension.xml -swc AirInfinitGameANE\AirInfinitGameASLib.swc -platform Android-ARM -C AirInfinitGameLib .
- AirInfinitGameASLib: just the folder with the actionScript part and the config xml file
- AirInfinitGameANE: folder in the one that will be the native extension
- AirInfinitGameLib: the eclipse java project. I need to put in that folder the airInfinitgamelib.jar(extension jar) and the library.swf (from the swc file) in order to beeing able to compile the ANE.
Here it is ! Thanks a lot for thoses who'll read me.
I had the same problem recently and fixed it as follows;
- Extract the 3rd party jar file and copy the class folder (usually named "com" in the root of the jar) to my project.
- Under Project Properties -> Java Build Path -> Libraries click "Add class folder" and add the "com" folder you just extracted from your .jar.
Hope this helps
Similar Messages
-
Developing and using Adobe AIR native extensions for Android devices
I was using this tutorial:
"Developing and using Adobe AIR native extensions for Android devices"
http://www.adobe.com/devnet/air/articles/ane-android-devices.html
When packing the Flex mobile ANESampleTest to deploy on an Android device, the below error happens
Error occurred while packaging the application:
aapt tool failed:invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/drawable-xxhdpi
invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw600dp
invalid resource directory name: /private/var/folders/k8/1thhvkf92h947n_g22hg_v9m0000gn/T/52ba05aa-9001-4d46-9438-db81ef83 06f0/res/values-sw720dp-lan
Does anyone know what the issue might be?Did you find a workaround for the Error? I'm getting the same and I can't seem to find any solution.
-
In App Purchase Native Extension for Android
Hi All
I was wondering whether anyone has done any work on an In App Purchase native extension for Android? If one does not already exist I am going to be starting work on one shortly.
I did a google search and found this stackoverflow post http://stackoverflow.com/questions/8053049/air-native-extensions-for-android-in-app-billin g . The poster is having difficulty with the call back from the Android market. One of the responses mentions that 'Native extensions have an issue with java libraries' . Has anyone else come across this issue and if so how did you fix it?
thanks for any help you can provide!
MarkI have just finished a (commercial) extension that lets you directly do in-app purchases on android from Actionscript 3. You can check it out here.
-
Adobe Air native extension for admob
Dear Adobe Team,
We have recently purchased Adobe Air native extension for admob for android & ios
but every time we upload our app to an ipad or iphone, the app crashes.
We have carefully followed your instructions, and we're sure we've not made a mistake writing the action script 3 code.
We need your help in solving this problem urgently, as we are now running behind schedule in uploading our app.
Thanks very much,
Amir Steklov and Dorit LeshnickBefore I was also searched a lot to find good add network and also Admob.
Finally we done successfull integration using.. working fine in all IOS devices. not yet released to Apple app store
http://code.google.com/p/flash-air-admob-ane-for-ios/source/browse/trunk/admobaneiphone/sr c/admobtest.as?r=2
You can check our add setups using Air ANE's for our android game ExpressTrain.
https://play.google.com/store/apps/details?id=air.timuzsolutions.expresstrain&feature=sear ch_result#?t=W251bGwsMSwyLDEsImFpci50aW11enNvbHV0aW9ucy5leHByZXNzdHJhaW4iXQ..
you no need to buyAdobe Air ANE's everything is free but all u need to do is googling,
hope this will help.
Bala
Message was edited by: vamsibalu -
Facing error#3500 while running AIR native extension for windows
Hi,
I am stuck in a problem regarding AIR native extension from couple of days.Whenever I tried to run an extension for windows it gives error code 3500 (extension context cannot have the method ie methodname).I am doing all things correctly but don't know where I lack.I am using Flash Builder 4.6 and 64 bit machine.I made the sample extension POC for android ,they are working fine.No such issue.
Please post your valuable comments.Eagerly waiting for reply.
ThanksHi,
Finally I got the answer to my problem.Actually I dont have the dependency dll of .net framework 4.So I nstall these and now my code is working fine.
Thanks -
Air Native Extension for OS X. Cant call functions from native code.
Hi, I am trying to build native extension for OS X.
After creating context, I try to call native function with "call" method, but always I have an error "The extension context does not have a method with the name ..."
In as3 code my ExtensionContext is not null, so it's okay. And in native objective-c code I have a function, which I call in as3 code.
What should I do?
Here my code.
Objective-c:
FREContext AirContext = nil;
FREObject init(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
return nil;
FREObject someFunction(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
return nil;
void ANEContextInitializer(void* extData, const uint8_t* ctxType, FREContext ctx, uint32_t* numFunctionsToTest, const FRENamedFunction** functionsToSet)
NSLog(@"Entering ContextInitinalizer()");
*numFunctionsToTest = 5;
FRENamedFunction* func = (FRENamedFunction*) malloc(sizeof(FRENamedFunction) * *numFunctionsToTest);
func[0].name = (const uint8_t*) "init";
func[0].functionData = NULL;
func[0].function = &init;
func[1].name = (const uint8_t*) "someFunction";
func[1].functionData = NULL;
func[1].function = &someFunction
// other blank functions
*functionsToSet = func;
AirContext = ctx;
FREDispatchStatusEventAsync(AirContext ,(uint8_t*) "SOME_EVENT", (uint8_t*) "some information" );
void ContextFinalizer(FREContext ctx) {
NSLog(@"Entering ContextFinalizer()");
NSLog(@"Exiting ContextFinalizer()");
void ANEInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet, FREContextFinalizer* ctxFinalizerToSet )
NSLog(@"Entering ExtInitializer()");
*extDataToSet = NULL;
*ctxInitializerToSet = &ContextInitializer;
*ctxFinalizerToSet = &ContextFinalizer;
NSLog(@"Exiting ExtInitializer()");
void ANEFinalizer(void* extData)
return;
ActionScript3:
public class MyANE extends EventDispatcher{
private static var _instance:MyANE;
private var extCtx:ExtensionContext;
public function MyANE()
if (!_instance)
if (this.isSupported)
extCtx = ExtensionContext.createExtensionContext("my.awesome.ane", null);
if (extCtx != null)
trace('context is okay'); //this trace works
extCtx.addEventListener(StatusEvent.STATUS, onStatus);
} else
trace('context is null.');
_instance = this;
else
throw Error('singleton');
public static function getInstance():MyANE
return _instance != null ? _instance : new MyANE();
public function get isSupported():Boolean
var value:Boolean = Capabilities.manufacturer.indexOf('Macintosh') > -1;
trace(value ? 'supported' : 'not supported ');
return value;
private function onStatus(event:StatusEvent):void
trace('Event', event, 'code', event.code, 'level', event.level); //this traсе does not works
private function test(): void
extCtx.call("someFunction"); //this throws error
XML:
<extension xmlns="http://ns.adobe.com/air/extension/3.9">
<id>my.awesome.ane</id>
<versionNumber>1.0.0</versionNumber>
<platforms>
<platform name="MacOS-x86">
<applicationDeployment>
<nativeLibrary>MyANE.framework</nativeLibrary>
<initializer>ANEInitializer</initializer>
<finalizer>ANEFinalizer</finalizer>
</applicationDeployment>
</platform>
</platforms>
</extension>
And this script Im using for build ANE:
mv ../as3/bin/MyANE.swc .
unzip MyANE.swc
mv library.swf mac/
rm catalog.xml
rsync -a ../Obective-C/ANE/Build/Products/Debug/ANE.framework/ mac/ANE.framework/
adt -package -target ane MyANE.ane extension.xml -swc MyANE.swc -platform MacOS-x86 -C mac .
mv MyANE.ane ~/Work/_Projects/test/libs-ane/I haven't done Objective C in a long time, but if I'm not mistaken, it requires the semicolon to terminate a line of code. The line containing "func[1].function = &someFunction" does not have that termination and since that is the function you are trying to execute, maybe that is the source of the error.
-
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<Type*>* types; types = new vector<Type*>(); Type* type = new Type(); types->push_back(type);
Application crashed by line:
types->push_back(type);
I tried add try/catch block - but application crashed too.
I don't know what wrong. This code is work fine on ios and in console application for mac.Workaround found:
Need to launch adl as a line command (depends on your directory config, of course):
/Applications/Adobe\ Flash\ Builder\ 4.6/sdks/4.6.0/bin/adl -runtime /Library/Frameworks/ -extdir /Users/vandrito/Desktop/simpleAirNativeExtension/launch/extensions -profile extendedDesktop /Users/vandrito/Documents/Projets/o3sui/simpleAirNativeExtensionTest/bin-debug/simpleAirN ativeExtensionTest-app.xml
Pay attention to the library location: it is the one of the Air 3.1 install. Did not check the same trick with Flash Builder 4.6 Air install.
Then use a fake web debugger to connect to the process (if compiled in debug mode). See here how to do (french):
http://www.flex-tutorial.fr/2010/08/05/air-android-debug-sur-mobile-froyo-emulateur-avec-f lash-builder-4/
Victor -
Need help with C++ native extension for Android
Hello!
I'm trying to build and launch sample native extension written with C++ on Android device.
But thre
I have:
1) Code of native library:
#include "FlashRuntimeExtensions.h"
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
FREObject nativeFunction(FREContext ctx, void* funcData, uint32_t argc, FREObject argv[])
uint32_t length = 12;
const uint8_t* value = (const uint8_t*)"Hello from C";
FREObject retObject;
int res = FRENewObjectFromUTF8(length, value, &retObject);
if (res == FRE_OK) {
return retObject;
} else {
return NULL;
void ContextInitializer(void *extData, const uint8_t *ctxType, FREContext ctx,
uint32_t *numFunctionsToSet,
const FRENamedFunction **functionsToSet)
FRENamedFunction* func = (FRENamedFunction*)malloc(sizeof(FRENamedFunction)*1);
func[0].name = (const uint8_t*)"nativeFunction";
func[0].functionData = NULL;
func[0].function = &nativeFunction;
*functionsToSet = func;
void ContextFinalizer(FREContext ctx)
return;
void NativeCppExtensionInitializer(void** extDataToSet, FREContextInitializer* ctxInitializerToSet,
FREContextFinalizer* ctxFinalizerToSet)
extDataToSet = NULL;
*ctxInitializerToSet = ContextInitializer;
*ctxFinalizerToSet = ContextFinalizer;
void NativeCppExtensionFinalizer(void* extData)
return;
2) ActionScript Library with Extension class:
package com.adobe.hellojni
import flash.external.ExtensionContext;
public class HelloJniExtension
private static var context:ExtensionContext;
public static function init():void {
if (!context) {
context = ExtensionContext.createExtensionContext("com.adobe.canewithjava", null);
public static function stringFromJNI():String {
if (context) {
return context.call("stringFromJNI") as String;
return null;I do not have time to finish this topic.
The full problem described in http://forums.adobe.com/thread/1217167 -
64bit AIR Native Extension for iOS
Hello,
I created a native extension to support ARM64 for iOS. The problem is I get the following error when packaging an ad-hoc build:
"Error: libgameCenter.a are required to have universal iOS libraries. Please contact the ANE developer(s) to get the same."
As I understand I need both armv7 and arm64 libraries. So I build for both of them using "xcodebuild" and then merge with "lipo -create" command.
However I think there is a step I'm missing. Please advice. Thank you.
AIR SDK: 16.0 beta
Xcode: 6.1.1Well the change you need to do is inside your Xcode project, under Build Settings -> Architectures , make sure that you have selected "Standard Architectures (armv7, arm64)". One last thing to ensure that Valid Architectures should also contain arm64 entry along with other armv7 entries.
-
How to debug the jar files while developing the native extension for android
ANyone???
I'm having the same problem. I learned FB and Eclipse. I've read the tutorials, created an ane, and built it into a test app. I can debug my test app within FB 4.7 on my mobile device via USB. But there are bugs and they silently fail. Despite all my Log statements in my android java code, they won't output to the FB console. I'm blind, without even trace statements to help fix my ane. I've searched the internet and can't find anything. It must either be terribly obvious or arcane, because no one mentions it.
Can anyone tell me how to get trace out of an ane?
The Android reference claims debug and verbose priority are stripped out at runtime. I switched to Log.i() but still get nothing. I suppose for now I'll try throwing errors and see if I can report trace info that way if possible.
Anyone perhaps have a JUnit test that will mimic AIR using the ane jar file as an extension? Perhaps it will be easier to go full native until the android side is debugged.
Update Edit: Ok, now spending more time reading the Android developers website. I've found I can use logcat to get all kinds of useful system logs, including the log output of my embedded ane. I created a nice big command line window (180 char wide with a 500 deep buffer so I can scroll back through all the messages), then from the android platform tools directory I ran 'adb shell', then at the shell prompt $>logcat
Links to info that helped me:
http://developer.android.com/tools/debugging/index.html
http://developer.android.com/tools/help/logcat.html -
Adobe AIR native extension for Chromecast?
Is it available or is the Adobe AIR team working on a simple way to cast to Chromecast from AIR/Android SDK ?
ChhersGoogle search brings up:
https://github.com/renaudbardet/ANE-chromecast
and a sample app:
https://github.com/renaudbardet/AirCastSample
but no idea on its status or future plans... -
Looking for an AIR Native Extension for iOS that will allow / disable access to certain apps
I am looking to find and or create an ANE that will allow access and or disable access to certain apps such as internet, text, games, vine etc. This url represents the closest app to what I am trying to achieve: https://itunes.apple.com/us/app/parentkit/id600618138?ls=1&mt=8
Is this possible with iOS7 new features / AIR / older iOS?
As always any and all direction and help is greatly appreciated,
Thanks!Is this the wrong forum, or posting area? Is this possible?
Access to the followinf would work:
http://support.apple.com/kb/HT4213
Is this open for development / access to, api?
Message was edited by: studiobrain -
AIR Native Extension Application Crash on Android Emulator when Extension method is invoked
I have developed a Hello World Application using AIR Native Extension on Android Emulator and When i try to run the application its crashes. I was able to run same application sometimes back on Android Emulator on Mac. Right now I am using a Windows machine (as i dont have Mac anymore). I tried running same apk file which was compiled and running on Android emulator on Mac but it failed. Also i tried to recompile entire application from same code base but still it is failing. As far as i know Mac or windows should not play a part but still mentioning it out in the discussion. Also i tried running the application on various Android SDK version but with same results.
Following is logcat logs for Android 4.0.3.
D/gralloc_goldfish( 497): Emulator without GPU emulation detected.
I/ActivityManager( 84): Displayed air.com.deloitte.helloWorld/.AppEntry: +4s82
6ms
W/InputManagerService( 84): Starting input on non-focused client com.android.i
nternal.view.IInputMethodClient$Stub$Proxy@413e17e0 (uid=10009 pid=179)
W/ActivityManager( 84): Launch timeout has expired, giving up wake lock!
W/ActivityManager( 84): Activity idle timeout for ActivityRecord{41534258 air.
com.deloitte.helloWorld/.AppEntry}
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10009, 0) failed with
errno -2
E/dalvikvm( 497): JNI ERROR (app bug): attempt to use stale local reference 0x5
d500031
W/dalvikvm( 497): JNI WARNING: 0x5d500031 is not a valid JNI reference
W/dalvikvm( 497): in Lcom/adobe/air/customHandler;.nativeOnTouchCa
llback:(IFFFIFFZ[FI)Z (CallObjectMethodV)
I/dalvikvm( 497): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm( 497): | group="main" sCount=0 dsCount=0 obj=0x409c1460 self=0x128
10
I/dalvikvm( 497): | sysTid=497 nice=0 sched=0/0 cgrp=default handle=107408295
2
I/dalvikvm( 497): | schedstat=( 12139801627 5119955457 1265 ) utm=1128 stm=85
core=0
I/dalvikvm( 497): at com.adobe.air.customHandler.nativeOnTouchCallback(Native
Method)
I/dalvikvm( 497): at com.adobe.air.customHandler.nativeOnTouchCallback(Native
Method)
I/dalvikvm( 497): at com.adobe.air.customHandler.handleMessage(customHandler.
java:23)
I/dalvikvm( 497): at android.os.Handler.dispatchMessage(Handler.java:99)
I/dalvikvm( 497): at android.os.Looper.loop(Looper.java:137)
I/dalvikvm( 497): at android.app.ActivityThread.main(ActivityThread.java:4424
I/dalvikvm( 497): at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm( 497): at java.lang.reflect.Method.invoke(Method.java:511)
I/dalvikvm( 497): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.r
un(ZygoteInit.java:784)
I/dalvikvm( 497): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:
551)
I/dalvikvm( 497): at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm( 497):
E/dalvikvm( 497): VM aborting
F/libc ( 497): Fatal signal 11 (SIGSEGV) at 0xdeadd00d (code=1)
I/DEBUG ( 34): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *
I/DEBUG ( 34): Build fingerprint: 'generic/sdk/generic:4.0.3/MR1/237985:eng/
test-keys'
I/DEBUG ( 34): pid: 497, tid: 497 >>> air.com.deloitte.helloWorld <<<
I/DEBUG ( 34): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr deadd00
d
I/DEBUG ( 34): r0 00000000 r1 00097bd8 r2 00000000 r3 00000000
I/DEBUG ( 34): r4 deadd00d r5 40872c58 r6 0000020c r7 49622e39
I/DEBUG ( 34): r8 4084ee67 r9 4084e703 10 4084ee73 fp 4084f546
I/DEBUG ( 34): ip 00000000 sp bed6a248 lr 4080bc8f pc 4080bc8e cpsr 600
00030
I/DEBUG ( 34): d0 3f8000003f800000 d1 4b00106845834000
I/DEBUG ( 34): d2 4b0010684b000000 d3 0000000045834000
I/DEBUG ( 34): d4 0000000000000000 d5 0000000000000000
I/DEBUG ( 34): d6 0000000000000000 d7 0000106800000000
I/DEBUG ( 34): d8 3f8000003f800000 d9 0000000000100000
I/DEBUG ( 34): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 34): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 34): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 34): scr 68000012
I/DEBUG ( 34):
I/DEBUG ( 34): #00 pc 00050c8e /system/lib/libdvm.so (dvmAbort)
I/DEBUG ( 34): #01 pc 0004486e /system/lib/libdvm.so
I/DEBUG ( 34): #02 pc 000451b0 /system/lib/libdvm.so
I/DEBUG ( 34): #03 pc 0004c9a0 /system/lib/libdvm.so
I/DEBUG ( 34): #04 pc 000e0e4a /data/data/com.adobe.air/lib/libCo
re.so
I/DEBUG ( 34):
I/DEBUG ( 34): code around pc:
I/DEBUG ( 34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813 ...4..T.s..&...
I/DEBUG ( 34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a R..B.D.....G.L.
I/DEBUG ( 34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c ..&p..J..I. .Jy
D
I/DEBUG ( 34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05 zD..... .....K.
X
I/DEBUG ( 34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c kl.+........L#.
I/DEBUG ( 34):
I/DEBUG ( 34): code around lr:
I/DEBUG ( 34): 4080bc6c 34b4f8d3 ec54f7cd 26001e73 2f01f813 ...4..T.s..&...
I/DEBUG ( 34): 4080bc7c 42abb152 d0074416 4798e7f8 f7ff4c0a R..B.D.....G.L.
I/DEBUG ( 34): 4080bc8c 7026ffa7 ec4af7cd 2006490c 44794a0c ..&p..J..I. .Jy
D
I/DEBUG ( 34): 4080bc9c f7cd447a 2000eb00 ebc2f7cd 58e54b05 zD..... .....K.
X
I/DEBUG ( 34): 4080bcac 2b006c6b e7e9d1e9 deadd00d 0006234c kl.+........L#.
I/DEBUG ( 34):
I/DEBUG ( 34): memory map around addr deadd00d:
I/DEBUG ( 34): bed23000-bed71000 [stack]
I/DEBUG ( 34): (no map for address)
I/DEBUG ( 34): (no map above)
I/DEBUG ( 34):
I/DEBUG ( 34): stack:
I/DEBUG ( 34): bed6a208 00000000
I/DEBUG ( 34): bed6a20c 4001df19 /system/lib/libc.so
I/DEBUG ( 34): bed6a210 4004770c /system/lib/libc.so
I/DEBUG ( 34): bed6a214 4004c85c
I/DEBUG ( 34): bed6a218 00000000
I/DEBUG ( 34): bed6a21c 4001f121 /system/lib/libc.so
I/DEBUG ( 34): bed6a220 4004755c /system/lib/libc.so
I/DEBUG ( 34): bed6a224 00000000
I/DEBUG ( 34): bed6a228 0000020c
I/DEBUG ( 34): bed6a22c 49622e39 /data/data/com.adobe.air/lib/libCore.
so
I/DEBUG ( 34): bed6a230 4084ee67 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a234 4001df37 /system/lib/libc.so
I/DEBUG ( 34): bed6a238 4086df90 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a23c bed6a44b [stack]
I/DEBUG ( 34): bed6a240 df0027ad
I/DEBUG ( 34): bed6a244 00000000
I/DEBUG ( 34): #00 bed6a248 00000038
I/DEBUG ( 34): bed6a24c 6c756e28
I/DEBUG ( 34): bed6a250 0000296c
I/DEBUG ( 34): bed6a254 00000000
I/DEBUG ( 34): bed6a258 00000000
I/DEBUG ( 34): bed6a25c 00000000
I/DEBUG ( 34): bed6a260 00000000
I/DEBUG ( 34): bed6a264 00000000
I/DEBUG ( 34): bed6a268 00000000
I/DEBUG ( 34): bed6a26c 00000000
I/DEBUG ( 34): bed6a270 00000000
I/DEBUG ( 34): bed6a274 00000000
I/DEBUG ( 34): bed6a278 00000000
I/DEBUG ( 34): bed6a27c 00000000
I/DEBUG ( 34): bed6a280 00000000
I/DEBUG ( 34): bed6a284 00000000
I/DEBUG ( 34): bed6a288 00000000
I/DEBUG ( 34): bed6a28c 00000000
I/DEBUG ( 34): bed6a290 00000000
I/DEBUG ( 34): bed6a294 00000000
I/DEBUG ( 34): bed6a298 00000000
I/DEBUG ( 34): bed6a29c 00000000
I/DEBUG ( 34): bed6a2a0 00000000
I/DEBUG ( 34): bed6a2a4 00000000
I/DEBUG ( 34): bed6a2a8 00000000
I/DEBUG ( 34): bed6a2ac 00000000
I/DEBUG ( 34): bed6a2b0 00000000
I/DEBUG ( 34): bed6a2b4 00000000
I/DEBUG ( 34): bed6a2b8 00000000
I/DEBUG ( 34): bed6a2bc 00000000
I/DEBUG ( 34): bed6a2c0 00000000
I/DEBUG ( 34): bed6a2c4 00000000
I/DEBUG ( 34): bed6a2c8 00000000
I/DEBUG ( 34): bed6a2cc 00000000
I/DEBUG ( 34): bed6a2d0 00000000
I/DEBUG ( 34): bed6a2d4 00000000
I/DEBUG ( 34): bed6a2d8 00000000
I/DEBUG ( 34): bed6a2dc 00000000
I/DEBUG ( 34): bed6a2e0 00000000
I/DEBUG ( 34): bed6a2e4 00000000
I/DEBUG ( 34): bed6a2e8 00000000
I/DEBUG ( 34): bed6a2ec 00000000
I/DEBUG ( 34): bed6a2f0 00000000
I/DEBUG ( 34): bed6a2f4 00000000
I/DEBUG ( 34): bed6a2f8 00000000
I/DEBUG ( 34): bed6a2fc 00000000
I/DEBUG ( 34): bed6a300 00000000
I/DEBUG ( 34): bed6a304 00000000
I/DEBUG ( 34): bed6a308 00000000
I/DEBUG ( 34): bed6a30c 00000000
I/DEBUG ( 34): bed6a310 00000000
I/DEBUG ( 34): bed6a314 00000000
I/DEBUG ( 34): bed6a318 00000000
I/DEBUG ( 34): bed6a31c 00000000
I/DEBUG ( 34): bed6a320 00000000
I/DEBUG ( 34): bed6a324 00000000
I/DEBUG ( 34): bed6a328 00000000
I/DEBUG ( 34): bed6a32c 00000000
I/DEBUG ( 34): bed6a330 00000000
I/DEBUG ( 34): bed6a334 00000000
I/DEBUG ( 34): bed6a338 00000000
I/DEBUG ( 34): bed6a33c 00000000
I/DEBUG ( 34): bed6a340 00000000
I/DEBUG ( 34): bed6a344 00000000
I/DEBUG ( 34): bed6a348 00000000
I/DEBUG ( 34): bed6a34c 00000000
I/DEBUG ( 34): bed6a350 00000000
I/DEBUG ( 34): bed6a354 00000000
I/DEBUG ( 34): bed6a358 00000000
I/DEBUG ( 34): bed6a35c 00000000
I/DEBUG ( 34): bed6a360 00000000
I/DEBUG ( 34): bed6a364 00000000
I/DEBUG ( 34): bed6a368 00000000
I/DEBUG ( 34): bed6a36c 00000000
I/DEBUG ( 34): bed6a370 00000000
I/DEBUG ( 34): bed6a374 00000000
I/DEBUG ( 34): bed6a378 00000000
I/DEBUG ( 34): bed6a37c 00000000
I/DEBUG ( 34): bed6a380 00000000
I/DEBUG ( 34): bed6a384 00000000
I/DEBUG ( 34): bed6a388 00000000
I/DEBUG ( 34): bed6a38c 00000000
I/DEBUG ( 34): bed6a390 00000000
I/DEBUG ( 34): bed6a394 00000000
I/DEBUG ( 34): bed6a398 00000000
I/DEBUG ( 34): bed6a39c 00000000
I/DEBUG ( 34): bed6a3a0 00000000
I/DEBUG ( 34): bed6a3a4 00000000
I/DEBUG ( 34): bed6a3a8 00000000
I/DEBUG ( 34): bed6a3ac 00000000
I/DEBUG ( 34): bed6a3b0 00000000
I/DEBUG ( 34): bed6a3b4 00000000
I/DEBUG ( 34): bed6a3b8 00000000
I/DEBUG ( 34): bed6a3bc 00000000
I/DEBUG ( 34): bed6a3c0 00000000
I/DEBUG ( 34): bed6a3c4 00000000
I/DEBUG ( 34): bed6a3c8 00000000
I/DEBUG ( 34): bed6a3cc 00000000
I/DEBUG ( 34): bed6a3d0 00000000
I/DEBUG ( 34): bed6a3d4 00000000
I/DEBUG ( 34): bed6a3d8 00000000
I/DEBUG ( 34): bed6a3dc 00000000
I/DEBUG ( 34): bed6a3e0 00000000
I/DEBUG ( 34): bed6a3e4 00000000
I/DEBUG ( 34): bed6a3e8 00000000
I/DEBUG ( 34): bed6a3ec 00000000
I/DEBUG ( 34): bed6a3f0 00000000
I/DEBUG ( 34): bed6a3f4 00000000
I/DEBUG ( 34): bed6a3f8 00000000
I/DEBUG ( 34): bed6a3fc 00000000
I/DEBUG ( 34): bed6a400 00000000
I/DEBUG ( 34): bed6a404 00000000
I/DEBUG ( 34): bed6a408 00000000
I/DEBUG ( 34): bed6a40c 00000000
I/DEBUG ( 34): bed6a410 00000000
I/DEBUG ( 34): bed6a414 00000000
I/DEBUG ( 34): bed6a418 00000000
I/DEBUG ( 34): bed6a41c 00000000
I/DEBUG ( 34): bed6a420 00000000
I/DEBUG ( 34): bed6a424 00000000
I/DEBUG ( 34): bed6a428 00000000
I/DEBUG ( 34): bed6a42c 00000000
I/DEBUG ( 34): bed6a430 00000000
I/DEBUG ( 34): bed6a434 00000000
I/DEBUG ( 34): bed6a438 00000000
I/DEBUG ( 34): bed6a43c 00000000
I/DEBUG ( 34): bed6a440 00000000
I/DEBUG ( 34): bed6a444 00000000
I/DEBUG ( 34): bed6a448 00000000
I/DEBUG ( 34): bed6a44c 342b19f5
I/DEBUG ( 34): bed6a450 00000000
I/DEBUG ( 34): bed6a454 4086df90 /system/lib/libdvm.so
I/DEBUG ( 34): bed6a458 5d500031
I/DEBUG ( 34): bed6a45c 407ff873 /system/lib/libdvm.so
I/DEBUG ( 34): #01 bed6a460 bed6a54c [stack]
I/DEBUG ( 34): bed6a464 408001b5 /system/lib/libdvm.so
D/Zygote ( 37): Process 497 terminated by signal (11)
I/WindowManager( 84): WIN DEATH: Window{41462cb0 SurfaceView paused=false}
I/ActivityManager( 84): Process air.com.deloitte.helloWorld (pid 497) has died
W/ActivityManager( 84): Force removing ActivityRecord{41534258 air.com.deloitt
e.helloWorld/.AppEntry}: app died, no saved state
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10041, 0) failed with
errno -2
I/WindowManager( 84): WIN DEATH: Window{41590db8 SurfaceView paused=false}
I/WindowManager( 84): WIN DEATH: Window{4158b920 air.com.deloitte.helloWorld/a
ir.com.deloitte.helloWorld.AppEntry paused=false}
I/BootReceiver( 84): Copying /data/tombstones/tombstone_06 to DropBox (SYSTEM_
TOMBSTONE)
E/InputDispatcher( 84): Received spurious receive callback for unknown input c
hannel. fd=209, events=0x8
D/dalvikvm( 84): GC_FOR_ALLOC freed 928K, 13% free 11284K/12871K, paused 84ms
W/NetworkManagementSocketTagger( 84): setKernelCountSet(10009, 1) failed with
errno -2
D/dalvikvm( 84): GC_CONCURRENT freed 141K, 10% free 11601K/12871K, paused 6ms+
14ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 177K, 11% free 11552K/12871K, paused 128ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 128K, 10% free 11616K/12871K, paused 84ms
D/dalvikvm( 84): GC_FOR_ALLOC freed 427K, 12% free 11445K/12871K, paused 79ms
W/InputManagerService( 84): Got RemoteException sending setActive(false) notif
ication to pid 497 uid 10041
D/dalvikvm( 136): GC_FOR_ALLOC freed 5544K, 37% free 9812K/15495K, paused 47ms
D/dalvikvm( 179): GC_FOR_ALLOC freed 2416K, 21% free 17911K/22535K, paused 77ms
D/dalvikvm( 179): GC_FOR_ALLOC freed 659K, 17% free 18828K/22535K, paused 100ms
D/dalvikvm( 179): GC_CONCURRENT freed 941K, 12% free 19900K/22535K, paused 6ms+
20ms
D/dalvikvm( 179): GC_CONCURRENT freed 3259K, 18% free 18684K/22535K, paused 12m
s+23msI am not able to solve this yet. Is anybody else facing this this problem.
-
Any good Native extensions for iOS yet?
Hi,
I wonder if there are any usable native extensions around yet for iOS features?
I have only found these: http://www.adobe.com/devnet/air/native-extensions-for-air.html which seems to be mostly tech-demos (battery, network info etc). I thought at least in-app-purchases, Game Center support, iAds, alertbox etc should have been released by now?
Since I have no knowledge in objective-c I can't do it myself, but I would gladly pay for ANE-files that are usable in real projects.
/Karlhttp://code.google.com/p/flash-for-mobile/
qq讨论群:56892018
version for iphone and ipad https://github.com/lilili87222/admob-for-flash
this is a actionscript native extension for developer to ad advertisement to their air mobile application run on iphone or android.it very easy to use
admob for flash android this lib enable you to add admob ad to your flash air application to add native advertisement to your actionscript3 application you just need to do four step
1.replace D:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.1\lib\android\lib\resources\android-res.jar with android-res.jar
2. add this config to -app.xml
<android>
<manifestadditions><![CDATA[
<manifest android:installLocation="auto"> <uses-sdk android:targetSdkVersion="11"/> <uses-sdk android:minSdkVersion="8"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <application><!-- <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation"/> --> <activity android:name="com.google.ads.AdActivity?" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize |smallestScreenSize"/>
</application>
Unknown end tag for </manifest>
]]></manifestadditions>
</android>
3.add this config to -app.xml
<extensions>
<extensionid>so.cuo.ane.Admob</extensionid>
</extensions>
4. add code to your android air application like follow
test1(); private function test1():void { var admob:Admob=Admob.getInstance(); if(admob.isSupported){ admob.setUnitId(gid); admob.dispatcher.addEventListener(AdEvent?.onReceiveAd,this.adHandler); admob.dispatcher.addEventListener(AdEvent?.onFailedToReceiveAd,this.adHandler);
// admob.showRelation(AdMobAlignment?.ALIGN_BOTTOM,AdType?.BANNER);
admob.show(50,100,AdType?.BANNER);
}else{ trace("not support"); }
protected function adHandler(event:AdEvent?):void { trace("receive ad"); } -
We are planning to choose a new platform of our new convergent media device. Like to know whether we can develop our platform using Adobe AIR Native Extension for Linux OS?
I came to know that Adobe has subscription based suuport for developers. If that is the case we can purchase support for development assistance on Linux based AIR Native Extensions. What we need are the FRE libraries and C code to run the Native extensions on Linux. I had acces to AIR 3.0 for Linux sometime back. Unfortunately our project look some time to mature.
Please let us know about this so that we can base our plans on AIR/Linux native extensions.Four part Series, this is link to first part
http://quetwo.com/2011/10/31/creating-an-windows-air-native-extension-with-eclipse-part-1/
Another one
http://www.flexjunk.com/2011/11/30/developing-an-air-native-extension-for-osx-and-windows- in-c/
Hope those help.
Maybe you are looking for
-
I have problems to connect my iphone 6 with IOS 8.0.2 to my citroen c5.
My iphone 6 has problems to connect to my citron c5 via bluetooth. After several attempts I was able to pair the phone to the car but neither are the contacts from the phone accessible by the car nor is can I successfully create calls using the car.
-
Hi anyone knows which are these files, as I open them in Premiere? every time you import a video extension. avi in Premiere Pro CS5.5 I get an error adjustment
-
UWL - Administrator Page Giving Error when opened
Hello Experts, When I am trying to login to: System Administration --> System Configuration -->Universal Worklist & workflow --> Universal Worklist - Administration I get the following error message. Please note that this is happening only in Dev and
-
I lost my foto after upgrading to IOS 8.1
Please help!!!!... My Ipod crashed when installing IOS 8.1. After restoring my Ipod using ITunes, I lost all my 6000++ fotos!!! Please help me how to retrieve it...
-
IChat not connecting due to BT Vision?
Hi, I recently installed BT Vision into my home, since then my iChat video conferencing hasn't been able to make any connection!!! Any one out there with similar difficulities or any workaround? BT Vision streams video on demand using broadband to my