Does Google Cloud Speech API save my sound recordings? - java

I want to use Google Cloud Speech API for clinical purposes.
It is important to know, if Google Cloud Speech save my sound recordings?
Does anyone know that?
I am very thankful for answers!
Greeting
Melanie

To help Cloud Speech-to-Text to better suit your needs, you can opt into the data logging program. The data logging program allows Google to improve the quality of Speech-to-Text through using customer data to refine its speech recognition service. As a benefit for opting in, you gain access to enhanced transcription models that Google has trained by using data collected through the data logging program.
So yes, to improve its service, it might keeping track of your data (even if anonymously).
Your data collected through data logging enjoys the same level of security as all other Google Cloud services. The Google security model is an end-to-end process, built over 15 years of experience and focused on keeping customers safe on Google applications like Gmail, Search and other Apps.
I won't go deeper into this since this is a legal-related question and maybe hasn't its place on this site.
For more information about Google's security policies, see the Google Cloud security whitepaper.

Related

Choosing right service for data storing in an app

I'm trying to build a mobile application on Android, and being new to cloud services in development, I was shocked at how many options were thrown at me. The app will only upload store and use pictures from the cloud, there won't be many at once (+-100). Also, I want all of them to be centralized (I guess it's basically a server).
I was met with options like: Google Drive API, Google Cloud Storage, and a few more Google and non-Google services, and I'm a bit confused as to which is the most suitable for my needs.
Preferably it would be a free service, but I work with what I get.
All your suggestions are welcome, and thank you.

How does a website and android app connects?

I am new in android development and i have been developing android apps using cloud firebase but how can i make an app for a website which is not using firebase. I know i need to connect to its database but what if the website is hosted on wordpress.com which does not provide phpmyadmin. So is there any other way? I know there is something called rest api. Can we use rest api in websites that are developed in some framework like codeignitor? Please explain what rest api is and is there any other way to get the data for our app? Please let me know thank you.
This is going to be tough. Usually, an application communicate with a web service. A web service may be a Rest API, Firebase or any hosted service that can provide data (I don't know all of the subtilities of it).
Explaining to you how all of this works wouldn't work here as it will be objective as every application have different needs and every developper have preferences on how he want his application to communicate with the world.
One thing you should avoid at all costs would be to access an online database directly from your application as it is a huge security flaw.
Here are some links that will help you understand better all of this.
REST API concepts and examples
Make an HTTP request with Android
Web services explained
I am well aware that stackoverflow answer shouldn't be mainly links but I still thinks that they will be relevant to your problem. Be aware that this answer doesn't even cover a little part of communication between an application an a webservice. You'll have to learn that by yourself, using courses and tutorials.

How to make an API to interact with my app

How can I make an online server to access API's and handle requests? Then how can I have my android app access this online server to make requests?
I have an android app that I am building for a school project. This app will need to use multiple APIs to gather information to display to the user. However I don't want to allow people to decompile to source code and take my API keys. My plan is to build an online application that will do all of this work on the server side. This way the user only submits a query and the server sends information in response to their request. This will speed things up for the user and keep the keys from being accessed by other individuals.
Steps I think I need to take.
Set up server to access the API's
Make app access online server through HTTP requests
3....
4...
I have a very general concept in my head, but I'm not sure where to begin. If I'm wrong on any part of this question please correct me.
I do plan on moving this to the app store in the future.
edit: Do you know of tutorials that show the building of the API and then loading it to Amazon AWS or another server?
There are many options when building restful services for api consumption. You could start with php, which is the easiest to start with. Here is a nice tutorial that takes you through the initial stage all the way to the end of building login system for android using mysql and php as the server language. It contains the barebone details of setting up the infrastructure and logic. I think from there you manipulate and go further.
https://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/
check out java rest easy, it is a nice tool to use to build web API's. You can host it for cheap at red shift or amazon using their pay what you use billing.
The cheapest way for you to host your REST API is to use Amazon's API Gateway. You pay for what you use and pay nothing if it is not being used. API Gateway plays very nicely with Amazon's Lambda service that allows you to run discrete code units - again, you only pay for what you use. Lambda itself plays nicely with Amazon's pay-as-you go NoSQL datastores (SimpleDB and DynamoDB).

Storing and retrieving user data in android apps?

I'm very new to development and would like to create an app for an android TBS game that I would also like to build on later by developing a desktop application. I'd like to know how to go about storing user data in a secure way that would allow the user to be able to sign in on a possible future desktop application. From what I've read on data storage, I think what I need is to store a sheet containing fields for the user's email, password, username, and a class containing player specific stats on a web based service. How can I also take advantage of google play services to help me with this? Thanks in advance
You could start by looking into Firebase, a platform that was acquired by Google and has seen some great overhauls lately. It gives you free storage and database space (up to a certain level of usage of course) and works cross-platform for Web, Android and iOS.
Check out https://firebase.google.com/ for the docs and some quick-start guides as well as presentations from the latest Google IO: https://www.youtube.com/user/Firebase/videos
Android Game Services allows you to Store user data, to set achievements, to share informations with social medias, to make a leaderboard and to make a multiplayer game.
https://developers.google.com/games/services/
You should use them for cross platform purpose.
You can check Android Doc in storage options:
Data-Storage
If you want share in future the data with desktop, you will need the data in some online storage. Check Firebase, from Google, or Parse.
Firebase
Parse

cloud drive usage in Android App

I am planing to make an android app which download required files from cloud drive Amazon or Google drive.
Details:
Let we have 30 lectures on cloud drive user can download a lecture {according to need/Intrest} from cloud drive using my android app.
Just i need is the public URL of the data stored in cloud drive. Or any API that can do this job {Amazon, google drive...etc}
How to do this ? is there any Cloud API or something that help me ?
There are plenty of APIs available. Amazon's API/SDK is here. Rackspace has one as well, iirc. Google Drive and Dropbox aren't really public-facing cloud-storage, and you would probably want to look very closely at their TOS before utilizing them. For any public-facing services, I generally use a small php-app which talks to the mobile app and delivers the time-limited url for the requested content. This prevents side-loading and allows me to switch CDN providers without changing the app.
To get a more specific answer, you probably need to ask a more specific question.
If you are looking to host a number of video lectures and have any user download them you probably want to use Amazon S3. Cloud drive is for each user of the application to download and upload videos to their (the end user's) cloud drive account. Google drive is similar. Amazon S3 lets you (the developer) hold onto the data and then give it to your users.
The Android SDK for AWS can be found https://aws.amazon.com/mobile/sdk/
A getting started guide is http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/Welcome.html
Specifically content on uploading and downloading with S3 is http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/getting-started-store-retrieve-s3-transferutility.html (short version) and http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/s3transferutility.html (more detail)
You can also find a sample on GitHub (along with a tutorial) https://github.com/awslabs/aws-sdk-android-samples/tree/master/S3TransferUtilitySample
I know this probably sounds like huge overkill, but if anything changes in the future (and it will), this will help you enormously.
I'd probably create a web service that responded with HTTP redirects to a URL where the content currently is. If hosting cost is the issue, you could probably remain within the free tier on GAE pretty easily.
Amazon S3 is probably a decent fit here. Costs will probably be very low unless you start using a ton of bandwidth.
Now amazon have the cloud drive service with unlimited space for ~60$ per year.
Also have api for android.

Categories

Resources