ProgramRunning or exiting. The application is not displayed in the list of recent programs that press the Home Key for hiding the process.
The solution is as follows:
Set attributes at the main activity:Android: excludefromrecents = "true"
For example:
<? XML version = "1.0" encoding = "UTF-8"?>
<Manifest xmlns: Android = "http://schemas.android.com/apk/res/android"
Package = "com. mingli. test"
Android: versioncode = "1"
Android: versionname = "1.0" type = "codeph" text = "/codeph">
<Application Android: icon = "@ drawable/icon" Android: Label = "@ string/app_name">
<Activity Android: Name = ". httptest"
Android: excludefromrecents = "true"
Android: Label = "@ string/app_name">
<Intent-filter>
<Action Android: Name = "android. Intent. Action. Main"/>
<Category Android: Name = "android. Intent. Category. launcher"/>
</Intent-filter>
</Activity>
<Uses-SDK Android: minsdkversion = "3"/>
</Manifest>