Convert HTML into database

  • Replies:2
  • OpenNot stickiedUnanswered
  • Forum posts: 1

Oct 30, 2014, 2:39:01 PM via Website


I want to make android Bible application. The Bible I have is in the HTML format (large number of files). Do I convert (parse) all of these into SQLite database or do I use directly html_
The app should provide search function.

Thx in advance

  • Forum posts: 118

Nov 7, 2014, 11:17:19 AM via Website


Depends on the sizes of your HTML files and on how many you have. You could embed those HTML files if you wish but as you mentioned that you wish to use a search function, parsing the content into a SQLite DB would be better and faster. But that also depends on the file sizes and on the amount of files. Keep in mind that some people rather not download huge apps. Think this through to keep the performance high.

I prefer to use databases instead of local files to search through and to display. There are many blogs and posts on the internet, out there that go into details about this subject.

  • Forum posts: 11

Nov 17, 2014, 5:18:57 PM via Website

Depends on what you need. If you need search functionality, local database is preferred. Check out realm io - it makes storing things on local databases simpler.

Recommended articles