Search:

Type: Posts; User: baseball07

Search: Search took 0.18 seconds.

  1. Re: Using FileOutputStream to save array of bytes

    Guys, this was a great help thank you. The following code worked:




    PrintWriter save = new PrintWriter(myExternalFile);
    save.println(Arrays.toString(array));
    save.close();
  2. Re: Using FileOutputStream to save array of bytes

    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...
  3. Re: Using FileOutputStream to save array of bytes

    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...
  4. Re: Using FileOutputStream to save array of bytes

    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...
  5. Using FileOutputStream to save array of bytes

    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...
Results 1 to 5 of 5