我可以使用Facebook SDK为Android登录Facebook和获取用户信息。在做这一切的code是在的src / com.name / MainActivity.java
。
I can use the Facebook SDK for Android to login with Facebook and get user information. When doing this all of the code is in src/com.name/MainActivity.java
.
但在使用工作灯的时候,我的一切code是在工作灯,现在,在入资产/ WWW /默认
并没有在MainActivity.java。
But when using Worklight, everything I code is in Worklight now, in assest/www/default
and nothing in MainActivity.java.
我的问题是,如果我使用Facebook的SDK中MainActivity.java我该如何使用,在工作灯应用程序?
My question is, if I've used the Facebook SDK in MainActivity.java how can I use that in the Worklight app?
首先请熟悉的在工作灯(具体而言,这个培训模块和样本应用)。
First please familiarize yourself with creating Cordova plug-ins in Worklight (specifically, this training module and sample app).
这就是你应该如何融入你的母语code的工作灯的应用程序,通过使用一个科尔多瓦插件。
That's how you should integrate your native code in a Worklight app, by using a Cordova plug-in.
另外,还有href="https://github.com/phonegap/phonegap-facebook-plugin" rel="nofollow">的
上一篇:空手道测试框架中是否提供数值比较?空手道、数值、框架、测试
下一篇:Net::ReadTimeout (Net::ReadTimeout) Selenium RubyReadTimeout、Net、Ruby、Selenium