- 博客(4)
- 资源 (5)
- 收藏
- 关注
转载 Android Activity 加载模式
Activity有四种加载模式:standard(默认), singleTop, singleTask和 singleInstance。以下逐一举例说明他们的区别: standard:Activity的默认加载方法,即使某个Activity在Task栈中已经存在,另一个activity通过Intent跳转到该activity,同样会新创建一个实例压入栈中。例如:现在栈的情况为:A
2014-10-15 16:21:59
238
转载 Android如何全局扫描指定类型文件
Android如何全局扫描指定类型文件比如我做了个epub阅读软件,想找到客户外存(SDCard)目录下所有的epub格式的文件。可以使用Android MediaScanner API,见这里。应该是调用MediaScannerConnection的静态方法,scanFile,等扫描完成,会调用你编写的回调函数(OnScanCompletedListener)。那
2014-05-15 14:39:34
2032
转载 Processes and Threads
Foreground processA process that is required for what the user is currently doing. A process is considered to be in the foreground if any of the following conditions are true:It hosts an Activit
2014-05-09 13:58:50
355
C++ GUI Programming with Qt 4 (second edition) 配套源代码
2012-11-12
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人