0

I have app one of its activity will be like texts in arabic (textview) and below each text how its written in turkish language text (textview), beside it image button , when press this its speach the turkish text loudly in turkish language like that one of google translate application ( but i dont want EditText to write on it just textview with button , when press button it read the textview ), as below :

   صباح الخير     

enter image description here Günaydın

    كيف حالك         

enter image description here Nasılsınız

and so on for around 100 , 200 words and also around 200 phrases and sentences.

i don't know how or where to start also i searched google but i can't specify my search regard what i need .

any help will be highly appreciated , thanks

androidqq6
  • 1,526
  • 2
  • 22
  • 47

2 Answers2

0

As you need the sound of only around 100 words. I think it is better to create your own sound clip for each words and store it. Then keep a (word, sound) mapping so that you can know which sound is to be played when a specific text is pressed. After a word is pressed then play the related sound. You can use SoundPool for that.

stinepike
  • 54,068
  • 14
  • 92
  • 112
  • im not expert in turkish language accent and phonetix also may i need more than 100 word also there will be many phrases included so,i need some thing like voice reading turkish word and phrases as google translate but the difference in google translate theres edit text to write what you want to translate in my case arabic and turkish words and phrases already written by me just need turkisk voice, thanks alot – androidqq6 Apr 13 '13 at 06:05
  • find if the google translator mp3 can be downloaded. As far I know it was possible. SO from there you can download all the speeches – stinepike Apr 13 '13 at 06:23
  • i searched google alot but i cant find any solution to downloaded as mp3 – androidqq6 Apr 13 '13 at 10:56
0

If you have fixed number of words or phrases and sentences,i also suggest to have the Turkish sound reading your words and phrases as custom clips recorded from Google translate , as now Google translate voices is not free and many site before offers Google translate sound as mp3 download now not available.

so you have alternative way : open Google translate app , write any words or sentence you want to translate from Arabic to Turkish and before you press the speaker image in Google translate to hear the Text voice reading of that word , open the default voice recorder of your device and atart recording then press the speaker image on Google translate , it will record the Turkish sound translation , and so on for all words you need then use it as clips dedicated to each word and phrases will be used in your app , i think this is suitable way to do .

Hope this will help you

Android Stack
  • 4,314
  • 6
  • 31
  • 49