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
Post a Comment