Read a file generated by another sketch

I have one sketch which writes a file in its directory.
Some time later, I run another sketch which needs the data from this file.
Today I pass the data between these two sketches manually.
How can the second sketch read the file from the first sketch directly?
Can this file be stored and read using an absolute path?
Thanks for any idea.

1 Like

Yes and yes, please look in the gallery section for filewriter android. It should have enough explanations there to get you going.

Thank you.
Since I did not find any clear example for writing and reading to/from a file using an absolute path (in Android) I bypassed the problem by using the clipboard to pass data between different sketches. This method is working perfectly.

Thank you for trying to help.

1 Like