android - Sending Activity to background without finishing -
how can make activity go background without calling finish()
method , return parent activity started this? tried not find solution. if guys thankful.
the following work if activity running in different task parent. achieve this, see http://developer.android.com/guide/topics/manifest/activity-element.html#lmode.
public void onbackpressed () { movetasktoback (true); }
the current task hidden, state remain untouched, , when reactivated appear when left it.
Comments
Post a Comment