3
PendingIntent इंटेंट एक्स्ट्रा को नहीं भेजता है
मेरी MainActicity शुरुआत एक अतिरिक्त के RefreshServiceसाथ होती है ।IntentbooleanisNextWeek मेरे RefreshServiceएक बनाता है Notificationजो मेरे लिए शुरू होता है MainActivityउस पर जब उपयोगकर्ता क्लिक करता है। यह इस तरह दिखता है: Log.d("Refresh", "RefreshService got: isNextWeek: " + String.valueOf(isNextWeek)); Intent notificationIntent = new Intent(this, MainActivity.class); notificationIntent.putExtra(MainActivity.IS_NEXT_WEEK, isNextWeek); Log.d("Refresh", "RefreshService put …