I have some games in html5.
Previously I tried embedded them in a webview but it did not work because the games don't work offline.
Then I saw that possibility.
https://www.b4x.com/android/forum/threads/embed-an-http-server-in-your-android-application.25984/
I make an app that is at the same time http server and uses a webview to run the games.
I tested. it works.
I have some doubts. What are the cons of having a server and an app consuming a page at the same time?
Slow? Battery consumption?
What are the security risks for the user? to have a server embedded ?
Thanks for your comments.
Previously I tried embedded them in a webview but it did not work because the games don't work offline.
Then I saw that possibility.
https://www.b4x.com/android/forum/threads/embed-an-http-server-in-your-android-application.25984/
I make an app that is at the same time http server and uses a webview to run the games.
I tested. it works.
I have some doubts. What are the cons of having a server and an app consuming a page at the same time?
Slow? Battery consumption?
What are the security risks for the user? to have a server embedded ?
Thanks for your comments.