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

Everything else that doesn't fall into one of the other categories.
IdeasVacuum
Posts: 143
Joined: Tue Feb 25, 2014 1:27 pm

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

Post 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........?
User avatar
MrTAToad
Posts: 291
Joined: Sun Apr 20, 2014 11:43 am
Location: Chichester, England
Contact:

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

Post 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.
IdeasVacuum
Posts: 143
Joined: Tue Feb 25, 2014 1:27 pm

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

Post 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:
Post Reply