Mark,
I apologize for
contacting you directly but Sandro suggested that I do so.
I am about the "bite
the bullet" and rewrite some of my personal apps and try to use your
libjsqlite and adopt callbacks although I may have to rethink the whole
structure of some of my code.
I see that
libjsqlite is a ".so" file.
So the key questions
are:
1. Is there a Jar
file that includes the JNI calls. I ask because Xamarin only handles
.so files by way of P/Invoke and that is related the the issue I now have with
Marshalling.
However, Xamarin can
build C# mappings to a jar file which I have done in another
situation.
Do you have an
example or a pointer to an example of a C# program that uses your libjsqlite so
I can see what the structure of a C# program is in this
case?
I only need Open,
Close, "Query using Spatialite functions", and associated data extraction from
the query results.
I been doing this
stuff for 50 years but only worked with Java for about 5 years but switched to
C# because it better served my purposes writing m own personal use apps
originally on Windows.
I switched to
Android for a variety of reasons and Xamarin allowed me to convert most of my
apps using vanilla Sqlite.
But some of the apps
need Spatialite and thus my quandary.
I had something
(Spatialite_Net_Examples) which worked sometimes but would fail with stack
traces without explanation but I think it had to do with Marshalling strings
returned from Sqlite.
The most important
of those apps is one that tracks my wife (she has Alzheimer's) and she carries a
locator that I read through a third party and process to a map and I like the
interface that I now use.
So, if you can be of
any assistance I would greatly appreciate it.
Regards,
Jim
O'Brien