If I resolve these in the Code myself I can compile the Bindings Library, but as soon as it´s referenced in an App Project, I get the following error in "RecognitionListenerImplementor.java".
error:packageedu.cmu.pocketsphinxdoesnotexist
So my question is, if someone did this with Xamarin Android and can give me directions on how to implement this correctly.
Or if this is possible at all.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I am pretty new to Bindings Libraries in Xamarin. I know the basics and can get the examples to work.
But with pocketsphinx I´m having real trouble.
I compiled the pocketsphinx-android-5prealpha-nolib.jar with gradle and put it into the Class Library.
But I´m getting errors like this one:
If I resolve these in the Code myself I can compile the Bindings Library, but as soon as it´s referenced in an App Project, I get the following error in "RecognitionListenerImplementor.java".
So my question is, if someone did this with Xamarin Android and can give me directions on how to implement this correctly.
Or if this is possible at all.
Thanks!
Yes, sure, many people did it
You need to create the bindings for native library, not for Java library. You do not need jar at all, you can check documentation here:
https://developer.xamarin.com/guides/android/advanced_topics/using_native_libraries/
Yes, sure
I have seen a Bindings Library with a jar file for Xamarin.
So I have been working in the wrong direction all the time...
Thanks a lot for the fast answer.
Implementing the native libraries shouldn't be a problem.