简体   繁体   中英

FMDB using online database?

I use FMDB to speak with the database from my app, and now I would like to put this database online so it will be possible to access it anywhere.

I found lot of ways, but nothing really interesting, and always very confusing.

Is there any easy way to do it?

You souldn't really open the database directly from a URL (if even possible). You should download it and cache it on the device first. You can either download the entire sqlite file or ditch FMDB and make a JSON interface, depends on the nature of your app and data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM