add an example demonstrate using commonTabActivity