Java Google Speech Recognition API - java

I developed a Java Application that used Google Speech Recognition, but from few days/weeks ago it doesn't work, i'm receiving this message.
java.io.IOException: Server returned HTTP response code: 403
I saw a little bit information about what is happening in this Post.
After that, i registered in https://console.developers.google.com and then i'm trying to use the following URL and i'm having the same response.
https://www.google.com/speech-api/v2/recognize?output=json&lang=es-EN&key=MY_KEY
Furthermore, in the console developers i'm not seeing in any place some API that it's called speech recognition or similar :(
Anybody has a solution? Thanks

Google shutdown the V1 API. Luckily, there is handy unofficial Java implementation for the new v2 version located here.
A key is required to get it working. You need to also subscribe to the chromium developers newsletter to be able to see the option for that key. Full instructions are included on the wiki of the project.

Related

APIException 9011 and 9010 error in Places SDK

I am new to Android Development and I am learning Maps SDK for Android.
My API key for Maps SDK is working fine and I am able to see Map on my screen with a marker.
But the problem is, I am not able to use the Place Autocomplete service and facing the following two errors:
APIException code 9011
APIException code 9010
Here my Places SDK is not working though I have enabled it while creating API Key. I have searched about these two errors but yet I am unable to find the reason for the above-mentioned errors. Sorry for using bad English, please tell me the reason why it's happening with me.
These are the errors you are getting:
https://developers.google.com/places/android-sdk/reference/com/google/android/libraries/places/api/net/PlacesStatusCodes#public-static-final-int-over_query_limit
and
https://developers.google.com/places/android-sdk/reference/com/google/android/libraries/places/api/net/PlacesStatusCodes#public-static-final-int-request_denied
Make sure you are using the newest Places SDK client and that you are have enabled the Places API.
https://developers.google.com/places/android-sdk/client-migration
You can check these above mentioned APIException codes at link. After that Ensure that your Places SDK is turned on. But places SDK will only work if you have attached your credit card to the Google Maps account. that's all.

Implementing Clarifai API

I need some help with connecting hte Clarifai API into my android app. It's for a uni project where we tests different image recognition softwares. All it needs to do is take a picture on the phone and then run recognition on the pituces (which will be buildings).
I have no idea how to do this which is why i'm throwing this hail mary in the hope that someone would help me. I've put what i have in a drive here: https://drive.google.com/drive/folders/1LH79C0JtpBBpAMdKqNjKfYfj3KTvLgAh?usp=sharing
How can I solve this?
To use the Clarifai API on Android, you should use the Clarifai API Java client. Alternatively, if you wish not to install the library, you can do REST and execute HTTP requests directly using JSON. See the developer's guide for examples.
Note: There's also an Android SDK in works, which is beta at the time of this writing. See here on how to join the beta program.

SendGrid API for Android using Java

Upon deep research, I was unable to integrate and send emails from SendGrid in the Android Application. SendGrid has Java API for sending emails but adding the dependency in Android Studio throws errors when a build is made. Also, there was a library by Dany Santiyago in GitHub but sadly it doesn't work too. It throws an error saying
More than one file was found with OS independent path 'META-INF/LICENSE'
I followed the guidelines in the question in Stack Overflow but again a new error came saying unable to merge dex. Please suggest a way to integrate SendGrid to the Android Application.
There is no perfect workaround as SendGrid doesn't have an Android API or SDK.
I found this on github : https://github.com/thinkingserious/sendgrid-android-example
The code is not production ready but I am using this in my Android app and it works fine. Leaving this here, for anyone for future reference.

Run a program and have it output to JPanel/JFrame

I would like to know if it is possible to run a program (ie Google Chrome, Skype etc) and have it output onto my JPanel/JFrame (so I can have Google Chrome inside my Application). And if so, how to do it.
it´s possible if the applications have an java api (an interface for you the developer) google chrome you could open without an api just as a normal browser and go to a targeted website for example :)
just do a google search i found on the first google site some java apis for skype for example
this one https://github.com/taksan/skype-java-api
and use them
i hope i could help you :)

Are there examples of good Android Twitter clients?

Are there examples of good Android Twitter clients? I would specifically like to learn how to handle # clicks etc.
UPDATE:
looking for open source code
Of course "good" is very subjective.
Zwitscher is my open source client, that runs on Android and uses the Twitter4j api; a binary version has also been posted to the market.
Here is a sample I made showing how to login with twitter, any other twitter API call would be the same as I do on line 74. As for handling # click take a look at the Linkify API

Categories