2011年3月16日

摘要: 今天闲着无事,就写了一个生命周期,一看就明白了大家。首先创建——开始——销毁,整个流程。真的非常简单,先让大家看一下图先。 根据上面的按钮所得到方法,大家可以在LogCat中增加一个标签,立即可以看到package com.smart.service;import android.app.Service;import android.content.Intent;import android.os.IBinder;import android.util.Log;public class ServiceLeft extends Service { private static final Str 阅读全文
posted @ 2011-03-16 16:35 llb988 阅读(700) 评论(0) 推荐(0) 编辑

导航