kepler Active Member Licensed User Longtime User Mar 21, 2015 #1 Good evening, I have made a successful lib in Java that actually works in B4A... But in that java lib, I have a method that must read some files (they are too heavy to be included in the lib, I think). My question is: where do I put these files (is it in my Files folder of my Project Folder?), and what file path do I use to read them (is it Files/filename.txt ?) ? Kind regards, Kepler
Good evening, I have made a successful lib in Java that actually works in B4A... But in that java lib, I have a method that must read some files (they are too heavy to be included in the lib, I think). My question is: where do I put these files (is it in my Files folder of my Project Folder?), and what file path do I use to read them (is it Files/filename.txt ?) ? Kind regards, Kepler
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2015 #2 The simplest way is to open the file from B4A and pass the inputstream to your library. This allows developers to put the files wherever they like.
The simplest way is to open the file from B4A and pass the inputstream to your library. This allows developers to put the files wherever they like.