Hello I am pretty new to xamarin and pocketsphinx, I tried to Bind pocketsphinx library from the pocketsphinx android demo github using this tutorial : "cmusphinx.github.io/wiki/tutorialandroid/"
I tried using .aar binding and I think it's working. (No errors or fail compilation), but the problem is when I tried the speech recognition function by calling this method :
var config = Edu.Cmu.Pocketsphinx.Decoder.DefaultConfig();
Assets assets = new Assets(this);
File assetDir = assets.SyncAssets();
SpeechRecognizer recognizer = SpeechRecognizerSetup.DefaultSetup().SetAcousticModel(new File(assetDir,"sync/en-us-ptm")).SetKeywordThreshold(1e-20f).SetDictionary(new Java.IO.File(assetDir,"sync/cmudict-en-us.dict")).Recognizer;
recognizer.AddListener(this);
and i realized it return java file not found exception while executing :
File assetDir = assets.SyncAssets();
What I found is SyncAssets needs assets.lst and .md5 files, and on the tutorial, these files are generated on the android studio IDE (using gradle).
Is there any suggestion on what should I do to make it works? Thank you very much