Skip to content

Instantly share code, notes, and snippets.

@brianfromoregon
Created June 21, 2013 14:55
Show Gist options
  • Save brianfromoregon/5831745 to your computer and use it in GitHub Desktop.
Save brianfromoregon/5831745 to your computer and use it in GitHub Desktop.
GoogleAccountCredential credential = new GoogleAccountCredential(this, "oauth2:" + FusiontablesScopes.FUSIONTABLES);
JsonFactory jsonFactory = new GsonFactory();
HttpTransport transport = AndroidHttp.newCompatibleTransport();
fusiontables = new Fusiontables.Builder(transport, jsonFactory, credential).setApplicationName(appName).build();
Fusiontables.Table.ImportRows cmd = fusiontables.table().importRows(tableId, content);
cmd.setDelimiter("\0");
FusiontablesImport result = cmd.execute(); // Hangs here
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment