Skip to content

Instantly share code, notes, and snippets.

@julioz
Created April 27, 2016 00:36
Show Gist options
  • 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