I’m trying to create a new android test project with CCGetsocial, I hadn’t done that for a while and i just can’t get through it at the moment, here is what I do:
I clone CCSocialNetwork in the extension directory of your cocos2d-x installation
go to cocos2d-x/tools/project-creator
create a new test project for CCSocialNetwork using the create_project.py
~~ Start Eclipse and go to File\New\Other. Choose create Android\Android Project with existing code
select /Users/xxxx/cocos2d-x/extensions/CCSocialNetwork as root directory
now i’m in the situation where the test project is missing org.cocos2dx.lib.
so I try to get back to the CCGetsocial documentation and to do this:
Import cocos2d-x Library:
3.1 File > Import > Android > Existing…
3.2 Select $COCOS2d-2.1-rc0-x-2.1.2>cocos2dx/platform/android/java [A project named “java” will be see in workspace]
3.3 Ok
but when i select /Users/xxxx/cocos2d-x/cocos2dx/platform/android, i can’t do next. there is a “-” sign on the project to import “java” line.
1º Are you sure you need create a new project with create_project.py? You cannot just import mine? Could you try skipping this step?
2º I edit NDK_ROOT too in build_native.sh
3º What message you get when you try to press next? If you a project already imported on a workplaces, you cannot import it again!
Of course use Social, it is for iOS 6, must use it. We are not going to improve the code with token or session. It is not needed on iOS6, it take the device´s session of fFacebook and Twitter automatically.
Of course use Social, it is for iOS 6, must use it. We are not going to improve the code with token or session. It is not needed on iOS6, it take the device´s session of fFacebook and Twitter automatically.
The postFB with Social framework in IOS 6 is post by self FB account not using own application and not authorize the application.
The postFB with Social framework in IOS 6 is post by self FB account not using own application and not authorize the application.
Yeap, it’s true. With this version, it’s impossible to post using the application’s account giving it the corresponding authorization.
Some time ago, we had a version of this sample project that was able to ask for the corresponding authorization and post directly through the application, but we had some annoying bugs that we couldn’t resolve. That’s why, we started over and developed this version and currently that function is not implemented. Now, we are finishing other aspects of our game that there are not related with this; but we wanted to post it to improve it with the help of the community. This is not a final version that is able to do all kind of social things, but it can be the starting point of something bigger.
I think that a lot of developers must have this problem resolved, but no one has published it
Dear Pipero,
Let me ask you one question…all this for just to post the scores to Facebook/Twitter/Google+ etc?.
I have implemented this features(to post Quotes to Social networks) in some of my apps( https://play.google.com/store/apps/developer?id=zuHa )
Can you please go through facebook post features in any of these apps? if you need the same feature i can give u the code… its nothing but just pass score as arguments through the FB/Twitter urls…
`franck: Android is not working right now. If someone help me with the problem calling IsInternetConnection, I will continue with Android integration. I have not enought free time to continue thinking what is going on this month.
`Real Zapster: Thanks for you offer. I have tested 2 of your Apps but is not I looking for. You app open browser and it have interaction with your Facebook App. I prefer to use Facebook directly using the SDK. My problem is about JNI calls.
It´s a problem with the JNI call. I don´t know why, when I use the Static call which return a boolean, I get a SIGBUS exception. I have no time now to look for the problem, I will do it in the future.
Yes, I get the correct return value, true if is correct, or false if the tablet is in flymode, but then the app crash with a SIGBUS exception, or Signal 11 if I change some lines.
Wish I could help on that, but i’m quite clueless about java and android (donno if it’s because my old Samsung Y or because of the crappy Eclipse enviroment, but it takes me ages to run a simple test. )
there is this tutorial, with a very nice java package, for android + twitter:
I went quite far using it, but i couldn’t make it work correctly inside cocos2d-x.