I'm trying to write an android app. It works fine so far, except when I'm pressing the home button, the app disappears and is not shown in the list of all the minimized apps (what does usually happen). How can I change it to work normally?

有帮助吗?

解决方案

I have solved it, finally. Apparently, in my strings.xml the app_name was empty. In this case, the app won't show in recent apps list. Maybe it will save time to someone else.

其他提示

Thats must be done automatically, I do not if you are doing something with home button. Anyway I let you this link, maybe could help you.

App not getting minimized on home button click

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top