Re: [mono-android] Monodroid and Sqlite with FTS

2012-03-14 Thread johnHolmes
It works! Thanks I've grabbed the Android.mk from the github link you provide me (seems to be better than mine), to build my custom version of sqlite. Actually I have added some more conditional compilation flags to enable additional features of sqlite FTS search. Then using PINVOKE with the

Re: [mono-android] Monodroid and Sqlite with FTS

2012-03-13 Thread Jonathan Pryor
On Mar 13, 2012, at 12:22 PM, johnHolmes wrote: > 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); Mon

Re: [mono-android] Monodroid and Sqlite with FTS

2012-03-13 Thread Jonathan Pryor
On Mar 12, 2012, at 6:00 PM, johnHolmes wrote: > I've already developed an application which use MonoTouch and SQLite with FTS > support. > I was wondering if I can do the same in Android? Does M4A support SQLite? Maybe. Mono for Android does provide Mono.Data.Sqlite.dll, just as MonoTouch does.

Re: [mono-android] Monodroid and Sqlite with FTS

2012-03-13 Thread johnHolmes
-- 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_librari

Re: [mono-android] Monodroid and Sqlite with FTS

2012-03-13 Thread johnHolmes
-- 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_librari

[mono-android] Monodroid and Sqlite with FTS

2012-03-12 Thread johnHolmes
Hi, I've already developed an application which use MonoTouch and SQLite with FTS support. I was wondering if I can do the same in Android? Does M4A support SQLite? Does M4A support SQLite+FTS? Do I need to use the native c++ lib with the FTS module enabled? Any hint on this? thanks -- View this