package com.microsoft.office365.demo;

public class Constants {
	// -------------------------------AAD PARAMETERS----------------------------------
	public static final String AUTHORITY_URL = "https://login.windows-ppe.net/common/oauth2/token";
	public static final String CLIENT_ID = "your-client-id"; 
	public static final String REDIRECT_URL = "http://your-redirect-url.com";
	public static final String DISCOVERY_RESOURCE_ID =  "Microsoft.SharePoint";
	public static final String MYFILES_CAPABILITY = "MyFiles";
	
	public static String LIST_NAME = "TestList";
	public static String TITLE_FIELD = "Title";
	//------------------------------------------------------------------------------------------	
}

@@ -375,24 +375,282 @@
 -url.com%22;%0D%0A
+%09%0D%0A%09// In this initial Preview release, you must use a temporary Resource ID for Service Discovery (%22Microsoft.SharePoint%22).%0D%0A        // TODO: If this Resource ID ceases to work, check for an updated value at http://go.microsoft.com/fwlink/?LinkID=392944%0D%0A%0D%0A
 %09public stat

Update Constants.java