In that situation you need to do -

A)

1. generate the wav file and use the MediaPlayer
2. through media player you can pause and play from you desire position

B)

1. read all text in string, before passing to tts
2. read the position where you are pausing the tts
3.read text from that (paused) position
4. pass this text as iterative way to tts method





On Mon, Jul 2, 2012 at 3:35 PM, Deepa M <deepam8...@gmail.com> wrote:

> Sir,
> https://alltechsolution.wordpress.com/2011/10/18/texttospeach-example/
> this application just stops tts service if i play back it is going to
> start from scratch..
>
> i want tts has to play text from where i clicked pause button...
>
>
> On Thu, Jun 28, 2012 at 6:10 PM, Fabien R <theedge...@free.fr> wrote:
>
>> On 28/06/12 13:52, Deepa M wrote:
>> > Dear All,
>> > How to pause and playback the text in android code!!!
>> >
>> >
>> >
>> >
>> I think you have to generate the wav file and use the MediaPlayer to
>> achieve this.
>> -
>> Fabien
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to android-developers@googlegroups.com
>> To unsubscribe from this group, send email to
>> android-developers+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>>
>
>
>
> --
> Thanks& Regards
> Deepa M
>
>
>  --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Thanks & Regards

Rakesh Kumar Jha
Android Developer, Trainer and Mentor
Bangalore
Skype - rkjhaw
(O) +918050753516
(R) +919886336619

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to