write (byte[] buffer, int offset, int count)
Writes count bytes from the byte array buffer starting at position offset to this stream.
1. Create a new FileOutputStream saved to myOutputStream with the FileOutStream below. Replace mypackagename with your package name.
"/data/data/mypackagename/mySQLiteDatabase.db"
"/data/data/mypackagename/mySQLiteDatabase.db"
2. Declare and Set an Byte Array named myByteArray and set to 1024.
try {
myOutputStream.write(myByteArray, 0, 3);
} catch (IOException e) {
e.printStackTrace();
}
} catch (IOException e) {
e.printStackTrace();
}
