简体   繁体   English

如何在Android程序中关闭/完成通话结束屏幕

[英]How to close/finish call ended screen in android program

I built an app to auto redial phone number. 我建立了一个自动重拨电话号码的应用程序。 After users hang up the phone call, I need to prompt show my activity for user to handle some cases. 用户挂断电话后,我需要提示显示我的活动,以便用户处理某些情况。 What problem I met is, when I dial a phone number in Samsung S3, then hang up the phone call. 我遇到的问题是,当我在Samsung S3中拨打电话号码时,挂断了电话。 A call ended screen will stay 3-5 seconds(it's longer than other mobile phone), then go back to my activity of APP automatically. 通话结束屏幕将停留3-5秒(比其他手机更长),然后自动返回到我的APP活动。 3-5 seconds is too long for me, so are there any way to force close/finish the call ended screen? 3-5秒对我来说太长了,那么有什么办法可以强制关闭/结束通话结束屏幕吗?

Nope. 不。 You cannot change the behavior of other apps from within your apps, if those apps don't support such workarounds. 如果这些应用程序不支持其他解决方法,则您无法从其内部更改其他应用程序的行为。 You will have to live with that. 您将不得不忍受。

Moreover, even if you are able to fix it for 1 model, you cannot do it for all the other models. 此外,即使您能够针对1个模型进行修复,也无法对所有其他模型进行修复。 So, I would suggest, try thinking of another solution. 因此,我建议尝试考虑其他解决方案。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM