액티비티에서 서비스로 보내는거는
Intent intent2 = new Intent(SecondActivity.this, MusicService.class);intent2.putExtra("selectedMP3", selectedMP3);
startService(intent2);
이렇게 보내고
String selected = intent.getStringExtra("selectedMP3");서비스에서 이렇게 받으면 되는데
서비스에서 액티비티는 어떻게보내는건지 모르겠다.. 도움좀..
댓글 0