Skip to content

Instantly share code, notes, and snippets.

@julioz
Created April 27, 2016 00:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julioz/76f00ee9eb67f3101ebb96cfa39e8de5 to your computer and use it in GitHub Desktop.
Save julioz/76f00ee9eb67f3101ebb96cfa39e8de5 to your computer and use it in GitHub Desktop.
NetHttpTransport http = GoogleNetHttpTransport.newTrustedTransport();
JacksonFactory json = JacksonFactory.getDefaultInstance();
GoogleCredential credential = ...
AndroidPublisher publisher = new AndroidPublisher.Builder(http, json, credential).
setApplicationName(PACKAGE).
build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment