Hello,
Let me explain a bit in details.
We support android resources in the context that our *Java Binding
Library project* supports Java "Android Library Project" [*1] (which
contains not only a jar but also a set of resources, which are still
outside the jar itself). It was mandatory to support bindings for
Android Library project, so it's supported and there.
[*1]
http://developer.android.com/guide/developing/projects/index.html#LibraryProjects
Our mere C# library (which has been unfortunately Mono for "Android
Library project" in IDEs from our own history) is totally different
thing in that context: it is just a library that resides in MfA profile
and yet just a class library compiled by our C# compiler variant.
And jpobst is right, it does not support embedded Android resources.
They are conceptually confusing enough, names overlap and that's why
even ourselves are confused. Anyways I wish this cleans up the confusion
on this.
We'll plan to support embedded android resources even in our own C#
library project. Until that arrives, please stick to the approach to add
Android resources to your *application* projects.
(Or in tricky way, you can create a Java Android Library project in
Eclipse, with almost empty class and the resources, and then bind it in
MfA.)
Atsushi Eno
Jonathan Pobst wrote:
This is not currently supported.
Jonathan
On 5/18/2012 10:22 AM, NebulaSleuth wrote:
I tried this as well with no luck. I am also running 4.2.1.
--
View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Resources-in-Class-Library-project-tp5658638p5709916.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid