Reading and writing to a local sqlite database from a Chrome packaged app

北慕城南 提交于 2019-12-21 17:31:44

问题


Is it possible to read and write to a local sqlite file from a chrome packaged app? I currently already read and write to a json file with app data that is locally stored on the harddrive but I also want to be able to do this with a sqlite database. I need it to be local and not on drive since I will interact with it from other (non chrome) processes as well. And even loading the file from drive (using sync filesystem instead of filesystem), I have no clue how to go about accessing a sqlite file


回答1:


SQLite support for Chrome Packaged Apps would be great. After all, Chrome on the desktop and on Android supports it.

But it doesn't. There is an open issue for it - join in!

https://code.google.com/p/chromium/issues/detail?id=339579



来源:https://stackoverflow.com/questions/18449461/reading-and-writing-to-a-local-sqlite-database-from-a-chrome-packaged-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!