Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davisford committed Nov 11, 2013
1 parent b6d5538 commit 534d6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can choose to build and install one or all of the following apk targets and
Details on how to build below.

### Asset and Resource URLs
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.
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.

## What Do I Do With This

Expand Down

0 comments on commit 534d6e0

Please sign in to comment.