在执行时accessFile=new RandomAccessFile(file,"rwd"),出现了异常
java.io.FileNotFoundException: /storage/13FA-3105/downloads/kugou_8.0.9.17976_setup_11798_BDdl.exe: open failed: ENOENT (No such file or directory)
肿么办,求大神
java.io.FileNotFoundException: /storage/13FA-3105/downloads/kugou_8.0.9.17976_setup_11798_BDdl.exe: open failed: ENOENT (No such file or directory)
肿么办,求大神
2016-02-08
对更新UI做了一点点优化,老师的例子中,500毫秒发送一次广播,如果在发送了99之后,500毫秒内下载完成了,循环就会终止,100就不会发出去,导致进度条卡在99的地方。 我的解决办法是广播发送不延迟,而在更新UI的时候每隔500毫秒更新一次,所以避免了这个问题。
2015-12-16