I am developing a simple Q&A app. to get used to B4A. I have a small sqlite DB in my app, four fields, ID, Question, Answer, Category. ID is INT, all others are text.
I was hoping to store HTML in the answer field of the database, i.e. as tags
<HTML>
<body>
Answer here
</body>
</html>
Nothing fancy at all really. I am loading the answer into a webview using;
WebView1.LoadHtml(cursor2.getstring("answer"))
The correct answer is loaded but occasionally I run up against a cannot convert blob to text error. Any suggestions as to what the problem may be? Is it a length of field/string problem, or does htmlview not understand some of the tags?
I was hoping to store HTML in the answer field of the database, i.e. as tags
<HTML>
<body>
Answer here
</body>
</html>
Nothing fancy at all really. I am loading the answer into a webview using;
WebView1.LoadHtml(cursor2.getstring("answer"))
The correct answer is loaded but occasionally I run up against a cannot convert blob to text error. Any suggestions as to what the problem may be? Is it a length of field/string problem, or does htmlview not understand some of the tags?