摘要:
触发器: 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 阅读全文