[mono-android] SQLite and shared rountime

2012-06-13 Thread Dariusz Sroka
Hi, In my project I'm using SQLite database (http://code.google.com/p/sqlite-net/). Everything works ok when I'm using it on my development machine (debug mode + shared rountime tourned on). Problem occurs when I'm trying to create a package for a client - I'm turning off shared rountime to

Re: [mono-android] LinearLayout.AddView( View, ViewGroup.MarginLayoutParams ) fails

2012-05-28 Thread Dariusz Sroka
Hi, You can't use ViewGroup from main namespace - instead try using LinearLayout.LayoutParams (or smth else - I write from memory). Best regards W dniu 2012-05-28 18:29, Goncalo Oliveira pisze: I was trying to set the margins of a view added in runtime, but without success. Is this broken or

[mono-android] Convert .net type to Java.Lang.Object - how?

2012-05-25 Thread Dariusz Sroka
Hi, I'm using 3rd part java library and I need to use Java.Lang.Object as parameter in one of the methods. How can I convert .net custom class to Java.Lang.Object? Any examples? Best regards ___ Monodroid mailing list Monodroid@lists.ximian.com UNS

Re: [mono-android] Using ksoap library in Monodroid project

2012-05-24 Thread Dariusz Sroka
W dniu 2012-05-24 17:44, Jonathan Pryor pisze: On May 24, 2012, at 11:39 AM, Dariusz Sroka wrote: I've tried this way, but I was not sure about return type. (it should be get_EventType btw). As per the attribute name (//method/@jni-name), it needs to be the Java/JNI method name, not

Re: [mono-android] Using ksoap library in Monodroid project

2012-05-24 Thread Dariusz Sroka
Hi, Properties are methods; the same syntax applies, with the stipulation that the return type is the "return" parameter: http://docs.xamarin.com/android/tutorials/Binding_a_Java_Library_(.jar)#Correcting_Enums - Jon I've tried this wa

[mono-android] Using ksoap library in Monodroid project

2012-05-24 Thread Dariusz Sroka
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.KXmlPars

[mono-android] Styles.xml and @drawable

2012-05-23 Thread Dariusz Sroka
Hi, Please tell me if its possible to use @drawable attribute in Styles.xml? I tried to use it, but I get 'no resource found' error. Best regards ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/