启动"最近使用的应用"不持有的主页按钮 [英] Launch "Recent apps" NOT from holding on home button

查看:151
本文介绍了启动"最近使用的应用"不持有的主页按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从我的应用程序启动活动最近的应用程序,无需持有home键。我怎样才能启动该对话框的活动?那可能吗 ?
非常感谢你。

I want to launch from my application the activity recent apps, without holding on home button. How can i launch that dialog activity? Is that possible ? Thank you very much.

推荐答案

没有,这是不可能做到这一点。操作系统不提供上网本(而且,在Android 3.0+,对话已经完全改变了)。

No, it is not possible to do this. The OS does not provide access to this (and moreover, on Android 3.0+, the dialog has changed completely).

不过,你可以使自己的对话框使用<一个href=\"http://developer.android.com/reference/android/app/ActivityManager.html#getRecentTasks%28int,%20int%29\"相对=nofollow> ActivityManager getRecentTasks S,还有的 对话框 (或其子类),即将处理相同的任务。

However, you could make your own dialog using ActivityManager's getRecentTasks, as well as Dialog (or its subclasses), that would handle the same task.

这篇关于启动&QUOT;最近使用的应用&QUOT;不持有的主页按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆