[Mono-bugs] [Bug 661858] Allow the use of Jar files to be used in MonoDroid
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Feb 8 17:37:21 EST 2011
https://bugzilla.novell.com/show_bug.cgi?id=661858
https://bugzilla.novell.com/show_bug.cgi?id=661858#c2
--- Comment #2 from Jonathan Pryor <jpryor at novell.com> 2011-02-08 22:37:20 UTC ---
This bug has two parts:
1. We should allow users to add .jar files to a project and set a Build Action
of AndroidJavaSource on them. monodroid.exe should then pass these .jar files
to 'dx --dex' so that they're built into classes.dex as part of .apk file
creation. This will allow including .jar files into .apk files in a normal
fashion.
2. Platform .jar files aren't bundled into the .apk, and instead (I ASSUME) are
referenced via <uses-library/> within AndroidManifest.xml. To support these, I
imagine that monodroid.exe will need to parse the AndroidManifest.xml file and
turn any <uses-library/> elements into additional `javac -classpath` paths.
(1) seems straightforward enough.
(2) I'm not sure about, as I can't find an example of a .jar file for use with
<uses-library/> that is present within Android in /system/frameworks and is
also present within the SDK. What's <uses-library/> for?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list