Android Question BING Speech to Text

Rusty

Well-Known Member
Licensed User
Longtime User
I have successfully used the BING Speech to text in the Android Studio with their example java code and libraries.
Embedded within their SDK is a JAR file "speechsdk.jar" (see attached).
Is this jar file usable within B4a as a library?
If so, how do I include it within my app?
If not, how can I convert/wrap it to make it work?
(Also included are the .so files they used within the Studio environment. I can send those if that helps)
thanks,
Rusty
 

Attachments

  • SpeechSDK.jar
    37.1 KB · Views: 185

MarcoRome

Expert
Licensed User
Longtime User
look this EXAMPLE
If you have documentation method, etc JAR is better or you can use JD-GUI

upload_2016-12-10_20-28-51.png
 
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
Thank you MarcoRome,
I don't think I understand what you are saying.
Isn't the SpeechRecognizer referred to in your link a Google speech engine?
I'm trying to use the BING speech engine, which I find far superior to the Google one I've used for years.
The problem is I don't know how to use the speechsdk.jar or the .so files within the B4a environment.
Any help there would be appreciated. :)
Lastly, what is the "JD-GUI"
 
Upvote 0

MarcoRome

Expert
Licensed User
Longtime User
Hi Rusty. You are right, sorry. So I try to explain better.
You write:
Is this jar file usable within B4a as a library?
If so, how do I include it within my app?

With JavaObject ( look HERE ) you can asily integrate third-party files as jar or aar.
So i insert in previous post a example ( HERE , sorry in post previous i wrong link :( happen... ) by @stevel05 . This is very usefull.

In last JD-Gui ( HERE ) is a tool where you can see into jar or aar file metohd and another things ( if you havent documentation example )

I hope that this will help you.
 
Last edited:
Upvote 0

Rusty

Well-Known Member
Licensed User
Longtime User
Thanks for the clarification.
Just in case you want documentation it is here.
This whole process is very confusing at this point...
Rusty
 
Upvote 0
Top