We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi to all...I would like to write some file on my smartphone and see it when I link it to my own PC. I read this topic and i use the same example (http://forum.processing.org/one/topic/file-saving-to-flash-memory-and-or-sd-card.html):
String[] myarray = {"one", "two", "three","four"}; // the array to be saved
saveStrings("//sdcard/myarray.txt", myarray); // save to SD card
but when I link my SmartPhone with an USB cable to my PC I didn't see the file. But if I use the library select folderI (http://pif.github.io/android-select-file/#examples) I can see it. What's wrong? thank you in advance
Answers
Did you set the app permissions in the 'Android' menu in Processing? You need to check 'WRITE_EXTERNAL_STORAGE' to be able to save.
yes i do it...infact through my phone I can see the saved file but if I link the smartphone with USB cable it seems that the file doesn't exist