public static Intent forgeIntentToOpenConversation(Context context,ContactId contact){
  Intent intent=new Intent(context,OneToOneTalkView.class);
  intent.setAction(OPEN_TALK);
  intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
  intent.putExtra(EXTRA_CONTACT,(Parcelable)contact);
  return intent;
}

public static Intent forgeIntentToOpenConversation ( Context context , ContactId contact ) { Intent intent = new Intent ( context , OneToOneTalkView . class ) ; intent . setAction ( OPEN_TALK ) ; intent . addFlags ( Intent . FLAG_ACTIVITY_CLEAR_TOP | Intent . FLAG_ACTIVITY_NEW_TASK ) ; intent . putExtra ( EXTRA_CONTACT , ( Parcelable ) contact ) ; return intent ; }
forge intent to start xmsview activity
