Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use Google Cloud speech API from Android?

I have a college project and I'm developing an Android Application that acts like a translator. For normal text translation I'm using Google Cloud Translation API and I saw they have an option to translate text via speech using Google Cloud speech API. Problem is I don't have a starting point, and I didn't understand how can I use it.

So, is there an example of how can I use Google Cloud speech API from my Android application?

like image 344
Alex Chihaia Avatar asked Mar 14 '26 14:03

Alex Chihaia


1 Answers

Android runs Java examples just fine. You can find them on github.

You can also use Android Speech API, it is free, unlike Google Cloud Speech API.

like image 152
Nikolay Shmyrev Avatar answered Mar 16 '26 04:03

Nikolay Shmyrev