コードは非常にシンプルで実用的です。
Android.io.io.io.io.file int buffer_size = prive int startposition; boolean destory; file = startposition = startposition = endposition; null; (range "、" bytes = " + startposition +" + endposity); (「Accept-Language」、「Zh-CN」); 4.0; " +" .NET CLR 3.04506.30; JavaはFOS = new randomAccessfile( "rw")を設定します読み取りおよび書き込みファイル(2000);} int len = bis.read(buffer_size); ; Curposition = Curposity + Len; = " + len); finited = true; bis.close(); fos.close();} catch(exception e){e.printstacktrace();}} public boolean isstate(){return state;} public v oid setState(boolean state){this .state = state;} public boolean isfinished(){return finisht;} public int getdownloadsize(){return doubledsize;} public voidlo adsize(int doubleadsize){this.downloadsize = downloadsize;}}}}}}}}上記は、この記事のすべての内容です。