I have an Android Activity with WebView in it.
I have all my HTML, CSS and JavaScript files in assets folder.
I can run the index.html from assets in my WebView but it doesn't work correctly.
What I need is a VERY simple HTTP server running in that directory.
How can I do that?
Basically as simple as this:
SimpleHTTPServer running on a mac.
$ cd /home/somedir
$ python -m SimpleHTTPServer
If it can't be assets directory, I can use any directory as long as I can set it.
any ideas?
thank you!
=================================
EDIT
what I mean by "it doesn't work correctly" is that the index.html and other assets files make AJAX calls and to view the HTML correctly with the calls, there needs to be a local HTTP server running on that directory.