android studio app, press home button while application is working -


i developed android studio app.

however, when pressed home button while playing app phone.(not android emulator)

then start app again, shows splash activity first shows 1 error.

like unfortunately, app stopped.

what want is, when pressed home button , start app again,

then should start activity pressed home button.

don't show splash thing again.

as understood, have problems activity lifecycle. think this link you.


Comments

Popular posts from this blog

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

php - Passing multiple values in a url using checkbox -

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -