I use a WebView
in my app. When the app is not connected to the internet I want to serve the site locally. I was able to build the APK
and install the
Android does not ship with a PHP
server. Therefore for all common intents and purposes, it is not possible to serve a .php
file locally.
You would need to rewrite your offline page to function without any PHP
code.
I assume the CSS
you refer to is also part of the PHP
include and therefore is not loading for the same reason.