Android Saving Files

Previous topic - Next topic

MrPlow

Hi
did anyone have success saving and finding files on android lately?
I cannot seem to get the app to save into Media folder or elsewhere?
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

Kitty Hello

Media is protected. You should save to PLATFORMINFO$("APPDATA").
You need the request the permissions. Seach for "android permission" on this forum. There is a function somewhere.
See my BlueTooth Printer project, it requests them.

MrPlow

Thanks Gernot
Ideally I would want the image saved to Gallery on the Android device...but if that's not possible then knowing where to find the image is key...
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

spacefractal

its require a permission from the user as Media folder is procected and then also return its path if you get granted.

This require some added java code in requestPermission java code and then return a path rather than "1" or "0".

Im have no plans to do that currectly.
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation - The beagle Jam - Cave Heroes 2023 - https://spacefractal.itch.io/