Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
webview
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
webview
Commits
1141d137
Unverified
Commit
1141d137
authored
Sep 11, 2018
by
Max
Committed by
GitHub
Sep 11, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update readme
parent
290bcbbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
1141d137
...
...
@@ -10,14 +10,14 @@ If you want to create an app that displays the contents of a remote website
1.
uncomment lines
**30**
and
**31**
in
`MainActivity.java`
and replace
`http://example.com`
with your remote source
```
```
java
mWebView.loadUrl("http://example.com");
mWebView.setWebViewClient(new MyWebViewClient());
```
2.
open the
`MyWebViewClient.java`
file and replace
`example.com`
on line
**12**
with your custom hostname
```
```
java
if (Uri.parse(url).getHost().endsWith("example.com")) {
```
...
...
@@ -27,7 +27,7 @@ If you want to create a local HTML5 android app
1.
uncomment line
**34**
in
`MainActivity.java`
```
```
java
mWebView.loadUrl("file:///android_asset/index.html");
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment