Android custom tts voice - android

I have done a lot of research around the topic. What I want is simply a custom voice (not default voice on device) for my app. Wherever I have searched people suggest using device default.
Best example is Jarvis app on Play store.
I would like to create a uniform experience on any device with this approach. Can someone suggest any good libraries or a way to achieve this?

There is tacotron from google for this purpose.
But i am not sure if the android version is available yet.
Its under developement and probably google assistent is using it.
But they use mostly cloud version on python.

Related

Android Parental Control API

I wanted to know if Android SDK provides built-in api for parental control?
So far from my research I have seen it is possible to use background service and VPNService to restrict websites, screen time and applications but it need to be highly customized and very specific in order to achieve these.
I have also encountered [Android Enterprise][1] but, and correct me if I am wrong here, It is not a viable solution since the app I want to develop is meant to be uploaded to Play Store for the wide public to download.
I was wondering if there is a built-in feature/ framework that I missing in order to develop an application that can enforce parental control policies on the device.
Thanks

How to use custom Google Assistant commands without "Let's talk to" and without IFTTT

I know this is broad question but I've spent counless hours searching for the right solution. Google provides at least 15 different types of Google Assistant connections all of them are different and I don't know which one to use for my project. The project is pretty simple - I would like to call dynamic url with parameters (webhook to my home server) from mobile Google Assistant.Example - I would say to my Android mobile phone
> Ok, Google set the TV volume to 50
and the assistant would call
GET "https://192.168.1.12/tv/volume/50
or
GET "https://192.168.1.12/?device=tv&action=volume&value=50
where 'tv', 'volume' and '50' are the dynamic parameters (not static) so I could also call
> Ok, Google set the TV channel to 132
I just want a link or a name of the Google dev console that I can use. I don't want to waste another several hours just to find out that another Google package is not suitable for my project. Have anyone done something similar?
PS
I know that I could achieve something similar with "Ok, Google let's talk to ...." but that is not my case.
also I CAN'T USE IFTTT
There's no one-click mechanism to do this directly in Assistant. The smart home platform allows you to configure a service that would capture commands such as Channel and Volume and let you handle those commands in the way you want, using a cloud backend and optionally the Local Home SDK.
This may be a bit more work than you want, and you may want to consider existing smart home platforms which may handle some of the backend work such as https://homeassistant.io which does have an Assistant integration already, though I'm less sure of whether it may work in your use case.
It's hard to answer your question without knowing your constraints. Are you a developer? Are you looking to make a commercial app? For non-commercial use you can use the Google Assistant Service to create custom commands that do whatever you want (including call your API). As a benefit, you don't have to say "hey Google" before your command.
Also, it would help to know why you can't use IFTTT, given that it seems to do exactly what you're asking for.

Form filling in my android app on voice command

I am researching ways to implement form filling via voice command given by user inside my application.I have searched two options but no one is seems useful and I am bit confused here.
First I tried with android voice to speech library integration.It gives me text but isn't smart enough to converse with as google assistance do.
Then second I tried to integrate google assistance with api.a. It provides the user conversation but it is like adding command to google assistance .It doesn't provide me voice to text data so that I can fill form and do further operation.
Please suggest me ways to implement.
You can use the SDK provided by Slang Labs which allows you to add a custom voice experience inside your app. You can create a "buddy" in their console and configure the kind-of intents/utterances you want to handle. Then integrate its SDK into your app, which takes care of all the voice-related functionality and you can register callbacks for the intents you have configured in the console to handle the app-specific actions.
(disclaimer: I am a co-founder of Slang Labs :-))
You wouldn't use Actions on Google through Dialogflow for your implementation but rather the Google Assistant SDK which is meant for devices.
However, in your case it may make sense to use Dialogflow's Android client. You would not need to pull all of the Google Assistant's capabilities and the voice interaction would be limited to your own application.

Is it possible to create Android live wallpapers using cocoonjs?

As per the question title, is there a way to implement an Android live wallpaper using CocoonJS? Either as a standalone app or as an additional service of an existing app, it doesn't matter. I can't seem to find any evidence at all that this is possible, although there doesn't seem to be any technical reason for it.
I've been developing games with cocoonjs and I do not know of any API call to set a wallpaper.
Here you can see what you can do with the cocoonjs javascript API:
http://doc.ludei.com/3.0.5/
At the moment you can not add any more functionality than this API provides.
Nevertheless, there are plans for the future to make it possible to write own plugins :)
Regards

Is there a way to leverage the google voice recognition library?

Android has a really marvelous voice recognition feature built into google translate. As far as I can tell, this is the only app that offers you the ability to speak in a foreign language, and have the app transcribe what you said (and subsequently translate it to another language).
I'm curious if anyone knows how one might leverage the voice recognition lib and utilize it for things other than translation. Specifically, I want to be able to dictate text for email. I googled around a bit, but was unable to find anything. Curious if this functionality is exposed to the wider developer community (like most everything else under the Google roof).
TIA
I think this is as close an answer as I'm going to find.
http://developer.android.com/reference/android/speech/RecognizerIntent.html#ACTION_GET_LANGUAGE_DETAILS

Categories

Resources