Hi,
I'm trying to use ksoap library (v2.6.4) in my monodroid project. I have
created Java bindings library with ksoap.jar file.
During compilation I get such error:
'Org.Kxml2.IO.KXmlParser' does not implement interface member
'Org.XmlPull.V1.IXmlPullParser.EventType'.
'Org.Kxml2.IO.KXmlParser.EventType' cannot implement
'Org.XmlPull.V1.IXmlPullParser.EventType' because it does not have the
matching return type of 'Org.XmlPull.V1.XmlPullParserNode'.
xxx\Debug\generated\src\Org.Kxml2.IO.KXmlParser.cs '
Error comes from this lines - monodroid cant automatically map enum type.
static IntPtr id_getEventType;
public virtual int EventType {
[Register ("getEventType", "()I", "GetGetEventTypeHandler")]
get {
if (id_getEventType == IntPtr.Zero)
id_getEventType = JNIEnv.GetMethodID (class_ref,
"getEventType", "()I");
if (GetType () == ThresholdType)
return JNIEnv.CallIntMethod (Handle, id_getEventType);
else
return JNIEnv.CallNonvirtualIntMethod (Handle,
ThresholdClass, id_getEventType);
}
}
I saw examples how to map method types to correct enums, but I dont know
how to map Properties? Any advices?
Best regards
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid