Connect SDK: share local image
问题 I use Connect-SDK-Android-API-Sampler and share an image into a TV using mediaURL "www.example.com/image.jpg". How I could share my local image from device? 回答1: A solution of my problem is Web Server. I used a NanoHTTPD library. public class WebServer extends NanoHTTPD { private int port; public WebServer(int port) { super(port); this.port = port; } @Override public Response serve(IHTTPSession session) { Method method = session.getMethod(); switch (method) { case GET: String path = session