jeudi 28 avril 2016

SQLite how to store a byte array in a single table cell

I'm using SQLite database to store my Android data. How can i store a byte array byte[] in a single cell. Because there are only types as int or strings.

I heard something about BLOB, maybe you can explain it to me?

Another option is to convert the byte array to a string and convert it back when using it. How can I do this?

Aucun commentaire:

Enregistrer un commentaire