SqlCipher4Unity3D icon indicating copy to clipboard operation
SqlCipher4Unity3D copied to clipboard

I want to read the android Application.StreamingAssetsPath file

Open 0x2CA opened this issue 3 years ago • 1 comments

I know normally it can't be read, but NOW I apK asset uncompressed ,I directly read files in APK, which is ok, I can implement a file stream read, but I see that SQLite API now directly gives a file path, is it possible to use a stream to read

0x2CA avatar Feb 22 '22 01:02 0x2CA

I know normally it can't be read, but NOW I apK asset uncompressed ,I directly read files in APK, which is ok, I can implement a file stream read, but I see that SQLite API now directly gives a file path, is it possible to use a stream to read

Hope this help @0x2CA

"The StreamingAssets path is a directory where you can store files that should be included with the game build. These files are read-only, and can be accessed by the game at runtime. This is a good place to store data that should be included with the game, such as game assets or levels."

I am putting it on PersistentDataPath. Beacause I want multiple user to play the game, and I am just going to create multiple DB file. Don't want headache of making DB that handles all game data in one DB. Correct me if I am wrong, please.

Ow ow btw what are you up-to hmmm. The reply is 1 year old so tell tell.

IAFahim avatar Jan 27 '23 16:01 IAFahim