$ ifconfig
This is a utility used by system administrators to display and analyze network interface parameters. Result should display like the image below.
The ip address of the laptop is at the wlan0 which is 192.168.1.35. We may have different results depending on how many devices connected on wifi. You may have something like 192.168.1.xx. So on your test device, try changing the localhost to your ip address.
WebView webview = (WebView) findViewById(R.id.webview);
webview.setWebViewClient(new WebViewClient());
webview.loadUrl("http://192.168.1.35/drupal/");
Thanks to this post at StackOverflow.

