如何防止Android在调用camera intent后重新启动应用程序? [英] How to prevent Android to restart application after calling camera intent?

查看:213
本文介绍了如何防止Android在调用camera intent后重新启动应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在低内存设备上调用camera intent后出现问题。当收到活动结果时,Android会重新启动整个应用程式。

On low memory device I've got a problem after calling camera intent. When activity result should be received Android restart the whole app.

有人遇到同样的问题吗?有没有解决方案?

Have anybody faced same problem? Is there any solution?

推荐答案

我面对同样的问题一段时间:
Anroid系统在启动Media Intent时停止应用

I faced the same issue a while ago: Android system stops application when launching Media Intent

显然没有解决方案,因此您必须确保保存并恢复应用程序状态。

Apparently there is no solution, so you have to make sure that you save and restore the application state.

这篇关于如何防止Android在调用camera intent后重新启动应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆