Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to read the android Application.StreamingAssetsPath file #43

Open
0x2CA opened this issue Feb 22, 2022 · 1 comment
Open

I want to read the android Application.StreamingAssetsPath file #43

0x2CA opened this issue Feb 22, 2022 · 1 comment

Comments

@0x2CA
Copy link

0x2CA commented Feb 22, 2022

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

@IAFahim
Copy link

IAFahim commented Jan 27, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants