TabActivity、选项卡中的嵌套活动和 onActivityResult
我的项目中有主 TabActivity,其中每个选项卡中都包含嵌套活动。在嵌套活动中,我使用 startActivityForResult() 调用标准相机应用程序,并尝试通过 onActivityResult() 方法处理调用结果。我原本期望 onActivityResult 将在相机应用程序完成后执行,但它之前调用过。在这种情况下该怎么办?如何处理相机结果?
I have main TabActivity in my project which contains nested activities in each tab. In nested activity i call standart camera application with startActivityForResult() and try to handle result of call by onActivityResult() method. I was expecting that onActivityResult will be executed after camera application finishing, but it called before. What to do in this situation? How to handle camera results?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论