Text to Speech with Xamarin.Forms

Hi Guys,

Today, I am gonna teach you how to integrate Text-To-Speech functionality to your mobile apps. Text-To-Speech is a very rich and cool feature to integrate. It will improve the user friendliness and attractiveness of your application. Now let see, how we can use it with Xamarin.Froms.

For this tutorial, I am gonna use Xam.Plugins.TextToSpeech plugin which is written by James Montemagno.

Nuget: https://www.nuget.org/packages/Xam.Plugins.TextToSpeech/

Now lets create,

  1. Create a Xamarin.Forms App.

Screen Shot 2017-07-15 at 9.32.57 AM


2. Create the UI

Screen Shot 2017-07-15 at 9.53.07 AM


Screen Shot 2017-07-15 at 9.46.23 AM

3. Add Xam.Plugins.TextToSpeech from Nuget

Screen Shot 2017-07-15 at 9.49.57 AM

Note: You have to add this package to each project in the solution (PCL, .iOS, .Droid).


4. Wiring up

Screen Shot 2017-07-15 at 10.00.02 AM


5. Build and run.

Screen Shot 2017-07-15 at 9.46.23 AM                Screen Shot 2017-07-15 at 10.03.02 AM




Get the source code from https://github.com/hiranpeiris/TTS

Happy coding… 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s