"Richard (et al), you no doubt have some contact with the Android folks at
Google.  Do you have any information you can share about these issues?"

I don't think I've seen any reply to this question.  It was a yes/no
question, so I *could* interpret radio silence as "no".  :-)

But I think I'll cast the line into this water one more time.

Anybody know if the folks at Google/Android are even aware of the
possibility of corrupting a SQLite file by using multiple instances of the
library?

Anybody know if there is any likelihood they will decide to make libsqlite
part of the NDK?

--
E


On Mon, Jun 6, 2016 at 12:26 PM, Eric Sink <e...@sourcegear.com> wrote:

>
> It is my understanding that Android N will no longer allow apps to use the
> system-installed SQLite library (unless they go through the Android Java
> API, android.database.sqlite).
>
> This is unfortunate, as many existing Android apps do access libsqlite3
> directly and will crash on Android N.
>
> Apps which ONLY use the Java API will be unaffected.
>
> Apps that do NOT use the Java API will need to bundle their own SQLite
> library, if they are not doing so already.
>
> And then, there is a particularly unfortunate group:  Apps which do some
> of their SQLite operations through the Java API, but also do some things
> through direct access to libsqlite.
>
> Because of the POSIX locking issues, these apps cannot just bundle a
> SQLite and let the two sections of their code each use their own instance
> of the library.  The result will be a corrupt SQLite file.  So the only
> obvious fix for apps in this situation is to change their code to "ONLY use
> the Java API" or "NOT use the Java API".
>
> Of course, another option would be for Google to reconsider and make
> libsqlite part of the NDK public APIs.  :-)
>
> Richard (et al), you no doubt have some contact with the Android folks at
> Google.  Do you have any information you can share about these issues?
>
> Thanks,
>
> --
> E
>
>
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to