I am throwing HTML to a webview to render. In the HTML I need to load an image that I have in /res/drawable
.
I have /res/drawable/my_image.png
You load the drawables like you would anywhere else in your code... http://developer.android.com/guide/topics/resources/drawable-resource.html
Resources res = getResources();
Drawable drawable = res.getDrawable(R.drawable.myimage);
also @MikeNereson using Android, you can only directly access raw files that are located in the assets directory and SDCard.