code: public static void startProfileActivity(Context context, int uid) {
          // Ignore call if context is empty, simple work-around when fragment was disconnected from
          // activity
          
          if (context == null) {
              return;
          }
          Bundle b = new Bundle();
          b.putInt(Intents.EXTRA_UID, uid);
          startActivity(context, b, ProfileActivity.class);
      }
docs: Launch User Profile Activity
  
  @param context current context
  @param uid     user id