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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -