我想在把大的js、css、静态html放在安卓apk包里,然后能展示指定的html、执行html里离线的js,有例子吗?
PHP中文网2017-04-18 09:16:17
Yes, you can put the file in the asset folder, and then set up a WebView in the Activity with the URL pointing to the stored file. Hybrid development is to write the HTML page, then obtain the data from the background, and then fill the data into the prepared HTML through JSBridge.