Mercury New Member Dec 29, 2022 #1 Hi guys! I'am pretty new in B4A, so sorry for my probably "stupid" question. Problem: My .txt files added to project via Files Manager in IDE is missing after instalation (Debug same as Release). When I copy them manually to the instalation folder then I can access to them easily with GetSafeDirDefaultExternal and everything work just fine. But what I'am missing here? Why they're not included in my installation package? Thanks for any advice
Hi guys! I'am pretty new in B4A, so sorry for my probably "stupid" question. Problem: My .txt files added to project via Files Manager in IDE is missing after instalation (Debug same as Release). When I copy them manually to the instalation folder then I can access to them easily with GetSafeDirDefaultExternal and everything work just fine. But what I'am missing here? Why they're not included in my installation package? Thanks for any advice
E emexes Expert Licensed User Longtime User Dec 29, 2022 #2 You did a sync so that the files show up in the Files tab? In which case they should be in the File.DirAssets folder when your app runs. You can do some things eg File.ReadString but not File.Size. No, I'm not kidding you: https://www.b4x.com/android/help/files.html#file_size Upvote 0
You did a sync so that the files show up in the Files tab? In which case they should be in the File.DirAssets folder when your app runs. You can do some things eg File.ReadString but not File.Size. No, I'm not kidding you: https://www.b4x.com/android/help/files.html#file_size
Mercury New Member Dec 29, 2022 #3 Oops Thanks exemes! My first attempts was done with DirAssets, but never tested back after i managed to acces my manually copied files with GetSafeDirDefaultExternal. Phew! What a relief! Thanks and have a nice day! Upvote 0
Oops Thanks exemes! My first attempts was done with DirAssets, but never tested back after i managed to acces my manually copied files with GetSafeDirDefaultExternal. Phew! What a relief! Thanks and have a nice day!