<div dir="ltr">Hi Pablo,<div><br></div><div>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). </div><div><br></div><div>Cheers,</div><div><br></div><div>Rinigus</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 20, 2017 at 10:29 PM, J Pablo Navarro <span dir="ltr"><<a href="mailto:elfio@hiperones.es" target="_blank">elfio@hiperones.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi SFOS devs!<br>
<br>
I think this is my first email over here and I don't have too much experice<br>
with apps, so please be kind :)<br>
<br>
I want to ship an sqlite database with the app. The main reason is that<br>
generating this database takes around 15 minutes... and it weights 104 KiB, so<br>
I think the best solution would be to shipt it as part of the app instead of<br>
download it from somewhere (I don't have a server, so that would be a problem)<br>
or generate it the first time the app is opened.<br>
<br>
My question is, what's the best way to do this?<br>
<br>
Thank you,<br>
Pablo.<br>
______________________________<wbr>_________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.<wbr>sailfishos.org</a></blockquote></div><br></div>