Hi
snip+inline
On 2012.06.26 16:14, Wally McClure wrote:
as will as:
<mapping jni-class="com/scalabledevelopment/math/Operations">
<method jni-name="Operations"
clr-enum-type="FixedOperations" />
</mapping>
It seems it is xml again - from what I can see (blurred) w/o coffee
this early in the morning.
You're closing <mapping> twice: with /> and </mapping>...
I'm not sure where you see the double closing.
mapping + method confused me.
Besides I didn't use EnumFields.xml and EnumMethods.xml...
Neither of the above options helps me.
I have tried to go into Metadata.xml and use the following:
<attr
path="/api/package[@name='com.scalabledevelopment.math']/class[@name='Operations']/property[@name='Operations']"
<mailto:/api/package[@name=%27com.scalabledevelopment.math%27]/class[@name=%27Operations%27]/property[@name=%27Operations%27]>
name="managedName" >NumOperations</attr>
And here I think it is not property, but method!
Props are methods....
try:
<attr
path="/api/package[@name='com.scalabledevelopment.math']/class[@name='Operations']/method[@name='Operations']"
<mailto:/api/package[@name=%27com.scalabledevelopment.math%27]/class[@name=%27Operations%27]/method[@name=%27Operations%27]>
name="managedName" >NumOperations</attr>
see my sample above.... (achartengine wrapped)
real world (acharengine + admob)
https://github.com/moljac/HolisticWare_JavaBindingProjects
AdMob is not done (yet)
I'll take a look at your sampe project on github. Unfortunately, the
entry for changing a property name is not working any better than
mine. hmmm, what to do. ;-/
Is it possible to see Your jar, or complete project?
Do You really have inside class Operations property Operations?
mel
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid