android - How can you read boolean array from OutputStreamWriter? -


public void writearraytofile() {     try {         outputstreamwriter outputstreamwriter = new outputstreamwriter(openfileoutput("array.txt", context.mode_private));         outputstreamwriter.write(arrays.tostring(array));         outputstreamwriter.close();     } catch (ioexception e) {         log.v("myactivity", e.tostring());     } } 

i think i've found how write array file, still not know how read one. can show me how works?


Comments

Popular posts from this blog

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -