I'm returning to using app inventor after taking quite some time off from it, so pardon me if my question is obvious.
Is it possible to have 2 separate apps made with app inventor share files with each other? Particularly if using Android 11 and once the changes to file storage scope are put into full effect?
I had been work on 2 separate apps, that are both quite large.
-The first communicates with an arduino and controls a 2 axis cnc via bluetooth.
-The second one is in progress and will hopefully produce a sort of gcode and store them in separate files.
I'd like to have the first app be able to interpret files produced by the second.
I'm not sure what a good strategy would be to go about this.
Thank you for any guidance.
edit:
You can see the first app in action in this video on youtube: Auto Table Saw Fence
@Rich_Want
Hi if you want make file sharing app
I would strongly recommend using FTP with a DNS server.
It can be easily made with something like 000webhost.com etc...
Thought there might be a gotcha in there somewhere.
What do you have that is different in your setup, that demonstrated the difference. I used an Android 11 device in testing, with companion? Do I test compiled ?
And what reason should there be to save in the (root dir of) external storage?
To give file access to the second app - it would not have access to the ASD of the first app.
that new methods of recording and reading by Medistore are needed, which are built into Android. I think that components saving files and reading will have to be modified, or we will need to use some extension.
But here can read that Android will bring the correction and it will be easier
So I think you have to wait until Android will introduce amendments and MIT target AI2 on API30. Then everything will be clear.
Honestly, I still do not understand it. So what can you do to read the files we recorded in a different application as you can do it in Android 9? Ask for a new permission that will enable this and use system selector?
I am off to do something analog on my 60 year old car, nothing digital in sight, no confusing updates, all I need is a small light bulb and two pieces of wire
Yes, the constant updates and tightening of storage usage are really irritating and annoying.
The user comments on Scoped Storage on YouTube say the rest.
I really appreciate you all taking the time to answer my question. Thank you Anke, TIMAI2, Patryk_F and PRATY_PROGRAMME_S_LA.
I'm glad I'm not the only one that has been confused by how this will work in the near future. I think for now I will simply do as TIMAI2 suggested and if / when my apps break, come up with a system using google drive to save and retrieve files, though I'd like this system not to have to rely on wifi if possible. Hopefully we will have a better idea soon of how how to approach this using ai2.