`
wang_2011_ying
  • 浏览: 144669 次
  • 性别: Icon_minigender_2
  • 来自: 北京
社区版块
存档分类
最新评论

Activity not started

阅读更多
在运行Android程序时,会出现无法运行,提示如下:
ActivityManager: Warning: Activity not started, its current task has been brought to the front
查看了资料才知道这是Android自身的一种处理机制,在Android平台下,通过程序自身退出或是返回按钮结束一个进程时,Android虚拟机未必真正的结束进程,在内存允许的情况下程序会以缓存的形式存在于Android虚拟机中,只有在内存不足的时候,Android系统会清理长时间不被激活的任务,以提供其他程序内存。
所以出现这种情况是在内存足够的情况下,将上一次执行的程序,从缓存Cached状态直接放置到任务的栈顶,则程序就可以继续执行了。
如果不想出现这种情况,只需在运行完程序后,clean一下就好。
分享到:
评论

相关推荐

    What Context.pdf

    creating views all require a Context (and that’s not even getting started on the full list!) to accomplish the task. What I’d like to do is provide for you some insights on how Context works ...

    微软内部资料-SQL性能优化2

    Because device drivers operate at DPC/dispatch level (covered in lesson 2), and page faults are not allowed at this level or above, most device drivers use non-paged pool to assure that they do not ...

    Beginning.Android.5th.Edition.1430246863

    Chapter 10: The Life of an Activity Part III: A World of Wonderful Devices and Screens Chapter 11: Android Fragments Chapter 12: Intents and Receivers Chapter 13: Making Phone Calls Chapter 14: ...

    Python-AlistofallnamedGANs

    Every week, new GAN papers are coming out and it's hard to keep track of them all, not to mention the incredibly creative ... So, here's a list of what started as a fun activity compiling all named GANs!

    BURNINTEST--硬件检测工具

    - Changes to trace logging to reduce activity when trace logging is not turned on. - Note: We have seen a report of the Video Playback failing (crash) due to a faulty video codec, ffdshow.ax. If ...

    BUS Hound

    If the search string is not found, the trace position is not changed. Searching is not case sensitive. <br>Drag and Drop <br>To use drag and drop, first select the desired range of lines by ...

    ap6212a0_a33_sc3817r_服务器验证通过_bt已经通了_wifi需要修改配置_需要再次验证_20170626_1549.7z

    调通sina33下的AP6212A0版本的BT 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/26 11:01 版本:V1.0 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16的parrotv1.1的官方SDK(Android...

    Processing.for.Android

    Artists, designers, students, researchers, and hobbyists who are not necessarily Android experts, but are looking to write mobile apps that make creative use of interactive graphics, sensor data, and ...

    微软内部资料-SQL性能优化3

    Key range locks are similar to row locks on index keys (whether clustered or not). The locks are placed on individual keys rather than at the node level. The hash value consists of all the key ...

    VB编程资源大全(英文源码 网络)

    The application may not be sold in any shape or form. So 下载 the code and get involved with the News Group, help us to help you.<END><br>4 , urllink.zip User control to launch web browser and ...

    a project model for the FreeBSD Project.7z

    These are usually the most active developers who are willing to spend their time not only integrating their own code but integrating code submitted by the developers who do not have this privilege....

    hm1375_parrotv1.1验证通过_20170824_1528.7z

    you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...

    Bayesian Network(贝叶斯网络) Python Program

    to show the activity, especially when posterior probabilities of nodes change and thresholds are exceeded. To use the BNT, do three kinds of development: A. create your own Bayes ...

    android-viewflow

    GitHub has some great articles on how to get started with Git and GitHub and how to fork a project. Contributers are recommended to fork the app on GitHub (but don't have too). Create a feature ...

    ap6212a0_a33_sc3817r_神舟验证版本_借用nvram_ap6210这个配置文件_20170626_1834没有外层目录.7z

    调通sina33下的AP6212A0(WIFI+BT) 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/26 11:01 版本:V1.1 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16的parrotv1.1的官方SDK(Android...

    ap6212a0_bb16v3_sina33验证通过BT的功能_wifi部分有问题_20170626_1148没有外层目录.7z

    调通sina33下的AP6212A0版本的BT 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/26 11:01 版本:V1.0 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16的parrotv1.1的官方SDK(Android...

    !!!!ap6212a0_a33_sc3817r_验证通过_修正wifi的配置文件为nvram_ap6212.txt

    调通sina33下的AP6212A0(WIFI+BT) 大文实验室/大文哥 壹捌陆捌零陆捌捌陆捌贰 ...完成时间:2017/6/28 12:13 版本:V1.3 本文参照: 《A33 wifi移植说明书.pdf》 还有就是全志R16平台的parrotv1.1的官方SDK...

    adb1.0.26包含fastboot.exe

    INSTALL_PARSE_FAILED_NOT_APK 指定路径不是文件,或不是以 .apk 结尾 INSTALL_PARSE_FAILED_BAD_MANIFEST 无法解析的 AndroidManifest.xml 文件 INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION 解析器遇到异常 ...

    四级英语真题

    off. B)The Edwards should cut down on their living expenses. C)It'...not feel any danger growing up in the Bronx. B)The man thinks it was quite safe living in the Bronx district. C)The woman ...

Global site tag (gtag.js) - Google Analytics