I am still quite a novice in building apps so hopefully I have described my problem with enough detail and supplied enough supporting information.
I am trying to write some user collected data to a file on the mobile device and then read this data in a different app. I have read a number of posts and tried to make them work but without any success.
I have attached my "Send File" and my "Receive File".
ReceiveDataTest.aia (2.8 KB)
SendDataTest.aia (4.6 KB)
The files is created and stored on the device at /storage/emulated/0/EventData.txt. I can see the file on the device using the file manager and the data does change when I send new data. The receiving file displays the error 2101: the file storage/emulated/0/EventData.txt could not be found.
I have tried adding // or /// to the front of the filename but without success. I have also tried putting the whole path into the filename but without success.
I have also tried changing the default scope of the File component to shared and read/write permissions enabled again without success.
I am trying to get this to work as I plan to integrate it into a more complex set of apps.
Can anyone help me out?