Giter Club home page Giter Club logo

android-google-cloud-speech-api's Introduction

android-google-cloud-speech-api

A demo using Android AudioRecorder and Google Cloud Speech API

This the first try to the Cloud Speech implementation using the gRPC channels.

The license file is empty, please require your's in the Google Cloud dashboard, here

android-google-cloud-speech-api's People

Stargazers

Jing-jiang LI avatar Niki van Stein avatar Pantelis Chasapis avatar BHARATH KUMAR GOUD SATHURI avatar  avatar Marcel Goya avatar omuomugin avatar wonno 노종원 avatar Zhang Shuai avatar  avatar  avatar  avatar

Watchers

James Cloos avatar Koen Betsens avatar Ricardo Malta avatar Rui Molefas avatar Cátia Araújo avatar pizza avatar Délio Amaral avatar  avatar

android-google-cloud-speech-api's Issues

error in raw not found in main activity

it could not find the raw in the code which created the error at compile time , and also where do i put my speech api key , i simply want to convert voice to text with all the language supported listed in google translation api, thanks.

java.util.zip.ZipException: duplicate entry

Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.

com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/protobuf/AbstractMessageLite$Builder$LimitedInputStream.class

I have error while executing this demo

Hi I'm trying to use your app to test cloud speech api.

I add my credentials.json file for license file and try to launch this demo.

Howver, when I push the START button on the app, I met the error like

05-30 19:21:20.988 7690-7781/com.cloudoki.demo3 E/AndroidRuntime: FATAL EXCEPTION: Thread-385
Process: com.cloudoki.demo3, PID: 7690
java.lang.NullPointerException: Attempt to invoke interface method 'void io.grpc.stub.StreamObserver.onError(java.lang.Throwable)' on a null object reference
at com.cloudoki.demo3.googlecloud.StreamingRecognizeClient.recognize(StreamingRecognizeClient.java:188)
at com.cloudoki.demo3.googlecloud.StreamingRecognizeClient$1.onError(StreamingRecognizeClient.java:93)
at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:395)
at io.grpc.ClientInterceptors$CheckedForwardingClientCall.start(ClientInterceptors.java:203)
at io.grpc.stub.ClientCalls.startCall(ClientCalls.java:273)
at io.grpc.stub.ClientCalls.asyncStreamingRequestCall(ClientCalls.java:266)
at io.grpc.stub.ClientCalls.asyncBidiStreamingCall(ClientCalls.java:109)
at com.google.cloud.speech.v1beta1.SpeechGrpc$SpeechStub.streamingRecognize(SpeechGrpc.java:206)
at com.cloudoki.demo3.googlecloud.StreamingRecognizeClient.(StreamingRecognizeClient.java:113)
at com.cloudoki.demo3.googlecloud.MicrophoneStreamRecognizeClient.(MicrophoneStreamRecognizeClient.java:56)
at com.cloudoki.demo3.MainActivity$1.run(MainActivity.java:32)

Would you know how can i resolve this issue?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.