[android-developers] Re: TTS / Jellybean

2012-10-12 Thread David Appledore
Same problem any solution?

On Monday, July 23, 2012 11:37:53 PM UTC+9, Pent wrote:

 On my Nexus S European GSM 4.1, if not all possible languages are 
 installed for the 'Google Text-to-speech Engine' then checking TTS 
 data with this action... 

 TestToSpeech.Engine.ACTION_CHECK_TTS_DATA 

 ...results in immediate return in onActivityResult of result code 
 CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the 
 languages that *are* installed. 

 In other words, it's apparently impossible to get a list of available 
 voices for the engine until *all* of the possible voices are 
 installed. 

 Users aren't going to be impressed at having to download e.g. Italian, 
 Spanish, French etc before being able to say something in e.g. 
 English. 

 Logic lapse there somewhere ? 

 In 4.0.4 and prior the installed voices were returned. Other voices 
 could be downloaded via the TTS config in settings. 

 Did I miss some extra API part ? 

 Pent 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TTS / Jellybean

2012-08-16 Thread Luis Ibáñez
I have a problem with this solution, this 
isLanguageAvailable(Locale.getDefault()) always returns -2, I have tried 
also with Locale.ENGLISH, Locale.UK, Locale.US and always returns -2. 

I have tried to use TTS directly and is working, so it's installed, but 
isLanguageAvailable always returns -2.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TTS / Jellybean

2012-07-31 Thread Klemens
Same problem here. I suppose this will break the usability of a lot of 
existing apps.

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TTS / Jellybean

2012-07-29 Thread Martin Long
I'm getting the exact same issue. It's annoying, and I'm starting to get 
compaints from customers.

On Monday, 23 July 2012 15:37:53 UTC+1, Pent wrote:

 On my Nexus S European GSM 4.1, if not all possible languages are 
 installed for the 'Google Text-to-speech Engine' then checking TTS 
 data with this action... 

 TestToSpeech.Engine.ACTION_CHECK_TTS_DATA 

 ...results in immediate return in onActivityResult of result code 
 CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the 
 languages that *are* installed. 

 In other words, it's apparently impossible to get a list of available 
 voices for the engine until *all* of the possible voices are 
 installed. 

 Users aren't going to be impressed at having to download e.g. Italian, 
 Spanish, French etc before being able to say something in e.g. 
 English. 

 Logic lapse there somewhere ? 

 In 4.0.4 and prior the installed voices were returned. Other voices 
 could be downloaded via the TTS config in settings. 

 Did I miss some extra API part ? 

 Pent 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TTS / Jellybean

2012-07-27 Thread Michael Kendle
I'm having the same problem with my app. Only an issue with Jelly Bean, 
worked fine before.

On Monday, July 23, 2012 9:37:53 AM UTC-5, Pent wrote:

 On my Nexus S European GSM 4.1, if not all possible languages are 
 installed for the 'Google Text-to-speech Engine' then checking TTS 
 data with this action... 

 TestToSpeech.Engine.ACTION_CHECK_TTS_DATA 

 ...results in immediate return in onActivityResult of result code 
 CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the 
 languages that *are* installed. 

 In other words, it's apparently impossible to get a list of available 
 voices for the engine until *all* of the possible voices are 
 installed. 

 Users aren't going to be impressed at having to download e.g. Italian, 
 Spanish, French etc before being able to say something in e.g. 
 English. 

 Logic lapse there somewhere ? 

 In 4.0.4 and prior the installed voices were returned. Other voices 
 could be downloaded via the TTS config in settings. 

 Did I miss some extra API part ? 

 Pent 


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: TTS / Jellybean

2012-07-27 Thread Michael Kendle
So I believe I figured out a way around this, which IMO is nicer anyway.

Rather than check the TTS data before I create the TTS object, I just 
create it and then call:

myTTS.isLanguageAvailable(Locale.getDefault()) // for the default locale, 
can change to whatever

to see if there's TTS data available for that object. Worked fine in 
testing, waiting for Play Store to push update to test production. Also, I 
don't have the code in front of me, so I may have mistyped the syntax, but 
it's something like that. Googling it will find a more thorough explanation.

On Thursday, July 26, 2012 10:13:50 PM UTC-5, Michael Kendle wrote:

 I'm having the same problem with my app. Only an issue with Jelly Bean, 
 worked fine before.

 On Monday, July 23, 2012 9:37:53 AM UTC-5, Pent wrote:

 On my Nexus S European GSM 4.1, if not all possible languages are 
 installed for the 'Google Text-to-speech Engine' then checking TTS 
 data with this action... 

 TestToSpeech.Engine.ACTION_CHECK_TTS_DATA 

 ...results in immediate return in onActivityResult of result code 
 CHECK_VOICE_DATA_MISSING_DATA with no voice data extras for the 
 languages that *are* installed. 

 In other words, it's apparently impossible to get a list of available 
 voices for the engine until *all* of the possible voices are 
 installed. 

 Users aren't going to be impressed at having to download e.g. Italian, 
 Spanish, French etc before being able to say something in e.g. 
 English. 

 Logic lapse there somewhere ? 

 In 4.0.4 and prior the installed voices were returned. Other voices 
 could be downloaded via the TTS config in settings. 

 Did I miss some extra API part ? 

 Pent 



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en