title: create spreadsheet programmatically in android studio
body: <p>I want to create a spreadsheet programmatically in android studio. how can I do that?
  I used OAuth for signing in the user and now wants to create the spreadsheet in his drive folder. </p>
  
  <p>I found the below code but don't know how to use it...</p>
  
  <pre><code>Spreadsheet spreadsheet = new Spreadsheet()
      .setProperties(new SpreadsheetProperties()
      .setTitle(title));
  spreadsheet = service.spreadsheets().create(spreadsheet)
      .setFields("spreadsheetId")
      .execute();
  System.out.println("Spreadsheet ID: " + spreadsheet.getSpreadsheetId());
  </code></pre>