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 / Write folder for Android Player?

Author
Message
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Aug 2015 11:38
Has anyone found the write folder when using the AppGameKit Player on Android?

I am trying to find a debug file that I have written to this folder with no success!

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 15th Aug 2015 12:40
I don't know it from the top of my head, but I think you can get it by using the command GetWritePath?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 15th Aug 2015 14:44
This would be entirely logical, but doesn't work
It gives you a path which doesn't exist...

data/data/com.thegamecreators.agk_player2/files/<APPNAME>/

I have even tried searching while the app is running, in case it is flushed afterwards.

What does exist is...

/Android/data/com.thegamecreators.agk_player2/files/

but this is empty. I have turned on hidden files and still nothing.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 15th Aug 2015 18:48 Edited at: 15th Aug 2015 18:49
Hmmm... I didn't expect that. I'll probably have time to check the Android paths myself tomorrow, so I'll let you know if I discover it

Another thought: is it possible to write to the second directory you mention (or another one) with 'SetRawWritePath'?
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 16th Aug 2015 00:03
Thanks for the help. I worked around the problem temporarily by writing debug info to the screen. But it would still be good to know.

SetRawWritePath only works on Windows.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Zwarteziel
13
Years of Service
User Offline
Joined: 22nd Jan 2011
Location: Netherlands
Posted: 16th Aug 2015 18:20
That's a good workaround. Still, it would be handy to be able to find the location files are stored after we've written them, right? I didn't have time to check the Android-filesystem myself today, but I found this post from Paul, where he states the files are being written to a hidden location.
Kendor
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location: Malta
Posted: 16th Aug 2015 21:32 Edited at: 16th Aug 2015 21:33
The path which is returned is correct. The files are saved under: data/data/com.thegamecreators.agk_player2/files/<APPNAME>/

You'll need something like Android Commander to view them:




Attachments

Login to view attachments
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 17th Aug 2015 19:15
Thanks.

I use ES File Explorer, one of the highest rated file managers on the store. But it still can't see hidden files

I even checked the box to show hidden files.

Quidquid latine dictum sit, altum sonatur
TutCity is being rebuilt
Kendor
21
Years of Service
User Offline
Joined: 31st Jan 2003
Location: Malta
Posted: 17th Aug 2015 20:37
ES file explorer requires an additional step, over and above the hidden files, to work. You need to enable "Root Explorer" (under Tools in the left menu). This only works if the phone is rooted and you give superuser permissions.

Following that, you should be able to see them.


hakimfullmetal
9
Years of Service
User Offline
Joined: 17th Feb 2015
Location:
Posted: 19th Aug 2015 04:49
I think the 'data' folders in question is only accessible manually via rooting the device. Normally Android will prohibit access to the root folders.
AGK made this limitation more severe by limiting what can be read on Android to only what is defaultly specified read and write folders.
I don't know why they do that, considering there are apps in Google Play that doesn't seems to have that limitation. The limitation to read and write must have been imposed by AppGameKit itself, not Android.

Login to post a reply

Server time is: 2024-09-29 03:20:45
Your offset time is: 2024-09-29 03:20:45