I want to display like button in my android application. Below is the code I use to display a Like button in my android application.
String url = \"http://w
Try this one i made some modification
String url = "http://www.facebook.com/plugins/like.php?layout=standard&show_faces=true&width=80&height=50&action=like&colorscheme=light&href=http://beta.demo.dy/web/service/304.htm";
// webview = (WebView) findViewById(R.id.webview);
webView.loadUrl(url);
webView.setWebViewClient(new WebViewClient());
class LikeWebviewClient extends WebViewClient
{
public boolean shouldOverrideUrlLoading(WebView view, String url) {
view.loadUrl(url);
return true;
}
}