Which is the best way to store a pdf around ~4mb in sqlite with javascript?
I have tried using base 64 encoding but the Andoid browser freezes and quits when trying to open large files. Small files won't open either they just start to download but the download never completes and the filetype seems to be unknown. It has to work in the Android browser, and I have several files that I need to save so I have to use sqlite (because of size limits in offline storage)
Thanks in advance! /Christian
You might want to consider PhoneGap for creating a Native application, thereby bypassing quotas. That way you can continue to use HTML5 to create the app.
This blog entry suggests a way to lift quota limits for PhoneGap apps:
http://blog.mattray.info/2011/08/into-blender-javascript-sqlite-ios-and.html