java - Intent extras not passed properly on some devices -
java - Intent extras not passed properly on some devices -
when send intent 1 activity (holding extras), on devices not deliver extras properly, while in other devices delivers extras (it same code on both devices)
this problem happens on android 4.3 on samsung note 3 neo
while test same code on samsung note tab 10.1 ... works fine
why !?
edit
pendingintent getpendingintent(){ intent extraintent = getintentwithextras(); intent mainintent = new intent(context, myactivity.class); mainintent.setaction(myactivity.action_start_intent); // add together several extras mainintent addextras(mainintent, extraintent, intent_type_activity); homecoming getactivitypendingintent(mainintent,pendingintent.flag_update_current); }
thanks comments, found out i'm using these intents in pendingintents, , while set flag of pendingintent
pendingintent.flag_update_current
and utilize same action ... intent not updated , keeps repeating first intent
java android android-intent
Comments
Post a Comment