import android.app.Service;
import android.content.Intent;
import android.os.IBinder;/**
 * @author Administrator
 *
 */
public class ServiceTest extends Service { /**
 * 
 */
public ServiceTest() {
// TODO 自动生成的构造函数存根
} /* (非 Javadoc)
 * @see android.app.Service#onBind(android.content.Intent)
 */
@Override
public IBinder onBind(Intent intent) {
// TODO 自动生成的方法存根
return null;
}}
这里我新建类ServiceTest继承自Service,为何其中只继承有onBind方法,而没有继承onCreat,onStart。。等等其他方法,其他方法手动添加上去好象不管用,怎样才能让新建的类自动继承其他方法?