Page 1 of 1

SB2.1 Android - where does the resource folder go?

Posted: Mon Sep 25, 2017 2:37 pm
by IdeasVacuum
I have included a text file with other resources (icons) in a data folder "my_data". The file is for storing persistent data. Where will that file be when the APK is installed? Ideally, when the User has to select the file via OpenFileRequester(), it should be the only text file available to pick, and no navigation required.

However, if I unpack the APK file on my PC, the app's resource file has a path thus: "/assets/www/my_data".

The User is never going to find the text file there........?

Re: SB2.1 Android - where does the resource folder go?

Posted: Tue Sep 26, 2017 8:53 am
by MrTAToad
It should do - I would think/hope that OpenFileRequester doesn't default to the base of the app directory, and should really only look in the media directory.

Re: SB2.1 Android - where does the resource folder go?

Posted: Thu Sep 28, 2017 11:19 am
by IdeasVacuum
Yeah, looking at my phone, most common persistent data storage is a database file - on the Android site that is identified as "tiny db".

I'm thinking that Android maybe has more in common with PB than SB .......... :mrgreen: