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

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 - Activity restarts After Pressing the Home Key

Activity restarts After Pressing the Home Key

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

Activity restarts After Pressing the Home Key

Postby Karthikayan » Wed Jun 10, 2009 2:10 pm

Hi Everyone,
I'm porting a j2me game to android. I have a problem that the Activity restarts After Pressing the Home Key when the application is active. The control goes to onPause when i do press the home key. When I open the game the game restarts the game. Is there Im missing.

Thanks
Karthikayan
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 23, 2008 4:57 pm

Top

Postby Abu » Thu Jun 11, 2009 2:59 am

kindly check if there is any broadcast reciever associated for the HOME key in your application .

if so ,

check the intent declaration and use

<Intent object>.setFlags(FLAG_ACTIVITY_SINGLE_TOP);

this will make sure there is no more new activity created if there exists any , already.
NascentAndroidian
Abu
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Dec 16, 2008 3:42 am
Location: India

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 5 guests