If you are new to Javascript, go with Titanium. This is a very good structure that turns your JavaScript code into a complete one. All your Javascript code, and there is a set of very useful APIs like Facebook one .
Otherwise, if you like Java, the best alternative is to switch to native. There is an official official Facebook SDK for Android .
If you have further questions about "Web vs Native", you can find the answers here and here .
source share