Francisc
Francisc

Reputation: 80495

Flex for mobile: images are better off in assets folder or database

I'm building a simple Flex App for mobile to test things out. Is it ok to store some images in an SQLite database or is it better to have them in the filesystem?

Thank you.

Upvotes: 0

Views: 182

Answers (1)

Teddy
Teddy

Reputation: 18572

If images are bundled with the app, I would use filesystem (or embed them in the Flex App which is basically the same thing).

If images are saved based on user input, SQLite might be the better solution.

Storing images in a database is usually not ideal. But allowing users to write to the filesystem isn't ideal, either. So you might have to pick the lesser of 2 evils.

Upvotes: 1

Related Questions