views:

32

answers:

1

Hello, Now I've a sqlite3 database which contains html file in tables. Let's say like i just put my html file under description field and i need to get description file from database and have to show html file under description field which contains images.Any idea ?

Thanks in advance

A: 

You're probably looking for WebView.loadData()? How are the images stored? If they're assets, you can use the asset: Uri.

EboMike
Hye EboMike,thanks for fast reply. I've to load sqlite function from database and need to hold it first and have to show specific field from database.So i'm supposed to use some variables to hold it. could you please explain it by some examples ? thanks
geekmyo
Sorry, I don't quite understand your question. Can you roughly show me the code you have? Assuming you have a column with the HTML code, just select it, call `getString()` to get the value, and pass it straight into loadData.
EboMike
Hi Could you please pass your email address ? i will explain you in details. Anyway,thanks for your time.
geekmyo
Sorry, no. The idea of stackoverflow is that everybody can benefit from the questions and answers discussed here. You can't post a simple example of the database layout and your code?
EboMike