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

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

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -