Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8539777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:26:51+00:00 2026-06-11T11:26:51+00:00

i installed https://play.google.com/store/apps/details?id=com.ivona.tts and all their voices. How can i programmatically get list of

  • 0

i installed https://play.google.com/store/apps/details?id=com.ivona.tts and all their voices. How can i programmatically get list of all installed voices from ivona tts?

Is there any command for this in android SDK 8?

Can i programmatically change pico tts for ivona tts? Not for whole phone just for my program?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T11:26:52+00:00Added an answer on June 11, 2026 at 11:26 am

    To get list of installed TTS engines you should get uid of com.ivona.tts package:
    http://developer.android.com/reference/android/content/pm/PackageManager.html#getApplicationInfo(java.lang.String,%20int%29
    and then ask PackageManager for all applications that share this uid:
    http://developer.android.com/reference/android/content/pm/PackageManager.html#getPackagesForUid(int%29

    To change TTS engine use this method:
    http://developer.android.com/reference/android/speech/tts/TextToSpeech.html#setEngineByPackageName(java.lang.String%29

    (Please note, that this method is deprecated and on newer API levels you should use the following constructor:
    http://developer.android.com/reference/android/speech/tts/TextToSpeech.html#TextToSpeech(android.content.Context,%20android.speech.tts.TextToSpeech.OnInitListener,%20java.lang.String%29)

    Finally to set specific Ivona voice you must parse language/country/name from voice package name and pass it to:
    http://developer.android.com/reference/android/speech/tts/TextToSpeech.html#setLanguage(java.util.Locale%29
    eg. to choose com.ivona.tts.voicebeta.eng.gbr.amy you should use:

    tts.setLanguage(new Locale("eng", "gbr", "amy"));
    

    Here’s sample Activity that prints available voices to logcat:

    package com.example.com.ivona.tts.test;
    
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import android.app.Activity;
    import android.content.pm.ApplicationInfo;
    import android.content.pm.PackageManager;
    import android.content.pm.PackageManager.NameNotFoundException;
    import android.os.Bundle;
    import android.speech.tts.TextToSpeech;
    import android.util.Log;
    
    public class TTSActivity extends Activity implements TextToSpeech.OnInitListener {
        private static final String TAG = "TTSActivity";
        private TextToSpeech tts;
    
        @Override
        public void onCreate(Bundle savedInstanceState) {
            super.onCreate(savedInstanceState);
            setContentView(R.layout.activity_main);
    
            tts = new TextToSpeech(TTSActivity.this, TTSActivity.this);
        }
    
        @Override
        public void onInit(int status) {
            PackageManager pm = getPackageManager();
    
            ApplicationInfo ai = null;
            try {
                ai = pm.getApplicationInfo("com.ivona.tts", 0);
            } catch (NameNotFoundException e) {
                e.printStackTrace();
                return;
            }
    
            String[] ivonaVoices = pm.getPackagesForUid(ai.uid);
    
            Log.d(TAG, "Possible tts.setLanguage() usage:");
            Pattern p = Pattern.compile("^com\\.ivona\\.tts\\.voicebeta\\.([^.]+)\\.([^.]+)\\.([^.]+)$");
            for (String voice: ivonaVoices) {
                Matcher m = p.matcher(voice);
                if (m.matches())
                    Log.d(TAG, String.format("tts.setLanguage(\"%s\", \"%s\", \"%s\")", m.group(1), m.group(2), m.group(3)));
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Lookout app (https://play.google.com/store/apps/details?id=com.lookout), I see every time I install or upgrade app, it'll
I have installed MacVim, and https://github.com/skwp/dotfiles (including all the dependencies such as zsh, etc).
I have an app called static HTML (https://apps.facebook.com/static_html_plus/?ref=ts) installed on a page of mine..
Not all Android devices have the Google Play app installed. So, what will happen,
I've installed ImageMagick with ImageMagick installer script https://github.com/maddox/magick-installer . I am on OSX Lion
I installed rack ssl for Rails 3.07 per these instructions: http://www.simonecarletti.com/blog/2011/05/configuring-rails-3-https-ssl/ It is not
Here's what I've done so far: I've installed Homebrew: /usr/bin/ruby -e $(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)
I've downloaded the .zip of this project here: https://github.com/SteveDunn/Gleed2D And I installed Visual Studio
I came across Nvidia optimus implementation for linux called bumblebee project https://github.com/Bumblebee-Project I installed
Having issues with my apps on Google Play. I have a free app which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.