private Bulletin createBulletin() throws Exception {
    store.doAfterSigninInitialization(getAppDir());
    Bulletin bulletin = store.createEmptyBulletin();

    bulletin.setAuthorizedToReadKeys(new HeadquartersKeys(hqKey));
    bulletin.setMutable();
    bulletin.changeState(Bulletin.BulletinState.STATE_SHARED);
    bulletin.setAllPrivate(true);

    String bulletin_display_name =
        getIntent().getExtras().getString(MartusUploadManager.BULLETIN_DISPLAY_NAME_TAG);
    String authorName = getIntent().getExtras().getString(MartusUploadManager.BULLETIN_AUTHOR_TAG);
    String organizationName =
        getIntent().getExtras().getString(MartusUploadManager.BULLETIN_ORGANIZATION_TAG);

    bulletin.set(Bulletin.TAGLANGUAGE, MiniLocalization.ENGLISH);
    bulletin.set(Bulletin.TAGENTRYDATE, new MultiCalendar().toString());
    bulletin.set(Bulletin.TAGTITLE, bulletin_display_name);
    bulletin.set(Bulletin.TAGAUTHOR, authorName);
    bulletin.set(Bulletin.TAGORGANIZATION, organizationName);

    addXFormsElement(bulletin);

    return bulletin;
  }
  @Override
  public void onZipped(Bulletin bulletin, File zippedFile) {
    try {
      ZipFile zipFile = new ZipFile(zippedFile);
      BulletinZipUtilities.validateIntegrityOfZipFilePackets(
          store.getAccountId(), zipFile, getSecurity());
    } catch (Exception e) {
      Log.e(TAG, getString(R.string.error_message_error_verifying_zip_file), e);
      indeterminateDialog.dismissAllowingStateLoss();
      Toast.makeText(this, getString(R.string.failure_zipping_bulletin), Toast.LENGTH_LONG).show();
      finish();
      return;
    }

    if (zippedFile == null) {
      Toast.makeText(this, getString(R.string.failure_zipping_bulletin), Toast.LENGTH_SHORT).show();
      return;
    }

    uploadBulletin(bulletin, zippedFile);
  }