Intent.flag_activity_forward_result And Pendingintent
I want to receive an Intent instance from an Activity launched by an AlarmManager with a pendingIntent. I have the Activity A launch the Activity B through alarmManager with pendin
Solution 1:
You cannot use Intent.FLAG_ACTIVITY_FORWARD_RESULT
like that. Since ActivityB
is being launched by the AlarmManager
, it will ignore the FORWARD_RESULT flag. That flag only works if an Activity
is launched directly from another Activity
.
Post a Comment for "Intent.flag_activity_forward_result And Pendingintent"