N
N
Nikolai2019-11-02 06:44:49
Android
Nikolai, 2019-11-02 06:44:49

How to "embed" offline html in webwiev for android?

Greetings! Seems like a simple thing, but still. There is an application on webwiev and I want to make it so that an offline page from the application itself is displayed at startup. To do this, I prepared a full-fledged landing, but I can’t figure out how to write the path to index.html for webwiev

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
grinat, 2019-11-06
@grinat

In webview file:///android_asset/landos.html Project
path YourProject/app/src/main/assets/landos.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question