[Solved] I am working on OCR reader application. below is my java code. My question is how to start another method if one is completed?

[ad_1]

just use the same mode on text to speech ADD and it will play when the first one is done, ADD = ADD, FLUSH = reset

textToSpeech.speak("this will play when first is done", 
TextToSpeech.QUEUE_ADD, null);

[ad_2]

solved I am working on OCR reader application. below is my java code. My question is how to start another method if one is completed?