text to speech using eclipse

A

AC Question

i want to have voice prompt in my android app.., i have used the text to speech program for this, that program will take user input in the form of edit text and then speak out that text, i want to use that program for voice prompt like when the time is set it will speak out this phrase " your time is set to" and the new time which is set by time picker like 08:00,so it should speak like "your time is set to 8 o' clock" can anybody help me out in this please ??