Why Does The List Of Unavailable Voices Is Always Empty?
Android enables an application to query the platform for the availability of language files: simply instantiate the intent below and send it in an asynchronous request by using sta
Solution 1:
For the unavailable voices, I use the following:
ArrayList<String> unavailable = data
.getStringArrayListExtra("unavailableVoices");
The results are always in the format 'eng-GBR' or just 'eng'.
If I've misunderstood you're question and you're wondering why you don't get an 'unavailable' output specifically for your search of 'eng-USA-female' (rather than at all), then I can only suggest the format isn't suitable to be past to the search. I would suggest searching 'zzz-ZZZ' to see where the actual problem lies...
Hope that helps.
Post a Comment for "Why Does The List Of Unavailable Voices Is Always Empty?"