https://bugzilla.novell.com/show_bug.cgi?id=661858
https://bugzilla.novell.com/show_bug.cgi?id=661858#c1 Jonathan Pryor <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Jonathan Pryor <[email protected]> 2011-01-14 17:21:13 UTC --- How are we defining "use"...? If you want to create object instances, invoke methods, etc. from C# for anything other than android.jar, that isn't supported at this time. We will be adding support for interacting with .jar files after 1.0. Alternatively, you could use Android.Runtime.JNIEnv to "manually" create instances and invoke members, though this won't permit inheritance/etc. Alternatively, you can write .java source and include set the Build Action to AndroidJavaSource; this will cause monodroid to build your .java files into the apk, and then you could use JNIEnv to create your custom class. What I'm not sure about (as I haven't tested) is to actually deal with the jar. Presumably you would need a <uses-library/> in AndroidManifest.xml: http://developer.android.com/guide/topics/manifest/uses-library-element.html but how are custom .jar files handled? I haven't investigated this, so I don't know how this would interact with MonoDroid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
