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: No registered users and 15 guests