Is there a path similar to file:///android_asset/ that points to the apps directory?
I'm using a WebView to open some files saved to the app. Is there a way to link to the app's directory where files saved at runtime would be, in a similar way that file:///android_asset/ does? By link I mean loadUrl( *path* ) and also in the HTML markup of the file being opened <img src="*path*" /> As oppose to using an absolute path like file:///data/data/PACKAGENAME/files/ gregm Use this for files on the SD card: content://com.android.htmlfileprovider Use this for files in your assets directory: file:///android_asset Also, if you want to have all your references in your web view use that