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
.
But when using Worklight, everything I code is in Worklight now, in assest/www/default
and nothing in MainActivity.java.
My question is, if I've used the Facebook SDK in MainActivity.java how can I use that in the Worklight app?