[android]SDcardからファイルの読み込み操作を行い、中国語と数字を含む
SDcardから中国語を含むファイルを読み込む必要がある場合、バイト定義はbyte buffbyte=new byte[1024]、通常はbyte[20]とすればよい.
FileInputStream fin = null ;
BufferedInputStream buffin = null ;
try{
fin = openFileInput(MUSICFILE) ;
buffin = new BufferedInputStream(fin) ;
DataInputStream dis = new DataInputStream(fin) ;
int length = dis.available() ;
byte[] buffbyte = new byte[length] ;//
}
buffin.close() ;
}catch(Exception e){
e.printStackTrace() ;
}