Android Question How to Add and Retrieve files on SQLite Database such as word or pdf files

Lyndon Bermoy

Active Member
Licensed User
Longtime User
Does anyone know here how to Add and Retrieve files on SQLite Database such as word or pdf files? Please send me a link if there is. Thanks! :)
 

DonManfred

Expert
Licensed User
Longtime User
See SQL tutorial. Especially the part about writing/reading a BLOB....
 
Upvote 0

Lyndon Bermoy

Active Member
Licensed User
Longtime User
If i will retrieve/read a pdf file or a word file on the SQLite, then it be will displayed on the imageview??
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
If i will retrieve/read a pdf file or a word file on the SQLite, then it be will displayed on the imageview??
NO! You need a program which can view PDFs. Like AdobeReader
You can not show pdf inside b4a
 
Upvote 0

Lyndon Bermoy

Active Member
Licensed User
Longtime User
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Do you have a sample code of that to retrieve pdf files on the SQLite database?
SEE THE TUTORIAL-LINK I POSTED IN POST #2!!! There IS an example of storing an image and reading. Instead of a gif you can store a PDF or whatever....
 
Upvote 0
Top