android - 如何从选项卡下的组 Activity 下的 Activity 中启动 Activity 结果?

标签 android android-activity android-tabactivity

我正在开发一个应用程序,其中我在选项卡 Activity 下使用多个 Activity 。我正在使用 this Tutorial

我想从下一个Activity获取结果。我该怎么做。我找不到它。我读过两三个示例,例如 thisthis 。但我不知道如何才能得到结果。我也尝试过

    View view = getLocalActivityManager().startActivityForResult("Search", 
new Intent(this, WhatMenu.class).
addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)).getDecorView();    
But it only Supports `startActivity()`

。任何帮助将不胜感激。
提前致谢

最佳答案

我已经通过ViewFlipper解决了这个问题,感谢大家的帮助。

关于android - 如何从选项卡下的组 Activity 下的 Activity 中启动 Activity 结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10103518/

相关文章:

android - 在另一个 tabview 内的 Tabview 内打开 alertDialog

android - 我可以延迟 instabug IntroDialog 吗?

Android Notification.Builder : show a notification without icon

android - 从任务管理器输入时,Intent 的参数始终保持不变

java - 每次android都通过Intent创建新的activity实例?

android - OnResume 之后立即调用 OnPause

java - ORMLite - 更新没有空值

android - 自定义 View 不膨胀

android 选项卡式 Activity 列表 fragment