On Jan 16, 2012, at 8:10 PM, digitalml wrote:
> I'm calling a .java file via JNI that is using a resource path via
> R.path.resource. In regular java this works fine because R resolves to the
> package. In MonoDroid this is not working because R does not resolve to the
> MonoDroid package.  I've tried replacing R in the .java file with the
> MonoDroid package name but get errors with that as well.

Within your build output, look at obj\Debug\android\src\R.java (or some other 
R.java file somewhere under obj\Debug\android\src). That is the 
`aapt`-generated R class for use from Java code; read it to determine the 
`package` that the type is within.

 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to