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

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -