Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
*NEW*
Current Version on
STEAM
:
16.026
Logfile:
EN
,
DE
Webchat:
Visit the chat
Home
Help
Search
Login
Register
GLBasic forum
»
Main forum
»
GLBasic - en
»
Android Saving Files
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Android Saving Files (Read 267 times)
MrPlow
Prof. Inline
Posts: 1744
Android Saving Files
«
on:
2020-Oct-15 »
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?
Logged
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs
Kitty Hello
code monkey
Administrator
Prof. Inline
Posts: 10760
here on my island the sea says 'hello'
Re: Android Saving Files
«
Reply #1 on:
2020-Oct-17 »
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.
Logged
MrPlow
Prof. Inline
Posts: 1744
Re: Android Saving Files
«
Reply #2 on:
2020-Oct-17 »
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...
Logged
Comp:
Speccy-48k, Speccy-128k, Amigas, PCs
spacefractal
Community Developer
Prof. Inline
Posts: 3930
Re: Android Saving Files
«
Reply #3 on:
2020-Oct-18 »
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.
Logged
Genius.Greedy Mouse - Karma Miwa - Spot Race - CatchOut - PowerUp Elevation and The beagle Jam.
Print
Pages: [
1
]
Go Up
« previous
next »
GLBasic forum
»
Main forum
»
GLBasic - en
»
Android Saving Files