我想创建的android一个简单的HTTP服务器提供一些内容到客户端。 关于如何建立与服务器或使用任何现有的库任何建议?
I would like to create a simple http server in android for serving some content to a client. Any advise on how to build the server or use any existing library?
在此先感谢!
考虑这个: https://github.com/NanoHttpd/nanohttpd 。 非常小的,用Java编写的。我用它没有任何问题。
Consider this one: https://github.com/NanoHttpd/nanohttpd. Very small, written in Java. I used it without any problem.