-- Using M4A on OSX --

Don't know if I'm moving to the right path but:

using the Android NDK I've sucesfully built the sqlite3.so shared library.
I've included the library to my android project.

Now, as written in the docs here
http://docs.xamarin.com/android/advanced_topics/using_native_libraries

I need to use PINVOKE to call methods now.

Due to my success in using a similar approach with MonoTouch, I'm trying to
call sqlite methods using this wrapper (it works perfectly on MT)
http://code.google.com/p/sqlite-net/

Unfortunatelly in M4A throw an exception. When I try to open a db
connection, a EntryPointNotFoundException.

Here an example of PINVOKE declare method, is this right? Notice the
"__Internal"

                [DllImport("__Internal", EntryPoint = "sqlite3_open")]
                public static extern Result Open (string filename, out IntPtr 
db);


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Monodroid-and-Sqlite-with-FTS-tp5559275p5561519.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to