public ArrayList<Activity> getAllOpenedActivities()
	{
		ArrayList<Activity> activities = new ArrayList<Activity>();
		Iterator<WeakReference<Activity>> activityStackIterator = activityStack.iterator();

		while(activityStackIterator.hasNext()){
			Activity  activity = activityStackIterator.next().get();
			if(activity!=null)
				activities.add(activity);
		}
		return activities;
	}
public ArrayList < Activity > getAllOpenedActivities ( ) { ArrayList < Activity > activities = new ArrayList < Activity > ( ) ; Iterator < WeakReference < Activity > > activityStackIterator = activityStack . iterator ( ) ; while ( activityStackIterator . hasNext ( ) ) { Activity activity = activityStackIterator . next ( ) . get ( ) ; if ( activity != null ) activities . add ( activity ) ; } return activities ; }
Returns a {@code List} of all the opened/active activities.

@return a {@code List} of all the opened/active activities