我正在使用VideoView播放视频文件。现在我想停止当前播放视频并播放另一个视频文件..我用过 videoview.stopPlayback(); 然后为该视频视频设置新的URI并开始播放但是“正在获取
”java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.prepare()
at android.os.Handler.<init>(Handler.java:121)
at android.widget.Toast$TN.<init>(Toast.java:322)
at android.widget.Toast.<init>(Toast.java:91)
at android.widget.Toast.makeText(Toast.java:238)
at com.network.video.player.MainVideoActivity.PlayNext_Video(MainVideoActivity.java:451)
at com.network.video.player.ConnectToServer$HandleClientThread.Delete_file(ConnectToServer.jav a:117)
at com.network.video.player.ConnectToServer$HandleClientThread.run(ConnectToServer.java:245)
at java.lang.Thread.run(Thread.java:856)
有谁知道如何停止当前视频&amp;在android中播放新的视频文件??