摘要: 触发器: Intent intent = new Intent(); intent.putExtra("names_music", list_names.get(positions)); intent.setAction("android.intent.action.names"); MyService.this.sendBroadcast(intent);接收器:(单独的类中)class myReceiver extends BroadcastReceiver(){ @Override public void onReceive(Context con 阅读全文
posted @ 2012-09-11 10:39 黑-色-柳—丁 阅读(407) 评论(0) 推荐(0) 编辑