Hello group,

I have an Android Application and and Android Class Library. Both projects
are set to use a minimum Android target of 1.6. When the Application is set
to use target API Level <= 10, everything compiles and runs fine. When I
change the Application to use a target API level of 12, 14, or 15, I get a
build error in the Application project. The error is: Cursor is not abstract
and does not override abstract method getType(int) in
android.database.Cursor. The file is Cursor.java, so it's a problem with the
generated class.

Cursor is just a simple class I made that implements ICursor and inherits
from Java.Lang.Object (Is there already a class that does this?), but
otherwise delegates all responsibilities to an instance of ICursor passed in
via the constructor. I can paste the code if required, but it's literally
just a bunch of this:

public int GetColumnIndexOrThrow(string columnName)
{
        return _cursor.GetColumnIndexOrThrow(columnName);
}

I'm using the very latest release version of Mono for Android. Please let me
know what other information I should provide to help troubleshoot this
problem.

Thanks,
Dan

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Build-Error-on-Target-API-Level-10-tp5710963.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to