mail-archives/monodroid/2011-December/007416.html

79 строки
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [mono-android] Third party JAR files (ETA question?)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Third%20party%20JAR%20files%20%28ETA%20question%3F%29&In-Reply-To=6BF736603DBFD04FB97F35886CABF5B9CC0417BD%40CATINEXC04.catapultsystems.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="007415.html">
<LINK REL="Next" HREF="007417.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[mono-android] Third party JAR files (ETA question?)</H1>
<B>James Burton</B>
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Third%20party%20JAR%20files%20%28ETA%20question%3F%29&In-Reply-To=6BF736603DBFD04FB97F35886CABF5B9CC0417BD%40CATINEXC04.catapultsystems.com"
TITLE="[mono-android] Third party JAR files (ETA question?)">james at thetin.net
</A><BR>
<I>Thu Dec 1 13:16:59 EST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="007415.html">[mono-android] Third party JAR files (ETA question?)
</A></li>
<LI>Next message: <A HREF="007417.html">[mono-android] Third party JAR files (ETA question?)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7416">[ date ]</a>
<a href="thread.html#7416">[ thread ]</a>
<a href="subject.html#7416">[ subject ]</a>
<a href="author.html#7416">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Josh
You'll have to write JNI wrapper and drop them in as Java Source files. There are a few examples floating around, and it is a little fiddly. As a heads-up I'd recommend using JAVAP (with the -s option IIRC) to extract the method info if you are having trouble getting the parameter strings correct.
If you really get stuck then email me and I can check if my early-alpha JNI wrapper service is operational ... it might at least be able to wrap a few methods and give a starting example for you.
Regards,
James Burton
From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A> [mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>] On Behalf Of Josh Handel
Sent: 01 December 2011 3:32 PM
To: Discussions related to Mono for Android (<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid at lists.ximian.com</A>)
Subject: [mono-android] Third party JAR files (ETA question?)
I noticed in the limitations of Mono for Android it lists 3rd party JAR files.. Is there any way to wrap third party JARs for reuse? For instance if I need to write some custom code in Java (say for an API that wasn't wrapped for some reason).. or I wanted to reuse a component like ChartDroid... What would the process to do that be? Or is it just not possible right now, and if not what is the ETA for supporting that?
Thanks
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111201/d58811ce/attachment.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111201/d58811ce/attachment.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="007415.html">[mono-android] Third party JAR files (ETA question?)
</A></li>
<LI>Next message: <A HREF="007417.html">[mono-android] Third party JAR files (ETA question?)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#7416">[ date ]</a>
<a href="thread.html#7416">[ thread ]</a>
<a href="subject.html#7416">[ subject ]</a>
<a href="author.html#7416">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
mailing list</a><br>
</body></html>