7

Passing new value to a "single top" activity

view full story
linux-howto

http://stackoverflow.com – This is my code: Intent filterAct = new Intent(Settings.this, newActivity.class); filterAct.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); filterAct.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP); if (enable.isChecked()) { filterAct.putExtra("red", red); filterAct.putExtra("green", green); filterAct.putExtra("blue", blue); filterAct.putExtra("keep", true); filterAct.putExtra("finished", false); filterAct.putExtra("value", filterL); startActivity(filterAct); } else { filterAct.putExtra("keep", false); filt (HowTos)