[SailfishDevel] Ship a sqlite dabase with an app
rinigus.git at gmail.com
Thu Jul 20 20:02:50 UTC 2017
if its 0.1 MB it should be no issue to include the database into the RPM
with the app. Just add it into data directory (/usr/share/appname/) and
load it from there. Note that it will be read-only in this case. If you
need to write into the database, make a copy under /home/nemo/.local in an
app-assigned directory (.cache if its more appropriate).
On Thu, Jul 20, 2017 at 10:29 PM, J Pablo Navarro <elfio at hiperones.es>
> Hi SFOS devs!
> I think this is my first email over here and I don't have too much experice
> with apps, so please be kind :)
> I want to ship an sqlite database with the app. The main reason is that
> generating this database takes around 15 minutes... and it weights 104
> KiB, so
> I think the best solution would be to shipt it as part of the app instead
> download it from somewhere (I don't have a server, so that would be a
> or generate it the first time the app is opened.
> My question is, what's the best way to do this?
> Thank you,
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel