Comments (6)
Are you also using AccountKit ANE? You do not need to patch the SDK if you are using only AIRFacebook.
Show me the list of ANEs that you are including in your app.
from airfacebook-ane.
Apart from your anes, I am using my own ANE which includes android-support-v13.jar. Is this causing the problem? If yes, how can I solve it?
from airfacebook-ane.
I need to know exactly what ANEs you're using, even if they're mine.
android-support-v13 library shouldn't cause a problem.
from airfacebook-ane.
You misunderstood my reply. I said I am using following ANEs:
- TWShare.ane
- com.marpies.ane.facebook.ane
That's it. You know TWShare.ane? This ANE was created by me, myself. I have used android-support-v13.jar in it. I included android-support-v13.jar while building the ANE.
I rebuilt my TWShare.ane by removing android-support-v13.jar from it as it's included in your facebook.ane, then it compiled without any error. Thank you for this reply.
Can you tell me how can I provide EventListeners to AIRFacebook.init() function if I am writing my action script code in conventional timeline method. I am not using ActionScript classes.
Thank you.
from airfacebook-ane.
Android-support-v13.jar is not included in com.marpies.ane.facebook.ane. Android-support-v4.jar is included in com.marpies.ane.androidsupport.ane. If you need v13 then use that but do not include my support ANE.
You said you replaced your adt.jar and runtimeclasses.jar but it's only required for AccountKit ANE. You should use default AIR SDK files with this Facebook ANE.
If you're not using classes then use the traditional event system:
AIRFacebook.addEventListener( AIRFacebookCachedAccessTokenEvent.RESULT, onCachedAccessTokenResult );
AIRFacebook.addEventListener( AIRFacebookBasicUserProfileEvent.PROFILE_READY, onBasicUserProfileReady );
AIRFacebook.addEventListener( AIRFacebookEvent.SDK_INIT, onFacebookSDKInit );
AIRFacebook.init( ... );
function onFacebookSDKInit( event:AIRFacebookEvent ):void {
AIRFacebook.removeEventListener( AIRFacebookEvent.SDK_INIT, onFacebookSDKInit );
}
function onCachedAccessTokenResult( event:AIRFacebookCachedAccessTokenEvent ):void {
AIRFacebook.removeEventListener( AIRFacebookCachedAccessTokenEvent.RESULT, onCachedAccessTokenResult );
}
function onBasicUserProfileReady( event:AIRFacebookBasicUserProfileEvent ):void {
AIRFacebook.removeEventListener( AIRFacebookBasicUserProfileEvent.PROFILE_READY, onBasicUserProfileReady );
trace( event.basicUserProfile );
}
from airfacebook-ane.
You are right. facebook.ane has android-supportv4.jar. TWShare.ane was bundled with android-support.v13 and this in-turn contains v4 also. So, it worked if I remove support-v13.jar from TWShare.ane.
Yes, I didn't repace adt.jar and runtimeclasses.jar after you replied to the first question.
And thanks a lot for traditional code method example.
from airfacebook-ane.
Related Issues (9)
- JSON parse issue with ar-AE locale HOT 1
- AIR 24, Invoke Handler Issue HOT 2
- java.lang.NoSuchMethodError: No virtual method launchUrl HOT 2
- Facebook 1.5.0 and Android Support 25.2.0 are not compatible with Android 4.x HOT 13
- Don't work in OS 10 / IPhone 5 HOT 1
- IOS 10 : login with app never return
- Flash Builder4.7(64 bit) Show error during Building project HOT 1
- i taken this message. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airfacebook-ane.