摘要: 1:定义一个服务类,在服务类中使用AlarmManager 来管理服务的运行public class WtacService extends Service{ private AlarmManager alarmManager = null; private PendingIntent alarmIntent = null; @Override public IBinder onBind(Intent arg0) { return null; } @Override public void onCreate() { ... 阅读全文
posted @ 2014-03-26 22:46 yshy 阅读(935) 评论(0) 推荐(0) 编辑