I am using drawables in src for tag in webview would this work?
mWebView.loadDataWithBaseURL("","<table width=\"100%\"><tr><td style=\"text-
align:center; background-color:grey;\"><img src=\""+R.id.button+"\"/></td></tr>
</table>"+Question, "text/html", "utf-8", "");
Absolutely not. HTML expects URLs for images. Not to mention that you are specifying a widget ID, not a drawable resource.
Perhaps your device is older — one answer on the question that Mr. Clayson linked to suggests that
file:///android_res/URLs only work on Android 2.2 and higher.However, the
android.resourcescheme has been around longer:android.resource://[package]/[res type]/[res name]e.g.:
android.resource://this.is.my.package/drawable/buttonI have not tried this in
WebView, but it is worth a shot.