code: private Intent createShareIntent() {
          Intent shareIntent = new Intent(Intent.ACTION_SEND);
          shareIntent.setType("image/*");
          Uri uri = Uri.fromFile(getFileStreamPath("shared.png"));
          shareIntent.putExtra(Intent.EXTRA_STREAM, uri);
          return shareIntent;
      }
docs: Creates a sharing {@link Intent}.
  
  @return The sharing intent.