public class OpenExe extends HttpServlet { //打开本地播放器并播放视频 public static void openExe(String file) { Runtime rn = Runtime.getRuntime(); Process p = null; try { p = rn.exec("D:/The entertainment software/QvodPlayer/QvodPlayer.exe "+file); } catch
Android MediaPlayer 播放assets 文件夹下面的视频报错 报下面的错: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed 调用办法是: AssetFileDescriptor afd = getResources().getAssets().openFd("input.avi");mediaPlayer