T tmighty Member Licensed User Longtime User May 8, 2012 #1 I am sorry for asking. I am sure I saw it mentioned somewhere, but I just can't find it anymore. I would like to know how assets are treated. Are they loaded into memory completely at start up? Any information about assets and memory would be great. Thank you.
I am sorry for asking. I am sure I saw it mentioned somewhere, but I just can't find it anymore. I would like to know how assets are treated. Are they loaded into memory completely at start up? Any information about assets and memory would be great. Thank you.
Erel B4X founder Staff member Licensed User Longtime User May 8, 2012 #2 Asset files are packaged inside the APK file. They do not have any special effect on the memory usage. Upvote 0
Asset files are packaged inside the APK file. They do not have any special effect on the memory usage.
T tmighty Member Licensed User Longtime User May 9, 2012 #3 And when I extract an sqlite db from the asset using CopyDBFromAsset, is the database in memory, or just extracted to a temporary folder? Upvote 0
And when I extract an sqlite db from the asset using CopyDBFromAsset, is the database in memory, or just extracted to a temporary folder?
Erel B4X founder Staff member Licensed User Longtime User May 9, 2012 #4 The database is copied to the storage card if such is available and if not to the internal storage (only if the database doesn't already exist). The database is not loaded into memory. Upvote 0
The database is copied to the storage card if such is available and if not to the internal storage (only if the database doesn't already exist). The database is not loaded into memory.