Several users of my application reported that in Nexus One running Froyo 2.2, the application appears several times in the Recent Applications list, which appears when you press the home button for a long time.
Personally, I could not reproduce the problem. They tried to kill the application with the task killer, and then restarted it to make sure that this would lead to the application appearing more than once in the list. I also tried to multiply several threads from one activity in the application, but still did not go. I also tested on Droid phones running 2.2, as well as on the 2.2 emulator, but to no avail. Curiously, only Nexus One Froyo users experience this problem.
The application has one main launch activity, about 30 different actions and is divided into 4 main tasks that help manage the action stack. The application also has an IntentService for performing network operations in the background.
Is there any known scenario that can cause an application to appear several times in the Recent Applications list? The Recent Applications list is populated based on the application package name, for example. com.mycompany.myappname or based on tasks defined in the application manifest file?
majji source share