摘要: 阅读:http://developer.android.com/guide/components/services.htmlServices是一个长时间操作而且不提供界面的组件。程序里其他的组件都能够启动它并且就算用户切换了其他的程序,Services也仍然运行着。StartedA service is "started" when an application component (such as an activity) starts it by callingstartService(). Once started, a service can run in the 阅读全文
posted @ 2013-10-20 22:10 yutoulck 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 阅读:http://developer.android.com/guide/components/tasks-and-back-stack.htmlandroid通过Task来实现尽管调用了不同程序的Activity但是却让你有一种其他程序的Activity是当前程序的一部分(例如发邮件例子)。Task就是用户在执行某个任务时各种Activity的集合。The device Home screen is the starting place for most tasks. When the user touches an icon in the application launcher (or 阅读全文
posted @ 2013-10-20 13:00 yutoulck 阅读(234) 评论(0) 推荐(0) 编辑