I have HTML page, CSS, JAVA and images all stored in my SQLite database.
I can load HTML from string into WebView but I can’t figure out how to add resources like CSS or Java script to that page dynamically. Is there any preferred way other than saving files to file system?
My suggestion is to create your own content provider and wrap your database access via that provider.
Then later you could register your provider in manifest such as:
and in WebView you will be able to access resources via content://your.provider.package.name/… schema.