public static void notifyNewConversationEvent(Context ctx,String action){
  if (sActivityVisible) {
    Intent intent=new Intent(ctx,TalkList.class);
    intent.setAction(action);
    intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_NEW_TASK);
    ctx.startActivity(intent);
  }
}

public static void notifyNewConversationEvent ( Context ctx , String action ) { if ( sActivityVisible ) { Intent intent = new Intent ( ctx , TalkList . class ) ; intent . setAction ( action ) ; intent . addFlags ( Intent . FLAG_ACTIVITY_CLEAR_TOP | Intent . FLAG_ACTIVITY_NEW_TASK ) ; ctx . startActivity ( intent ) ; } }
notify new conversation event
