是否有可能在Receiver类或Activity Class中获取requestCode?
这是我未决的意图
alarmMgr= (AlarmManager)getSystemService(Context.ALARM_SERVICE); Intent intent = new Intent(this,BroadcastReceiver_Class.class); /*intent.putExtra("alarm_time_minutes",minutes);*/ pendingIntent = PendingIntent.getBroadcast(this,requestCode,intent,requestCode); alarmMgr.set(AlarmManager.RTC_WAKEUP,cal.getTimeInMillis(),pendingIntent);
提前致谢..