Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / save/load data on external SD

Author
Message
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 20th Jun 2014 14:14
Hi

I would like to know if it's possible to save and load data from external SD and other folder than the "default save folder" ?

For example, I would like to save the file of the current party on an SD card, on my samsung note. Is it possible to do that and how ?

Thank you.

http://www.dracaena-studio.com
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 20th Jun 2014 15:20
No, it isn't possible. This is for security reasons.

In Windows, you can use other folders and drives with the raw commands.

Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 21st Jun 2014 06:42
Actually, apps can do this. AppGameKit has permissions in Android to do this. AppGameKit is capable of doing this and actually writes to the SD card with Android 2.3. AppGameKit does not, unfortunately, allow you to set the raw write directory on Android. Should it? Yes it would be nice. For now we have to deal with the app's secure directories on the root.
If you put in a feature request on
code.google.com/p/agk
I'd second the motion, but I don't currently have any use for it.

Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 21st Jun 2014 14:29
Thank you for your answer.

In fact, I would like just know if it's possible, if (one of these days) I create a 2D application, to save the image for example. Or simply, to save my party and copy it from my tablet to my phone ^^.

http://www.dracaena-studio.com
xCept
21
Years of Service
User Offline
Joined: 15th Dec 2002
Location:
Posted: 21st Jun 2014 16:08
If you use the PrintImage() command on Android it will save the specified image to the SD root. However you can't customize it in any way, it just saves using AppName###.png or similar. I still wish this command would be expanded to support custom string names and storage location on Android as it would prove very handy that way.
Naphier
14
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 21st Jun 2014 23:28
@Blendman - if you want to transfer between mobile devices you might be able to use the NFC commands. You also might be able to hack the java code to do this for you. I've never read up on writing/moving files via java, but it should be a possibility.

Login to post a reply

Server time is: 2024-11-25 06:20:42
Your offset time is: 2024-11-25 06:20:42