Intent intent = new Intent(AlarmTimeActivity.this, AlarmReceiver.class);

intent.putExtra("test", test);

PendingIntent pendingIntent = PendingIntent.getBroadcast(AlarmTimeActivity.this, intent_id, intent, 0);

 

mManager.set(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), pendingIntent);


이런식으로 알람 등록을 하고있습니다.


알람 리시버에서 


public void onReceive(Context context, Intent intent) {

// TODO Auto-generated method stub

String test = intent.getStringExtra("test");


이렇게 사용하고 있는데.. 스트링 값이 null 이들어옵니다..


알람등록할때.. 값전달을 해주고 싶은데..


activity 간의 값전달이 아니라서.. 잘모르겠습니다..


구원해주소서..