Hi, I'm having some trouble coding the reset button on my app.
So the app is to collect sensor data over bluetooth which can then be saved into the internal storage section as an csv. The app is overall functioning and able to collect data and able to save the file. However, when I press the reset button, everything seems to reset except for the creation of a file in the internal storage. I get the error that the file cannot be created. The settings is fine if I exit the app and reconnect the bluetooth, but I want to be able take a new reading and save it as a new file when I click the reset button.
I wasn't able to find a similar topic in the Help section, but if there is, please forward it on. Any help is highly appreciated.
These are the block I've used to save the file: