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

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

by IdeasVacuum Mon Sep 25, 2017 2:37 pm

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

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

by MrTAToad Tue Sep 26, 2017 8:53 am

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: 135
Joined: Tue Feb 25, 2014 1:27 pm

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

by IdeasVacuum Thu Sep 28, 2017 11:19 am

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:
Return to General Discussion

Who is online

Users browsing this forum: No registered users and 2 guests