Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Text to Speech in android application

Text to Speech in android application

Put your problem here if it does not fit any of the other categories.

Text to Speech in android application

Postby swathi » Sat May 23, 2009 11:02 am

I have tried to do text to speech application . Steps i have done for this are as follows:
1.Install tts_1.2_rc_00.apk file in emulator.
2. Create a project ,activity class is like this

public class SpeechActivity extends Activity {
private TTS myTts;
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
myTts = new TTS(this, ttsInitListener, true);
}
private TTS.InitListener ttsInitListener = new TTS.InitListener() {
public void onInit(int version) {
myTts.speak("Hello Myname is swathi muddineni", 0, null);
}
};
}
3.Added TTS_library_stub.jar to project
4.Created sdcard.iso file in android folder
5.run application
6.copy sdcard,iso file from android folder to tools directory.
7.Added "-sdcard C:\android-sdk-windows-1.5_r1\tools\sdcard.iso" in additional emulator command line options.
8.Run application again,"sdcard.iso.lock " folder id created in tools directory .
i didn't get speech, the following errors are shown in logcat

I/ActivityManager( 592): Process com.google.tts (pid 2496) has died.
W/ActivityManager( 592): Scheduling restart of crashed service com.google.tts/.TTSService in 128
E/ActivityThread( 592): Failed to find provider info for android.server.checkin


Can anybody tell the steps for TTS in android
swathi
Freshman
Freshman
 
Posts: 4
Joined: Tue May 12, 2009 7:39 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot] and 12 guests