java - Android app cannot run in the background -


i click on "home" button run in background app.a few hours later open app again,but run oncreate() method.i tried used android:alwaysretaintaskstate attribute , saw didn't change anything. should do?

activities cannot run in background. there got services. espacialy @ startforeground, have it's limitations. there isn't other way.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -