Android-自定义“您最近的屏幕显示在此处"/“您最近的应用程序"屏幕 [英] Android - customize "your recent screens appear here" / "your recent apps" screen

查看:279
本文介绍了Android-自定义“您最近的屏幕显示在此处"/“您最近的应用程序"屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的不知道该屏幕的命名方式:/我在没有应用程序运行时显示该消息后称其为您的最近屏幕出现在这里".它基本上显示了设备上当前正在运行的所有应用.

I realy dint know how this screen is named :/ i called it after the message it shows when no app is running "your recent screens appear here". It basicly shows all apps currently runnning on the device.

因此,您知道在这里无论正在运行和未运行应用程序时,屏幕(大而垃圾)的含义.第二个屏幕还显示了我想摆脱的Google小部件.

So you know what im talking about here screens (sry big and spammy) with and without running apps. The second screen also shows the google widget i want to get rid off.

是否可以调整Android手机和平板电脑上的您的最近屏幕出现在这里"屏幕?
是否有不使用设备管理API的解决方案?
如果需要设备管理API-我在哪里可以找到教我如何操作的文档/教程?


目前,我们为Android创建了启动器应用程序,以拒绝访问大多数其他应用程序.它仅显示我们的应用程序和android设置.

Is there a way to adjust the "your recent screens appear here" screen on Android phones and Tablets?
Is there a solution without using the Device Administration API?
If the Device Administration API is required - where can i find a documentation/tutorial that teaches me how to do it?


Currently we created a Launcher App for Android in order to deny access to most other Apps. It only shows our app and the android settings.

不幸的是,您最近的屏幕出现在这里"屏幕上有一个Google窗口小部件.使用默认启动器时,它与主屏幕上显示的窗口小部件相同.当我禁用Google应用程序时,小部件会从主屏幕正常消失,但会在您最近的屏幕出现在此处"屏幕上留下无法添加小部件"消息. 当前,我们正在寻找一种简单的解决方案来摆脱该小部件.

Unfortunately there is an Google Widget on the "your recent screens appear here" screen. It is the same widget shown on the Home screen, when using the default launcher. When i disable the Google Application the Widget disappears properly from the Home screen, but leaves a "Couldn´t add widget" message on the "your recent screens appear here" screen. Currently we are looking for an easy solution to get rid of that widget.

推荐答案

实际上,如果不更改操作系统,就无法自定义此页面.

there is actually no way to customize this page without changes in the OS.

我仍然找到了摆脱该小部件的工作环境. 启动应用程序时,我会添加一个标志,以防止其在最近的应用程序屏幕中显示.这样,用户只能看到没有小部件的空白的最近使用的应用"屏幕.

still i found a workarround to get rid of the widget. when starting an App i add a flag that prevents it from beeing displayed in the recent apps screen. this way the user only sees the empty recent apps screen which has no widget.

Intent i = manager.getLaunchIntentForPackage(apps.get(pos).name.toString());
i.addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
HomeActivity.this.startActivity(i);

这篇关于Android-自定义“您最近的屏幕显示在此处"/“您最近的应用程序"屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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