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
Post a Comment