Am trying to implement text to speech its not working properly
below is the code snippet
private void speak()
{
String text = getText();
speech.speak(text, TextToSpeech.QUEUE_ADD, null); //getting null pointer
exception
}
--
--
You received this message because you are subscribed to the
On Tue, Jul 30, 2013 at 2:40 PM, Raghavendra Rao raghu1...@gmail.comwrote:
speech.speak(text, TextToSpeech.QUEUE_ADD, null); //getting null pointer
exception
Have you debugged your app to determine what is null ... ?
Yes i have.. its showing invocation Targetexceptioninit. But the same
code snippet is working fine when i execute that separately, after
integrating that with my code its causing this problem
On 31 Jul 2013 04:19, TreKing treking...@gmail.com wrote:
On Tue, Jul 30, 2013 at 2:40 PM, Raghavendra
Yes i have.. its showing invocation Targetexceptioninit.. The jar file
e:\android\android-sdk-windows\platforms\android-17\android.jar has no
source attached. But the same code snippet is working fine when i execute
that separately, after integrating that with my code its causing this
problem
On
On Tue, Jul 30, 2013 at 9:03 PM, Raghavendra Rao raghu1...@gmail.comwrote:
Yes i have.. its showing invocation Targetexceptioninit.. The jar file
e:\android\android-sdk-windows\platforms\android-17\android.jar has no
source attached.
You should download the android sources so you can step
Hey its working now, actually i missed to initialize the speech variable.
Thanks
On 31 July 2013 07:55, TreKing treking...@gmail.com wrote:
On Tue, Jul 30, 2013 at 9:03 PM, Raghavendra Rao raghu1...@gmail.comwrote:
Yes i have.. its showing invocation Targetexceptioninit.. The jar file
On Tue, Jul 30, 2013 at 9:31 PM, Raghavendra Rao raghu1...@gmail.comwrote:
Hey its working now, actually i missed to initialize the speech variable.
Thanks
Uh huh... when I asked have you debugged your app ... this is why. =P
I'm having a problem with the OnUtteranceCompletedListener in
TextToSpeech. In execution of the code below, the listener is
registered successfully, but OnUtteranceCompleted is never executed. I
tried this with both the Eclipse emulator (2.3) and an HTC phone
(2.2).
I saw some earlier reports of
8 matches
Mail list logo