Guys, this was a great help thank you. The following code worked:
PrintWriter save = new PrintWriter(myExternalFile);
save.println(Arrays.toString(array));
save.close();
Type: Posts; User: baseball07
Guys, this was a great help thank you. The following code worked:
PrintWriter save = new PrintWriter(myExternalFile);
save.println(Arrays.toString(array));
save.close();
Ok thanks, actually I had used: fos.write(array); in my initial post and it resulted in a series of "?". This is a test code, however I will design a test code which executes on the desktop to see...
Thanks for all the suggestions, I actually have done that initially (converted bytes to String) and still did not come out as numbers, which is what prompted my initial post. When I convert to String...
I am able to create a text file and save it to the external storage on the device. I use the file explorer on the device to locate and open the file. I updated the original post with this...
Hi, I am having trouble implementing FileOutputStream to save an array of data. In this code, I implement a loop which counts to 9, stores the counter values in a byte array, then writes the array...