I have my external app related db file which I want to load and read from my native lib (.so) after the apk is installed on the phone. The file is completely READ_ONLY. I read through several docs, and came to know that I can place my file into my asset folder, but Android puts restriction on asset size that can be read at time, to 1Mb. In case our file is bigger than that, we have to split it into chunks and read.
Other option I got is that I can copy my file from asset folder to internal storage and read from there. In this case, the file in asset folder will be useless after it is copied.
But my doubt is, are these the best practice that everybody is doing to achieve the same situation? or any best solution here which I am not able to look.