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 - Avoid Activity to destroy itself

Avoid Activity to destroy itself

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

Avoid Activity to destroy itself

Postby Polamalu » Thu Mar 25, 2010 3:41 pm

Hi, first of all hello to everyone and sorry for my bad english.

I have and aplicattion that uses the TTS library a lot. I have and activity "Speaker" as my entry point to the app where I inicializate the tts. Then others activity calls a static method speakThis(String s) and the Speaker works fine.
The problem is where the app was running for about 5-10 minutes, the Activity Speaker is destroyed (I had a Toast in the onDestroy() that shows when its called).
I was reading about activity lifecicle and the task stack but couldn't find a way to solve this.

Any ideas?

Thanks in advance.
Polamalu
Freshman
Freshman
 
Posts: 4
Joined: Thu Mar 25, 2010 3:32 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 11 guests