Help. Recently I got a facebook connect tutorial from web http://www.mobisoftinfotech.com/blog/tag/android-fbconnect-tutorial/ .
The tutorial says I have to compile facebook API into a jar file and then import the jar file to the sample.
What about if I just want to use the code in the API? How to incorporate files in one project to another?
In eclipse, is there a way so that one project would "require" file from another project?
You could just insert Facebook API as another package under src folder. I did this way and it works perfectly.
Create a project for the FB library.
In Android go to the Project-> Properties -> Android, and click on IsLibrary under the Libraries section.
Now in your own project, go to Project ->Properties ->Android and add the FB Library to your project Libraries.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.