[mono-android] Would you recommend Android.Database.Sqlite or Mono.Data.Sqlite?

mkamoski mkamoski at gmail.com
Mon Feb 27 19:36:10 UTC 2012


All --

Please help.

Would you recommend Android.Database.Sqlite or Mono.Data.Sqlite?

I am building a database-driven app for Android 2.2 and up.

My data model is pretty simple.

I want to model it after either this sample...

(A)

https://github.com/xamarin/monodroid-samples/tree/master/NotePad-Mono.Data.Sqlite

...where it is noted that it "uses MFA's included Mono.Data.Sqlite"...

...or I want to model it after this sample...

(B)

https://github.com/xamarin/monodroid-samples/tree/master/NotePad

...where it is noted that it is "a similar sample using
Android.Database.Sqlite"...

...so, my questions are...

(1). What does "MFA" mean?

(2). Will all my apps built with MonoDroid automatically have access to
"Mono.Data.Sqlite"?

(3). Is either "Android.Database.Sqlite" or "Mono.Data.Sqlite" always
guaranteed to be on all Android 2.2 (and up) devices?

(4). Does using ""Android.Database.Sqlite" increase/decrease/leave-unchanged
the footprint of an installed app?

(5). Does using "Mono.Data.Sqlite" increase/decrease/leave-unchanged the
footprint of an installed app?

(6). The code looks quite similar for each; so, what are the pros and cons
and limitations of each?

(7). Is one or the other deprecated, favored, likely-to-phase-out, etc?

Please advise.

Thanks.

-- Mark Kamoski







All --

Please help.

I am building a database-driven app for Android 2.2 and up.

My data model is very simple.

I want to model it after either this sample...

(A)

https://github.com/xamarin/monodroid-samples/tree/master/NotePad-Mono.Data.Sqlite

...where it is noted that it "uses MFA's included Mono.Data.Sqlite"...

...or I want to model it after this sample...

(B)

https://github.com/xamarin/monodroid-samples/tree/master/NotePad

...where it is noted that it is "a similar sample using
Android.Database.Sqlite"...

...so, my questions are...

(1). What does "MFA" mean?

(2). Will all my apps built with MonoDroid automatically have access to
"Mono.Data.Sqlite"?

(3). Is either "Android.Database.Sqlite" or "Mono.Data.Sqlite" always
guaranteed to be on all Android 2.2 (and up) devices?

(4). Does using "Mono.Data.Sqlite" increase/decrease/leave-unchanged the
footprint of an installed app?

(5). Does using "Mono.Data.Sqlite" increase/decrease/leave-unchanged the
footprint of an installed app?

(6). The code looks quite similar; so, what are the pros and cons and
limitations of each?

(7). Is one or the other deprecated, favored, likely-to-phase-out, etc?

Please advise.

Thanks.

-- Mark Kamoski


--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Would-you-recommend-Android-Database-Sqlite-or-Mono-Data-Sqlite-tp5519867p5519867.html
Sent from the Mono for Android mailing list archive at Nabble.com.


More information about the Monodroid mailing list