android - 我可以在 android 中按下通话结束按钮后返回我的应用程序吗

标签 android

我正在使用

从我的应用中调用电话
 startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:"+constant.confitacth2)));

当通话结束时,它会返回 native 通话记录但是。我希望它返回到我的应用程序是否可能......?

最佳答案

如果调用 startActivity(new Intent(Intent.ACTION_CALL, Uri.parse("tel:"+constant.confitacth2))); 然后在通话结束时它会显示你离开的地方的 Activity 。我在 3-4 台设备上测试了这个问题。

关于android - 我可以在 android 中按下通话结束按钮后返回我的应用程序吗,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6954684/

相关文章:

android - 无法将 Facebook SDK 加载到 Eclipse。构建路径错误

java - 无法将条目 ':app:sourceSets' 添加到缓存 taskArtifacts.bin

javascript - 浏览器滚动事件在 iOS 和 Android 设备上触发不够频繁

java - Android widget listview 处理点击

javascript - 使用 JavaScript 查找高清设备的屏幕宽度

java - 根据排序从 Arraylist 中删除对象

android - popBackStack 后 ViewPager 中的 fragment 不显示

java - 如何在 android 中使用 Log.d 设置断点

android - 替换默认的笑脸菜单

java - 解析使用对象: Doesn't display even though record exists创建表