Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tts = new TextToSpeech(context, new TextToSpeech.OnInitListener() {
- @Override
- public void onInit(int status) {
- Log.d(Constants.APP_TAG, "tts onInit. Code = " + status);
- if (status == TextToSpeech.SUCCESS) {
- Log.d(Constants.APP_TAG, "Speaking text now");
- BeepActionManager.ttsInitCode = TextToSpeech.SUCCESS;
- speak(msg);
- }else{
- showTTSNotWorking(context, ttsInitCode);
- }
- }
- });
- 12-15 01:45:01.567 23113-23113/com.mindedges.beephourly E/AndroidRuntime: FATAL EXCEPTION: main
- Process: com.mindedges.beephourly, PID: 23113
- android.content.ReceiverCallNotAllowedException: BroadcastReceiver components are not allowed to bind to services
- at android.a
Add Comment
Please, Sign In to add comment