Save multiline text in Blob field on Sqlite

Asked

Viewed 292 times

6

I would like a hand in this matter of saving a EditText multiline in a blob field in the Sqlite database, because when I add ContentValue values.put(CriaBanco.OBS, pedido.getObservacao()); in the bank it saves the texts in the Blob Editor with end point signaling line breaks, already in the Text Editor of the blob, only saves the first letter of the first line.

Follow the blob field image in IDE Sqlite Expert:

inserir a descrição da imagem aqui

  • 1

    if it is text you do not use text instead of blob ? and to get better for colleagues help you think if possible put the query you are using

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.