Storing Image Data for offline web application (client-side storage database)

前端 未结 4 1865
萌比男神i
萌比男神i 2020-11-28 17:27

I have an offline web application using appcaching. I need to provide it about 10MB - 20MB of data that it will save (client-side) consisting mainly of PNG image files. The

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-28 18:03

    A few years back (not exactly the stone age), I was using a signed java applet that would query its server for syncing/updating requirements, download appropriate files from the server and save them on the user's filesystem (not a database). That solution might work for you, although you will need someone to write the applet and sign it. For database solutions, such an applet can use the jdbc available for most databases using localhost on a suitable port (e.g., 3306 for MySQL). I believe the applet tag is deprecated in Html5 but it still works. No experience on Android tablets, so can't comment on that part.

提交回复
热议问题