Android
madtracy
这个作者很懒,什么都没留下…
展开
-
Android的关键的持久数据应该在onPause()方法中保存
最近在看Android开发文档,摘录一些关键的段落,方便查找记忆。Because onPause() is the first of the three(onPause(),onStop(),onDestroy()), once the activity is原创 2011-07-03 17:54:24 · 2785 阅读 · 0 评论 -
Android的Activity启动长时间的操作开启一个Service比开启一个线程好
Because a process running a service is ranked higher than a process with background activities, an activity that initiates a long-原创 2011-07-05 00:53:51 · 1377 阅读 · 0 评论 -
Android的UI组件不是线程安全的,不应该在worker线程操纵UI
Additionally, the Andoid UI toolkit is not thread-safe. So, you must not manipulate your UI from a worker thread.UI组件不是线程安全的,所以不应该原创 2011-07-05 01:01:09 · 991 阅读 · 0 评论