应用程序是不是在最近的应用程序列表中显示 [英] Application is not displayed in recent apps lists
本文介绍了应用程序是不是在最近的应用程序列表中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的应用程序在最近的应用列表中从来没有显示每当我把下面这段code在我活动的清单项
My application is never shown in the RECENT APPS list whenever I put the following piece of code in my activity's manifest entry
<类机器人:名称=android.intent.category.DEFAULT/>
如果我删除上面的行,它工作正常。我也确信,以下标志设置为false -
If I remove above line it works fine. I've also made sure that the following flags are set to false-
android:noHistory="false"
android:excludeFromRecents="false"
不过还是它,即使我手动启动的应用程序不会被公开。
But still its never displayed even if I launch app manually.
如果有人想看看清单,其 -
In case anybody wants to have a look the manifest, its-
<?xml version="1.0" encoding="UTF-8"?>
<uses-sdk android:minSdkVersion="8" />
<application
android:name="com.raj.poc.copypaste.MainApplication"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name=".CopyPasteActivity"
android:launchMode="singleTop"
android:noHistory="false"
android:excludeFromRecents="false"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
推荐答案
这也可能如果你设置发生
It may also happen if you set
<activity... android:label=""/>
你的主活动
这篇关于应用程序是不是在最近的应用程序列表中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文