Hi Josh,
to my knowledge the way via asset/rsc and copying on first start is the
only possible way.
If I understand the Android system correctly, nothing else makes sense
anyway, as the apk
has to be kept (in *full* beauty!) in a separate folder - a folder the
app cannot write to
nor delete/move from.
IMHO there is no Android way to cut the database file from the apk - it
reside be in the apk, where
it can't be opened for writing. This seems to be an Android system
decision for me, not a lack of
Necessitas' possibilities, so I don't expect this to possibly be changed
in future versions.
Though it would be cool to automate the copying process so that you
could use the
deploymentfolder syntax like on other platforms, but under the hood I
think it would have to
do the same thing:
copy (not move) the data into a writeable folder, thus duplicating the
amount of space needed.
The only other possibility I see would be to dynamically load the db
from the net on first start.
Thus it would not be in the apk in the first place - but adblocker or
lack of net access can get
you into trouble there, of course.
All this said, I am *not* expert enough to be sure if the above is
correct. I would love to read a
comment about this from the wizards on this list.
Best regards,
Sebastian
> --
> You received this message because you are subscribed to the Google
> Groups "android-qt" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
android-qt+...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>