简体   繁体   English

在所有其他Android应用顶部显示应用视图

[英]Show app view on top of all other apps Android

I have an app which enables users to set tasks with specific time deadlines. 我有一个应用程序,使用户可以在特定的时间期限内设置任务。 Once a deadline is passed, I want the app to show a view on top of everything (requesting the user to update the task). 一旦截止日期过去,我希望该应用程序显示所有内容的视图(请求用户更新任务)。

My issues are: - how to show my app's view on top of every other activity that is currently active - how to keep the activity on top until the user updates the task? 我的问题是:-如何在当前处于活动状态的所有其他活动之上显示应用程序的视图-如何在用户更新任务之前将活动保持在首要位置?

Is using something like SYSTEM_ALERT_WINDOW look sensible? 使用类似SYSTEM_ALERT_WINDOW的东西看起来明智吗?

您可以尝试创建一个透明的活动,将其打开并显示警报对话框。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在所有其他应用程序之上运行的Android应用程序? - Android app that runs on top of ALL other apps? 重新启动android应用至所有其他可运行应用的顶部 - Restart the android app to top of all other working apps 在Android上打开的应用程序视图中显示应用程序图标 - Show App Icon in View with Opened Apps on Android Android-显示所有已安装应用的应用选择器 - Android - Show an app chooser of all of the installed apps 适用于android的辅助功能应用程序,可在所有其他应用程序之上运行,并且可以干预并将触摸/点击事件发送到其他应用程序的视图 - Accessibility app for android that runs on top of all other applications and can intervene and send touch/tap events to views of other apps Android将GestureOverlay创建为系统警报视图(在所有应用程序之上) - Android Create GestureOverlay as a System Alert View (on top of all apps) 停止访问Android设备中所有其他应用(启动器应用除外) - Stop access to all other apps in Android Device except launcher app 如何从Android应用程序打开智能手机上的其他应用程序(全部) - How to open other apps (all) on the smart phone ,from an android app 在所有活动的顶部显示视图 - Show a view on top of all activities Android-锁定所有其他应用 - Android - Lockdown All Other Apps
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM