I\'ve got an Android application which needs to be woken up sporadically throughout the day.
To do this, I\'m using the AlarmManager to set up a PendingIntent and ha
Set flag SingleTop works (don't mix with other flags)
Intent intent = new Intent(ContextManager.getContext(),OrderList.class);
intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
Bundle bundle = new Bundle();
bundle.putString("username",username);
bundle.putString("password",password);
intent.putExtras(bundle);
startActivityForResult(intent,0);