I need to run web server on Android on app start. Server should start on http://localhost:3000 (for example). Server should use index page from app files folder. Path, for example: data/user/0/app/package/name/files/etc/.../index.html. So, when WebView in Application will trying to open http://localhost:3000 - user will see content of index.html. Server availability for other applications is not required. I planed to use http4k, it's well documented library, but I cannot find way to implement feature like this. But the choice of library is not really important.
Maybe someone already had experience with it?
Aucun commentaire:
Enregistrer un commentaire