luke2012 Well-Known Member Licensed User Longtime User Mar 27, 2013 #1 Hi to all, there is a way to save a text into a BLOB field? Thanks in advance!
Erel B4X founder Staff member Licensed User Longtime User Mar 27, 2013 #2 You have two options: - Save the text as is. The data types in SQLite are only considered as a "suggestion". - Convert the text to an array of bytes by calling "asdasd".GetBytes("UTF8") Upvote 0
You have two options: - Save the text as is. The data types in SQLite are only considered as a "suggestion". - Convert the text to an array of bytes by calling "asdasd".GetBytes("UTF8")
luke2012 Well-Known Member Licensed User Longtime User Mar 27, 2013 #3 Thank you Erel! I need to save a password and I'm using a BLOB field. So I'll use the getbytes function. Upvote 0
Thank you Erel! I need to save a password and I'm using a BLOB field. So I'll use the getbytes function.
Erel B4X founder Staff member Licensed User Longtime User Mar 28, 2013 #4 Consider using KeyValueStore instead. It will make it simpler and you will be able to encrypt the data. Upvote 0
Consider using KeyValueStore instead. It will make it simpler and you will be able to encrypt the data.