How to minimise/hide app programmatically?
问题 I have an activity which is purely transparent (user can't see when it gets open).I open this activity from background service whenever I want to open it. After doing some work, I need to close that activity (not finish() ).I want to hide or minimize app. Actually, my app opens up for a second and do someWork after doing someWork , it continues to do remaining work (some uploading process) in background i.e. in onPause .I don't want user to know that something opens & closed immediately.