i wrote little chat client uses activity , service design android.
the main time client running, service runs in background , notifys new messages. problem: service should speak incomming message of internal tts system, have no how build "new texttospeech()" service!
is there possibility create 1 without having activity? , if, how?
regards christian
refer android developers texttospeech link here.
texttospeech constructors below.
texttospeech(context context, texttospeech.oninitlistener listener) constructor texttospeech class.
sample code refer here.
Comments
Post a Comment