Android: How to start Activity in background
android, android-activity
Solution
You should use Services for this - in addition the Class Description.
Problem
Usually I start an activity with this code: ``` Intent i = new Intent(context, MyActivity.class); i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(i); ``` But how do I start the activity so that is left in the background?