Skip to content

Instantly share code, notes, and snippets.

@xiejianchao
xiejianchao / .java
Last active April 23, 2019 14:52
Create Http Server In Android Using Nanohttpd
package com.github.httpserver;
import android.content.Context;
import android.support.annotation.NonNull;
import android.util.Log;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.Iterator;