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
[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 - Android State Problem

Android State Problem

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

Android State Problem

Postby zhugeliang » Thu Feb 24, 2011 5:51 am

Hi everyone,
I had developed an application and published it to Android market for a week . I just find a problem about Application opening.
My application have 3 Activity.
A.) Splash Page >> B.) Main menu >> C.) the other Activity

When it is opened , A will be run for a second , then it will be finish and B will be run when user can an action to open C.

MY Problem.

I open my Application , A is show first and then it will be finished and B is created normally. After that I click on home button to pause my Application and press Application icon again to open it. B is resumed.
But If I press home button to pause my application and go to Android Market, search for my Application and click open button in there. B is not resumed . But it will run A like my application is opened overlap.

Does anyone know how to fix this problem ?
Is Intent sending from icon and market open button different ?

Thanks,
Regards
zhugeliang
Developer
Developer
 
Posts: 29
Joined: Mon Dec 14, 2009 9:49 am

Top

Re: Android State Problem

Postby blundell » Thu Feb 24, 2011 11:14 pm

Why is this a problem?

The market app probably kill's any instance of the app and starts a new one. I.e. an intent with flag start new.
User avatar
blundell
Master Developer
Master Developer
 
Posts: 1610
Joined: Tue Nov 18, 2008 12:58 pm
Location: UK

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: MSNbot Media and 12 guests