开发者

Facebook tutorial help from a website

开发者 https://www.devze.com 2023-03-30 02:35 出处:网络
Hel开发者_开发知识库p. Recently I got a facebook connect tutorial from web http://www.mobisoftinfotech.com/blog/tag/android-fbconnect-tutorial/.

Hel开发者_开发知识库p. 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号