Android应用程序自动关闭应用程序、自动关闭、Android

由网友(痛撤ヾ心扉)分享简介:我已经安装在设备上(4.2.2)的Andr​​oid应用程序。该设备将永远不会为省电模式。如果我离开应用程序打开的时间超过30分钟,应用程序将自动关闭。而且没有例外日志中找到。这是默认的Andr​​oid行为?如果可能的话,请分享一下这个问题的任何链接。I have an android app installed...

我已经安装在设备上(4.2.2)的Andr​​oid应用程序。该设备将永远不会为省电模式。如果我离开应用程序打开的时间超过30分钟,应用程序将自动关闭。而且没有例外日志中找到。这是默认的Andr​​oid行为?如果可能的话,请分享一下这个问题的任何链接。

I have an android app installed on device (4.2.2). The device will never go to power save mode. If i leave the app open for more than 30 minutes, the app closes automatically. And no exception found in the log. Is this default android behaviour? If possible please share any links about this issue.

推荐答案

如果你有这样的行为,仅仅只有4.x的,但在4.x版不,尝试在清单转真largeHeap。你必须把它放在apllications标记属性。我希望这会有所帮助。

If you have this behaviour just only 4.x, but under 4.x don't, try in Manifest to turn true largeHeap. You have to turn it on in apllications tag attribute. I hope it will help.

阅读全文

相关推荐

最新文章