I am working on a project in Android Studio. I was following a tutorial for Facebook Login for Android (https://developers.facebook.com/docs/facebook-login/android).
And To add the Facebook Login button, first, it had to be added in layout XML file with the full class name, com.facebook.widget.LoginButton. But I can't find it anywhere. I even tried with Double shift shortcut, still no success.
Am I doing something wrong? If yes, please guide me in right direction or if there is another alternative approach to add facebook login button.
Thanks.
Your link is specifically for Andoid platform. You need to login with code and interact with core module using interfacing but this is for Android only.
As we know LibGDX is cross platform game development framework so we have to write facebook specific code on all other platform.
Good news is someone already done for you, you've to use only with Apache License 2.0. Use gdx-facebook, A libGDX extension providing cross-platform support for Facebook Graph API.
LibGdx is cross platform game development platform and all supported platform under libGDX is not supporting .xml file. So you have 2 way:
(1) Using interface you can easily integrate facebook
(2) Use LibGDX's Facebook supported graph API.TomGril-LibGDX - facebook
Related
Am trying to integrate Touch Id for Hybrid Application, i have done with the iPhone(working) and now am stuck with android application.
Here is my query How can i achieve the Touch id integration with Android,
these are the sample links i tried to integrate,
https://www.npmjs.com/package/cordova-plugin-android-fingerprint-auth
https://www.ibm.com/developerworks/community/blogs/worklightsmobileplayground/entry/touchid_authentication_with_worklight?lang=en
Any idea how to proceed further.
I'd suggest trying the sample application that is referenced in the documentation here: https://www.ibm.com/support/knowledgecenter/SSHS8R_7.1.0/com.ibm.worklight.dev.doc/devref/t_setting_up_touch_id_jsonstore.html
It's not a complete project, but can be added to an existing Hybrid or iOS native application. Please give it a try and let us know if you have difficulties with with.
I'm currently working on an app that requires match data from tinder but I have never worked with API's before and I'm not too sure how it works. I found some projects on github using the tinder api which I will link at the end there are just some parts that confuse me. Firstly all of the files are in python so is there a way I can implement that in a java file in android studio? Also it says that facebook authentication is required for the api to work so would having the user log into the app with facebook solve that issue?
https://github.com/fbessez/Tinder
When I show the Share or Send Request dialog from my Unity app on Android, they seem to be cut off at the top.
There is a question about exactly the same issue using the regular (Java) Facebook Android SDK: Dialog on Android KitKat seems to be cut, but all of the solutions there require direct access to the Java classes.
Has anyone seen this issue with the Facebook Unity SDK? Is there a way to fix this, apart from using the Java SDK instead of the Unity SDK?
I'm using Unity 4.6.3 and version 6.2.2 of the SDK.
I have an existing Android app which I am trying to advertise via Facebook ads. Facebook said I must integrate their library into my app, starting with downloading their SDK.
When I downloaded their SDK from here: http://developers.facebook.com/android/ there was no .jar files in it but examples of apps using their classes.
I think for my purposes I just need to make a call to Facebook when my app starts up, right? Because I don't want any Facebook functionality. I just want to be able to intgrate enough to b able to advertise in their system.
Could anyone please help me understand what I need to do?
Should I just copy all the classes in their Facebook/com/src folder into my own project? And if so, where do I add the access key and secret key for my Facebook app into my Android app?
Thanks!
- Alex
The Facebook SDK is not a simple jar file, but is instead an Android Library. If you're using eclipse, you need to import the SDK into your workspace, and add it as a library to your project.
See the google docs on how to add a library http://developer.android.com/tools/projects/projects-eclipse.html
And also the Facebook SDK Getting Started guide https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
I am just learning application development using Android platform. I want to know how if we post something in twitter app will go to twitter..how do they integrate these two ?
Thanks,
Ananth.
Android webkit webview..
There is a small example in samples in the SDK
You can also consider using this