mSpeechListener = new SpeechListener(this);
mSpeechSynthesizer = new SpeechSynthesizer(this, "holder", mSpeechListener);
mSpeechSynthesizer.setApiKey(ApiKey.BD_TTS_API_KEY, ApiKey.BD_TTS_SECRET_KEY);
mSpeechSynthesizer.setAudioStreamType(AudioManager.STREAM_MUSIC);
}
<BUG>String text = SystemUtils.voiceText(this, (Weather) mACache.getAsObject(mCity));
</BUG>
mSpeechSynthesizer.speak(text);
}
@Override

mSpeechListener = new SpeechListener(this);
mSpeechSynthesizer = new SpeechSynthesizer(this, "holder", mSpeechListener);
mSpeechSynthesizer.setApiKey(ApiKey.BD_TTS_API_KEY, ApiKey.BD_TTS_SECRET_KEY);
mSpeechSynthesizer.setAudioStreamType(AudioManager.STREAM_MUSIC);
}
String text = SystemUtils.voiceText(this, (Weather) mACache.getAsObject(mCity.name));
mSpeechSynthesizer.speak(text);
}
@Override
