BroadcastReceiver 를 상속 받은 class  = A.class  가 있고 Main 액티비티가 있습니다. 


제가 하려는 부분이 A.class 에서 Main 액티비티에다가 브로드캐스트를 날리면 Main 에서 onReceive(){} 에서 임의의 메서드를 실행 하려고 하는 데요... 


이때 굼긍한 점이 ... Main 에다가 BroadcastReceiver 의 객체를 선언을 다 했구 이제 A.class 에서 브로드캐스트를 날리기만 하면 되는데 안되 더라구요.. 


Intent intent = new Intent("start_push_service");

startService(intent);


혹은 


Intent intent = new Intent("start_push_service");

sendBroadcast(intent);


이렇게 하면은 startService() , sendBroadcast() 둘 다 정의가 안되 있다구 나오더라구요... 


보니깐 둘다 android.content.ContextWrapper에 있는 메서드 들이길래 import android.content.*;  이렇게 해주어도 똑같이 정의가 안되었다구 나오더라구요........ 


답변좀 부탁드리겠습니다.......................