2010年8月24日
摘要: 1、要使用Service,首先就是在配置文件里吗添加Service,如果不填加,你的Service是不能够使用的。目前学到的方法有两种 方法一:<service android:enabled="true" android:name=".PlayService" /> 方法二:<service android:name=".PlayService" /> 点后面是Service类的名字。2、工程包括两个类:ServiceActivity.javaPlayService.java其中:ServiceActivit 阅读全文
posted @ 2010-08-24 11:22 snowdrop 阅读(57216) 评论(0) 推荐(1)