Binding 3rd party Java Jar with Xamarin when function has more than 16 parameters

I have created a Xamarin.Android Java Bindings Library following the instructions here

https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/binding-a-jar/

on compilation the following warning is displayed

BG8D00: More than 16 parameters were found, which goes beyond the maximum number of parameters.

and sure enough if I attempt to call the constructor in Visual Studio which takes 25 parameters it fails.

Is there anyway around this? or is it fatal?

When reading about binding Java libraries I also spotted this alternative route.

https://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/working_with_jni/

Before I start down this route does anyone know if jni has the same limitation? as I think apart from the parameter limitation the jar will work fine

Sign In or Register to comment.