Skip to content

Commit 534d6e0

Browse files
committed
Update README.md
1 parent b6d5538 commit 534d6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ You can choose to build and install one or all of the following apk targets and
5656
Details on how to build below.
5757

5858
### Asset and Resource URLs
59-
Note: `android_webview` supports Android asset/res urls like `file:///android_asset` and `file:///android_res` but `content-shell` and `testshell` do not. It isn't a herculean effort to work around it, however. `android-webview` includs a simple file in `assets/asset_file.html` that you can load when you launch the app. Just put in the url: `file:///android_asset/asset_file.html` and it will display as expected.
59+
Note: `android_webview` supports Android asset/res urls like `file:///android_asset` and `file:///android_res` but `content-shell` and `testshell` do not. `android-webview` includs a simple file in `assets/asset_file.html` that you can load when you launch the app. Just put in the url: `file:///android_asset/asset_file.html` and it will display as expected. For `content-shell`/`testshell`, you can easily unzip or copy web resources from the assets folder to the app's data folder, and then load the url from an absolute file path, e.g. `file:///data/data/{package-name}/files/index.html`. Or you can see how it is implemented in `android-webview` and port it over to the other projects.
6060

6161
## What Do I Do With This
6262

0 commit comments

Comments
 (0)