[mono-android] Using SqliteDataAdapter to fill DataTable
Jonathan Pryor
jpryor at novell.com
Tue Mar 22 16:47:46 EDT 2011
On Mar 22, 2011, at 4:37 PM, Liam wrote:
> From that link you gave me
> I take that I need to get the mono source and build the Sqlite assembly
> using the MonoDroid profile.
Correct.
> So to get it to work with MonoDroid do I need to look in to the
> functions and how to rewrite them so that they don't use the function(s)
> that you have mentioned?
Yes, but someone has (theoretically) already done this work:
>> https://bugzilla.novell.com/show_bug.cgi?id=677096
contains an outline of the code changes that are necessary. It's mostly just a matter of _implementing_ those code changes, testing that they actually work as desired, and writing a sample/test to ensure that things continue to work (e.g. something that could be added to the ApiDemo [0] sample).
(Writing sane code that uses `using` blocks to ensure that things are properly cleaned up would also be good, along with following Mono's coding conventions [1] and good taste...)
- Jon
[0] https://github.com/mono/monodroid-samples/tree/master/ApiDemo
[1] https://github.com/mono/mono/blob/master/mcs/class/README
More information about the Monodroid
mailing list