SQLite and Android devices

Roger Eller roger.e.eller at sealedair.com
Thu Apr 28 13:01:26 EDT 2016


Here's an old reference, but it's probably still relevant.

https://www.mail-archive.com/use-livecode%40lists.runrev.com/msg21111.html


On Thu, Apr 28, 2016 at 11:38 AM, Alain Vezina <alain.vezina at logilangue.com>
wrote:

> Hi Ralph,
>
> Thanks for the information. I tried it and now I can look inside my
> Android app.
>
> But my main problem is that my DB can’t be opened by the program I
> installed in my Android device. That the same for HTML files. Is it a
> question of permission I have to get or something like?
> You know, I am not very experienced in Android devices.
>
> Regards,
>
> Alain
>
>
> Le 2016-04-28 à 10:00, Ralph DiMola <rdimola at evergreeninfo.net> a écrit :
>
> > The apk is just a zip file with an apk extension. Rename it .zip and you
> can
> > look inside. The database can't be opened in the apk(the engine folder).
> The
> > apk is read-only. Even if you don't write to it you must still copy it
> out
> > to the documents folder and open it there. I never tried to open a DB in
> the
> > engine folder on iOS and I'm surprised that it worked.
> >
> > Ralph DiMola
> > IT Director
> > Evergreen Information Services
> > rdimola at evergreeninfo.net
> >
> > -----Original Message-----
> > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On
> Behalf
> > Of Alain Vezina
> > Sent: Thursday, April 28, 2016 8:55 AM
> > To: LiveCode How to
> > Subject: SQlite and Android devices
> >
> > Hi all,
> >
> > I am testing one of my apps on an Android device for the first time. I
> have
> > never had any problem with the same date base on iOS devices.
> >
> > Before I start, I checked the LiveCode lesson How to create and use an
> > SQLite database.
> >
> > Using LC 7.1.3 in Mac (Maveriks) and Android 5.1.1, I always receive an
> > error message from Android saying that it can't read my data base or it
> > can't find a part of my data base.
> >
> > First of all, I don't know where LC put data base in an Android device
> and
> > we can't see inside the APK as we do with an iOS app.
> >
> > Anyone has an idea of what is going wrong ?
> >
> > Alain Vezina
> > Logilangue
> > www.logilangue.com
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription
> > preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list