ITeye博客

2011 年文章归档

共 2 篇文章

Android进程和线程

(译自Android SDK文档Processes and Threads, 不全) 一. 进程生命周期 There are five levels in the importance hierarchy. The following list presents the different types of processes in order of importance (the first process is most important and is killed last): importance hierarchy.分为五个等级,最重要的进程最后被杀死。 1. Foregroun…

2011-12-01 23:17 · android · 线程

Java正则表达式简单应用

最近采用redbend的dm库进行DM方面的开发工作。库过程在ddms里面打印出类似于以下的log, DM报文难以区分(蓝色部分),不便于分析。于是用正则式从log中提取DM报文内容。 11-22 09:23:41.034: INFO/vDM (vdm)(4438): dm\sess\sess_setup.c.600: Replace command coding result 0x0 11-22 09:23:41.044: INFO/vDM (vdm)(4438): dm\sess\sess_utils.c.857: metaToPcdata format='int' 11-22 09:2…

2011-11-23 22:24 · java · 正则表达式