Is there any way to access a file of android phone's sd card from desktop? I wrote an application, where there is a file named video.mp4 in /mnt/sdcard/. I have started a nanohttp server(http) when the activity started, which working directory is /mnt/sdcard. So why i can't access 'protocol://x.x.x.x:port/video.mp4' from vlc player?? I successfully checked this in apache web server. My application have read/write permission to external storage.
private class MyHTTPD extends NanoHTTPD {
public MyHTTPD() throws IOException {
super(PORT, Environment.getExternalStorageDirectory());
}
.......
.......
}